@wayward/types 2.11.4-beta.dev.20220210.1 → 2.11.4-beta.dev.20220217.1

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.
@@ -142,9 +142,9 @@ export interface IItemDescription extends IObjectDescription, IModdable, ITemper
142
142
  recipes?: Array<(recipe: Recipe) => Recipe>;
143
143
  disassemble?: boolean;
144
144
  /**
145
- * Can be set to true if you don't want the player to actually disassemble the item, but still have disassembly data via the disassemble property.
145
+ * Set items that are part of the item's disassembly that are converted into another item when disassembled.
146
146
  */
147
- blockDisassembly?: boolean;
147
+ disassemblyTransform?: OptionalDescriptions<ItemType, ItemType>;
148
148
  requiredForDisassembly?: Array<ItemType | ItemTypeGroup>;
149
149
  decaysInto?: ItemType[];
150
150
  decayTemperatureRange?: IDecayTemperatureRange;
@@ -272,7 +272,7 @@ export interface IItemReturn {
272
272
  */
273
273
  damaged?: boolean;
274
274
  /**
275
- * If true, it will check the disassembly data for the item and return the first instance of the ItemType set in type.
275
+ * If true, disassembly data will be checked for the item and return the first instance of the ItemType set in type and will filter out any other types from its disassembly data.
276
276
  */
277
277
  returnFromDisassembly?: boolean;
278
278
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.11.4-beta.dev.20220210.1",
4
+ "version": "2.11.4-beta.dev.20220217.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",