@wayward/types 2.14.4-beta.dev.20250116.1 → 2.14.4-beta.dev.20250117.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/entity/Human.d.ts +3 -0
- package/definitions/game/game/item/ItemManager.d.ts +2 -0
- package/definitions/game/language/dictionary/Message.d.ts +675 -674
- package/definitions/game/ui/screen/screens/game/dialog/ContainerDialog.d.ts +0 -1
- package/definitions/game/ui/util/Draggable.d.ts +8 -15
- package/package.json +1 -1
@@ -299,6 +299,9 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
|
|
299
299
|
*/
|
300
300
|
giveRune(deity: ArrayOr<DeityReal>, chance: number, domain: Runekeeper.DomainData, context: IActionContext): boolean;
|
301
301
|
private actuallyGiveRune;
|
302
|
+
/**
|
303
|
+
* All the milestones we need to check on game load.
|
304
|
+
*/
|
302
305
|
protected checkOnLoadMilestones(): void;
|
303
306
|
setVehicle(item: Item | undefined, extinguishTorches?: boolean): boolean;
|
304
307
|
getWeightStatus(): WeightStatus;
|
@@ -71,6 +71,8 @@ export interface IItemManagerEvents extends Events<EntityManager<Item>> {
|
|
71
71
|
containerUnstack(container: IContainer, type: ItemType): any;
|
72
72
|
/** Called at the end of inserting new items into a container, specifically when sorting the container was not necessary. */
|
73
73
|
containerItemAddDidNotSort(container: IContainer): any;
|
74
|
+
/** Called when the weight of the container changes. */
|
75
|
+
containerWeightUpdate(container: IContainer): any;
|
74
76
|
/**
|
75
77
|
* Called when an item is crafted
|
76
78
|
* @param human The human object
|