@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.
- package/definitions/game/game/inspection/infoProviders/item/ItemDurability.d.ts +2 -3
- package/definitions/game/game/item/IItem.d.ts +2 -1
- package/definitions/game/game/temperature/TemperatureManager.d.ts +4 -0
- package/definitions/game/ui/screen/screens/game/static/stats/component/Stat.d.ts +1 -1
- package/package.json +1 -1
|
@@ -20,8 +20,7 @@ export default class ItemDurabilityInfoProvider extends InfoProvider {
|
|
|
20
20
|
private getDecay;
|
|
21
21
|
private minDur;
|
|
22
22
|
private shouldRefreshDurability;
|
|
23
|
-
private
|
|
24
|
-
private shouldRefreshDecay;
|
|
23
|
+
private decayTime;
|
|
25
24
|
private decayRate;
|
|
26
|
-
private
|
|
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
|
-
|
|
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
|
|
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