@wayward/types 2.11.4-beta.dev.20220201.1 → 2.11.4-beta.dev.20220202.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.
@@ -50,15 +50,15 @@ export default abstract class Human extends Entity implements IHasInsulation {
50
50
  equippedReferences: Map<EquipType, ItemReference>;
51
51
  handToUse: EquipType | undefined;
52
52
  inventory: IContainer;
53
- islandId: IslandId;
54
53
  options: Readonly<IOptions>;
54
+ islandId: IslandId;
55
55
  readonly equipEffects: Map<EquipEffect, EquipEffects>;
56
- readonly movementIntent: IMovementIntent;
57
56
  restData: IRestData | undefined;
58
57
  score: number;
59
58
  state: PlayerState;
60
59
  swimming: boolean;
61
60
  vehicleItemReference: ItemReference | undefined;
61
+ readonly movementIntent: IMovementIntent;
62
62
  walkPath: IWalkPath | undefined;
63
63
  identifier: string;
64
64
  skill: SkillManager;
@@ -13,13 +13,13 @@ import type { InfoProviderContext } from "game/inspection/InfoProviderContext";
13
13
  import LabelledValue from "game/inspection/infoProviders/LabelledValue";
14
14
  import Inspection from "game/inspection/Inspection";
15
15
  import Island from "game/island/Island";
16
- import Vector2 from "utilities/math/Vector2";
17
- export default class IslandInspection extends Inspection<Vector2> {
16
+ import type { IVector2 } from "utilities/math/IVector";
17
+ export default class IslandInspection extends Inspection<IVector2> {
18
18
  private readonly title;
19
19
  static getIslandName(island?: Island, useGenerated?: boolean): import("../../../language/impl/TranslationImpl").default;
20
20
  static handles(type: InspectType, island: unknown): boolean;
21
21
  get island(): Island | undefined;
22
- constructor(island: Island | Vector2, title?: boolean);
22
+ constructor(island: Island | IVector2, title?: boolean);
23
23
  getId(): string;
24
24
  get(context: InfoProviderContext): (import("game/inspection/InfoProvider").SimpleInfoProvider | LabelledValue)[];
25
25
  private getTreasureMaps;
@@ -9,11 +9,12 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import NPC from "game/entity/npc/NPC";
12
+ import { InspectType } from "game/inspection/IInspection";
12
13
  import HumanInspection from "game/inspection/inspections/HumanInspection";
13
14
  import type { IVector3 } from "utilities/math/IVector";
14
15
  export default class NPCInspection extends HumanInspection<NPC> {
15
16
  static getFromTile(position: IVector3): never[] | NPCInspection;
16
- static handles(npc: unknown): boolean;
17
+ static handles(type: InspectType, npc: unknown): boolean;
17
18
  constructor(npc: NPC);
18
19
  getBorder(): string;
19
20
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.11.4-beta.dev.20220201.1",
4
+ "version": "2.11.4-beta.dev.20220202.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",