@wayward/types 2.14.4-beta.dev.20250323.1 → 2.14.4-beta.dev.20250325.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/player/Player.d.ts +4 -1
- package/definitions/game/game/inspection/infoProviders/item/ItemInvoke.d.ts +20 -0
- package/definitions/game/language/dictionary/Health.d.ts +2 -1
- package/definitions/game/language/dictionary/Message.d.ts +830 -829
- package/definitions/game/language/dictionary/UiTranslation.d.ts +804 -802
- package/package.json +1 -1
@@ -78,7 +78,10 @@ export default class Player extends Human<undefined, number, ReferenceType.Playe
|
|
78
78
|
addItemMilestones(item: Item, context?: IActionContext): void;
|
79
79
|
checkSkillMilestones(): void;
|
80
80
|
private getUsableAction;
|
81
|
-
|
81
|
+
/**
|
82
|
+
* Note: This is usually only ran on the server
|
83
|
+
*/
|
84
|
+
getMovementIntent(): IMovementIntent;
|
82
85
|
protected onCanMove(direction: Direction.Cardinal): false | undefined;
|
83
86
|
protected onGetSkillGainMultiplier(skillType: SkillType): number | undefined;
|
84
87
|
protected onDamage(damageInfo: IDamageInfo): void;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2011-2024 Unlok
|
3
|
+
* https://www.unlok.ca
|
4
|
+
*
|
5
|
+
* Credits & Thanks:
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
7
|
+
*
|
8
|
+
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
9
|
+
* https://github.com/WaywardGame/types/wiki
|
10
|
+
*/
|
11
|
+
import { InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
|
12
|
+
import LabelledValue from "@wayward/game/game/inspection/infoProviders/LabelledValue";
|
13
|
+
import type Item from "@wayward/game/game/item/Item";
|
14
|
+
export default class ItemInvokeInfoProvider extends InfoProvider {
|
15
|
+
private readonly item;
|
16
|
+
constructor(item: Item);
|
17
|
+
getClass(): string[];
|
18
|
+
get(): LabelledValue | never[];
|
19
|
+
protected onTickEnd(): void;
|
20
|
+
}
|