@juice789/tf2items 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sku.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juice789/tf2items",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "tf2 item schema thingys",
5
5
  "main": "app.js",
6
6
  "scripts": {
package/sku.js CHANGED
@@ -109,10 +109,11 @@ const getName = ({
109
109
  },
110
110
  bpTexture = false,
111
111
  qualityBpStyle = false,
112
- useProperName = false
112
+ useProperName = false,
113
+ showUncraft = true
113
114
  ) => [
114
115
  craft && '#' + craft,
115
- uncraftable && 'Non-Craftable',
116
+ uncraftable && showUncraft && 'Non-Craftable',
116
117
  elevated && 'Strange',
117
118
  quality && !['6', '15'].includes(quality.toString()) && (qualityBpStyle ? !effect : true) && qualityNames[quality],
118
119
  oq && oq.toString() !== '6' && qualityNames[oq],