@wayward/types 2.14.4-beta.dev.20250112.1 → 2.14.4-beta.dev.20250114.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.
@@ -237,6 +237,7 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
|
|
237
237
|
damage(damageInfo: IDamageInfo, causesBlood?: boolean): number | undefined;
|
238
238
|
/**
|
239
239
|
* Gets the use benefits for all equipped items.
|
240
|
+
* Stat.Hunger and Stat.Thirst get converted to check for Stat.Metabolism as the type for MagicalPropertyType.StatPotency_EquipmentImproveConsumableStats
|
240
241
|
* @param stat to check use benefits for.
|
241
242
|
* @returns number that is the bonus amount the player recieves when consuming.
|
242
243
|
*/
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
10
10
|
*/
|
11
11
|
import { ActionType } from "@wayward/game/game/entity/action/IAction";
|
12
|
-
import
|
12
|
+
import { Stat } from "@wayward/game/game/entity/IStats";
|
13
13
|
import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
|
14
14
|
import type Item from "@wayward/game/game/item/Item";
|
15
15
|
import type Tooltip from "@wayward/game/ui/tooltip/Tooltip";
|
@@ -38,6 +38,7 @@ export default class ContainerDialog extends Dialog {
|
|
38
38
|
protected onAppend1(): void;
|
39
39
|
getName(): TranslationImpl | undefined;
|
40
40
|
protected onTickEnd(): void;
|
41
|
+
protected onWeightUpdate(): void;
|
41
42
|
protected onContainerBucketDeregister(): void;
|
42
43
|
private closeIfContainedWithinNotOpen;
|
43
44
|
}
|
package/package.json
CHANGED