@wayward/types 2.14.0-beta.dev.20240620.1 → 2.14.0-beta.dev.20240623.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.
@@ -20,8 +20,7 @@ export default class ItemDurabilityInfoProvider extends InfoProvider {
20
20
  private getDecay;
21
21
  private minDur;
22
22
  private shouldRefreshDurability;
23
- private decay;
24
- private shouldRefreshDecay;
23
+ private decayTime;
25
24
  private decayRate;
26
- private shouldRefreshDecayRate;
25
+ private shouldRefreshDecay;
27
26
  }
@@ -203,7 +203,8 @@ export interface IItemDescription extends IObjectDescription, IModdable, ITemper
203
203
  * into it, consider instead registering a recipe directly.
204
204
  */
205
205
  recipes?: Array<(recipe: Recipe) => Recipe>;
206
- disassemble?: boolean;
206
+ storeDisassemblyItems?: boolean;
207
+ canDisassemble?: false;
207
208
  /**
208
209
  * Set items that are part of the item's disassembly that are converted into another item when disassembled.
209
210
  */
@@ -158,6 +158,10 @@ export default class TemperatureManager extends EventEmitter.Host<ITemperatureMa
158
158
  protected onItemContainerAdd(itemManager: ItemManager, items: Item[], container?: IContainer): void;
159
159
  protected onItemContainerRemove(itemManager: ItemManager, items: Item[], container: IContainer | undefined, containerTile: Tile | undefined): void;
160
160
  protected onItemFireUpdate(item: Item): void;
161
+ /**
162
+ * Run inventory updates when human changes Z
163
+ */
164
+ protected onChangeZ(human: Human): void;
161
165
  protected onPlay(): void;
162
166
  protected onTickStart(island: Island): void;
163
167
  protected onTickEnd(island: Island): void;
@@ -21,7 +21,7 @@ export declare abstract class StatComponent extends Component {
21
21
  protected readonly statDescription: import("@wayward/game/ui/screen/screens/game/static/stats/IStatDisplayDescription").IStatDisplayDescription | undefined;
22
22
  private readonly statIcon;
23
23
  private readonly entityRef;
24
- protected get entity(): EntityWithStats<unknown, number, import("@wayward/game/game/reference/IReferenceManager").EntityReferenceTypes, unknown> | undefined;
24
+ protected get entity(): EntityWithStats | undefined;
25
25
  constructor(entity: EntityWithStats, stat: Stat, noEvents?: true, statDescription?: import("@wayward/game/ui/screen/screens/game/static/stats/IStatDisplayDescription").IStatDisplayDescription | undefined);
26
26
  private onUpdateMilestone;
27
27
  protected onRemove(): void;
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.14.0-beta.dev.20240620.1",
4
+ "version": "2.14.0-beta.dev.20240623.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",