@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.
@@ -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
- protected onGetMovementIntent(): IMovementIntent | undefined;
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
+ }
@@ -19,6 +19,7 @@ export declare enum HealthAccuracy {
19
19
  Low = 0,
20
20
  Moderate = 1,
21
21
  High = 2,
22
- Perfect = 3
22
+ Perfect = 3,
23
+ Exact = 4
23
24
  }
24
25
  export declare const healthsByAccuracy: Record<HealthAccuracy, Health[]>;