@wayward/types 2.15.0-beta.dev.20251007.1 → 2.15.0-beta.dev.20251009.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.
Files changed (162) hide show
  1. package/definitions/game/audio/IAudio.d.ts +2 -1
  2. package/definitions/game/game/curse/Curse.d.ts +31 -12
  3. package/definitions/game/game/curse/ICurse.d.ts +5 -6
  4. package/definitions/game/game/doodad/Doodad.d.ts +5 -0
  5. package/definitions/game/game/entity/Entity.d.ts +7 -1
  6. package/definitions/game/game/entity/Human.d.ts +7 -7
  7. package/definitions/game/game/entity/IHuman.d.ts +3 -0
  8. package/definitions/game/game/entity/action/actions/Absorb.d.ts +1 -1
  9. package/definitions/game/game/entity/action/actions/AddFuel.d.ts +1 -1
  10. package/definitions/game/game/entity/action/actions/AddItemDiscovered.d.ts +1 -1
  11. package/definitions/game/game/entity/action/actions/Alter.d.ts +1 -1
  12. package/definitions/game/game/entity/action/actions/Apply.d.ts +1 -1
  13. package/definitions/game/game/entity/action/actions/AscendDescend.d.ts +1 -1
  14. package/definitions/game/game/entity/action/actions/AttachContainer.d.ts +1 -1
  15. package/definitions/game/game/entity/action/actions/Attack.d.ts +1 -1
  16. package/definitions/game/game/entity/action/actions/Build.d.ts +1 -1
  17. package/definitions/game/game/entity/action/actions/Butcher.d.ts +1 -1
  18. package/definitions/game/game/entity/action/actions/CageCreature.d.ts +1 -1
  19. package/definitions/game/game/entity/action/actions/Cast.d.ts +1 -1
  20. package/definitions/game/game/entity/action/actions/Chop.d.ts +1 -1
  21. package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +1 -1
  22. package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +1 -1
  23. package/definitions/game/game/entity/action/actions/ConsumeItem.d.ts +1 -1
  24. package/definitions/game/game/entity/action/actions/CopyMap.d.ts +1 -1
  25. package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
  26. package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
  27. package/definitions/game/game/entity/action/actions/CreateControllableNPC.d.ts +1 -1
  28. package/definitions/game/game/entity/action/actions/Cure.d.ts +1 -1
  29. package/definitions/game/game/entity/action/actions/DamageMap.d.ts +1 -1
  30. package/definitions/game/game/entity/action/actions/DetachContainer.d.ts +1 -1
  31. package/definitions/game/game/entity/action/actions/Dig.d.ts +1 -1
  32. package/definitions/game/game/entity/action/actions/Disassemble.d.ts +1 -1
  33. package/definitions/game/game/entity/action/actions/DiscoverRecipe.d.ts +1 -1
  34. package/definitions/game/game/entity/action/actions/Dismantle.d.ts +1 -1
  35. package/definitions/game/game/entity/action/actions/Dismount.d.ts +1 -1
  36. package/definitions/game/game/entity/action/actions/DisplayItem.d.ts +1 -1
  37. package/definitions/game/game/entity/action/actions/DrawMap.d.ts +1 -1
  38. package/definitions/game/game/entity/action/actions/DrinkInFront.d.ts +1 -1
  39. package/definitions/game/game/entity/action/actions/DrinkItem.d.ts +1 -1
  40. package/definitions/game/game/entity/action/actions/Drop.d.ts +1 -1
  41. package/definitions/game/game/entity/action/actions/DumpItems.d.ts +1 -1
  42. package/definitions/game/game/entity/action/actions/Eat.d.ts +1 -1
  43. package/definitions/game/game/entity/action/actions/Enchant.d.ts +1 -1
  44. package/definitions/game/game/entity/action/actions/Enhance.d.ts +1 -1
  45. package/definitions/game/game/entity/action/actions/Equip.d.ts +1 -1
  46. package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +1 -1
  47. package/definitions/game/game/entity/action/actions/ExcavateCollapse.d.ts +1 -1
  48. package/definitions/game/game/entity/action/actions/Extinguish.d.ts +1 -1
  49. package/definitions/game/game/entity/action/actions/Exude.d.ts +1 -1
  50. package/definitions/game/game/entity/action/actions/Fire.d.ts +1 -1
  51. package/definitions/game/game/entity/action/actions/Gather.d.ts +1 -1
  52. package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +1 -1
  53. package/definitions/game/game/entity/action/actions/Grasp.d.ts +1 -1
  54. package/definitions/game/game/entity/action/actions/Harvest.d.ts +1 -1
  55. package/definitions/game/game/entity/action/actions/Heal.d.ts +1 -1
  56. package/definitions/game/game/entity/action/actions/HealOther.d.ts +1 -1
  57. package/definitions/game/game/entity/action/actions/Hitch.d.ts +1 -1
  58. package/definitions/game/game/entity/action/actions/Idle.d.ts +1 -1
  59. package/definitions/game/game/entity/action/actions/Ignite.d.ts +1 -1
  60. package/definitions/game/game/entity/action/actions/Jump.d.ts +1 -1
  61. package/definitions/game/game/entity/action/actions/Kneel.d.ts +1 -1
  62. package/definitions/game/game/entity/action/actions/Learn.d.ts +1 -1
  63. package/definitions/game/game/entity/action/actions/Lockpick.d.ts +1 -1
  64. package/definitions/game/game/entity/action/actions/Melee.d.ts +1 -1
  65. package/definitions/game/game/entity/action/actions/Mine.d.ts +1 -1
  66. package/definitions/game/game/entity/action/actions/Move.d.ts +1 -1
  67. package/definitions/game/game/entity/action/actions/MoveItem.d.ts +1 -1
  68. package/definitions/game/game/entity/action/actions/MoveTo.d.ts +1 -1
  69. package/definitions/game/game/entity/action/actions/NPCInteract.d.ts +1 -1
  70. package/definitions/game/game/entity/action/actions/Navigate.d.ts +1 -1
  71. package/definitions/game/game/entity/action/actions/Noclip.d.ts +1 -1
  72. package/definitions/game/game/entity/action/actions/Offer.d.ts +1 -1
  73. package/definitions/game/game/entity/action/actions/OpenBottle.d.ts +1 -1
  74. package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +1 -1
  75. package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +1 -1
  76. package/definitions/game/game/entity/action/actions/PackGround.d.ts +1 -1
  77. package/definitions/game/game/entity/action/actions/Pet.d.ts +1 -1
  78. package/definitions/game/game/entity/action/actions/PickUp.d.ts +1 -1
  79. package/definitions/game/game/entity/action/actions/PickUpAllItems.d.ts +1 -1
  80. package/definitions/game/game/entity/action/actions/PickUpExcrement.d.ts +1 -1
  81. package/definitions/game/game/entity/action/actions/PickUpItem.d.ts +1 -1
  82. package/definitions/game/game/entity/action/actions/PlaceDown.d.ts +1 -1
  83. package/definitions/game/game/entity/action/actions/Plant.d.ts +1 -1
  84. package/definitions/game/game/entity/action/actions/Pour.d.ts +1 -1
  85. package/definitions/game/game/entity/action/actions/PourOnYourself.d.ts +1 -1
  86. package/definitions/game/game/entity/action/actions/Preserve.d.ts +1 -1
  87. package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +1 -1
  88. package/definitions/game/game/entity/action/actions/ProtectItem.d.ts +1 -1
  89. package/definitions/game/game/entity/action/actions/Read.d.ts +1 -1
  90. package/definitions/game/game/entity/action/actions/ReadMap.d.ts +1 -1
  91. package/definitions/game/game/entity/action/actions/Refine.d.ts +1 -1
  92. package/definitions/game/game/entity/action/actions/Reinforce.d.ts +1 -1
  93. package/definitions/game/game/entity/action/actions/Release.d.ts +1 -1
  94. package/definitions/game/game/entity/action/actions/RemoveControllableNPC.d.ts +1 -1
  95. package/definitions/game/game/entity/action/actions/Rename.d.ts +1 -1
  96. package/definitions/game/game/entity/action/actions/RenameIsland.d.ts +1 -1
  97. package/definitions/game/game/entity/action/actions/Repair.d.ts +1 -1
  98. package/definitions/game/game/entity/action/actions/ResetItemDiscovered.d.ts +1 -1
  99. package/definitions/game/game/entity/action/actions/Reshape.d.ts +1 -1
  100. package/definitions/game/game/entity/action/actions/Rest.d.ts +1 -1
  101. package/definitions/game/game/entity/action/actions/RestCancel.d.ts +1 -1
  102. package/definitions/game/game/entity/action/actions/Ride.d.ts +1 -1
  103. package/definitions/game/game/entity/action/actions/Rotate.d.ts +1 -1
  104. package/definitions/game/game/entity/action/actions/SailToIsland.d.ts +1 -1
  105. package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
  106. package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
  107. package/definitions/game/game/entity/action/actions/SetDown.d.ts +1 -1
  108. package/definitions/game/game/entity/action/actions/ShipToIsland.d.ts +1 -1
  109. package/definitions/game/game/entity/action/actions/Shoot.d.ts +1 -1
  110. package/definitions/game/game/entity/action/actions/Sleep.d.ts +1 -1
  111. package/definitions/game/game/entity/action/actions/SmotherFire.d.ts +1 -1
  112. package/definitions/game/game/entity/action/actions/Squeeze.d.ts +1 -1
  113. package/definitions/game/game/entity/action/actions/Squish.d.ts +1 -1
  114. package/definitions/game/game/entity/action/actions/StartFire.d.ts +1 -1
  115. package/definitions/game/game/entity/action/actions/StokeFire.d.ts +1 -1
  116. package/definitions/game/game/entity/action/actions/Summon.d.ts +1 -1
  117. package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +1 -1
  118. package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +1 -1
  119. package/definitions/game/game/entity/action/actions/Tame.d.ts +1 -1
  120. package/definitions/game/game/entity/action/actions/Teleport.d.ts +1 -1
  121. package/definitions/game/game/entity/action/actions/TellTime.d.ts +1 -1
  122. package/definitions/game/game/entity/action/actions/TestDepth.d.ts +1 -1
  123. package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
  124. package/definitions/game/game/entity/action/actions/Till.d.ts +1 -1
  125. package/definitions/game/game/entity/action/actions/ToggleContainer.d.ts +1 -1
  126. package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +1 -1
  127. package/definitions/game/game/entity/action/actions/ToggleHitch.d.ts +1 -1
  128. package/definitions/game/game/entity/action/actions/ToggleProtectItem.d.ts +1 -1
  129. package/definitions/game/game/entity/action/actions/ToggleTilled.d.ts +1 -1
  130. package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +1 -1
  131. package/definitions/game/game/entity/action/actions/Trade.d.ts +1 -1
  132. package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +1 -1
  133. package/definitions/game/game/entity/action/actions/Uncage.d.ts +1 -1
  134. package/definitions/game/game/entity/action/actions/Unequip.d.ts +1 -1
  135. package/definitions/game/game/entity/action/actions/Unhitch.d.ts +1 -1
  136. package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +1 -1
  137. package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +1 -1
  138. package/definitions/game/game/entity/action/actions/UpdateGameOption.d.ts +1 -1
  139. package/definitions/game/game/entity/action/actions/UpdateItemOrder.d.ts +1 -1
  140. package/definitions/game/game/entity/action/actions/UpdateOption.d.ts +1 -1
  141. package/definitions/game/game/entity/action/actions/UpdateWalkTo.d.ts +1 -1
  142. package/definitions/game/game/entity/action/actions/Upgrade.d.ts +1 -1
  143. package/definitions/game/game/entity/action/actions/ViewItems.d.ts +1 -1
  144. package/definitions/game/game/entity/creature/Creature.d.ts +2 -1
  145. package/definitions/game/game/entity/creature/ICreature.d.ts +5 -0
  146. package/definitions/game/game/entity/creature/corpse/Corpse.d.ts +2 -2
  147. package/definitions/game/game/entity/creature/corpse/ICorpse.d.ts +3 -0
  148. package/definitions/game/game/entity/data/DataComponent.d.ts +38 -0
  149. package/definitions/game/game/entity/npc/INPC.d.ts +3 -0
  150. package/definitions/game/game/entity/npc/NPC.d.ts +2 -2
  151. package/definitions/game/game/entity/player/IPlayer.d.ts +3 -0
  152. package/definitions/game/game/entity/player/Player.d.ts +2 -2
  153. package/definitions/game/game/inspection/infoProviders/doodad/StillWater.d.ts +1 -0
  154. package/definitions/game/game/island/Island.d.ts +2 -2
  155. package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +2 -2
  156. package/definitions/game/game/tile/ITileEvent.d.ts +3 -0
  157. package/definitions/game/game/tile/Tile.d.ts +2 -1
  158. package/definitions/game/game/tile/TileEvent.d.ts +2 -2
  159. package/definitions/game/language/dictionary/Message.d.ts +190 -189
  160. package/definitions/game/language/dictionary/UiTranslation.d.ts +666 -664
  161. package/definitions/game/renderer/fieldOfView/IFieldOfView.d.ts +4 -1
  162. package/package.json +1 -1
@@ -19,5 +19,5 @@ export interface IToggleDoorCanUse extends IActionUsable {
19
19
  tile: Tile;
20
20
  changeType: DoodadType;
21
21
  }
22
- declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, boolean, IToggleDoorCanUse, [(Doodad | undefined)?, (boolean | undefined)?]>;
22
+ declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.DoodadNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleDoor, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, boolean, IToggleDoorCanUse, [(Doodad | undefined)?, (boolean | undefined)?]>;
23
23
  export default _default;
@@ -17,5 +17,5 @@ export interface IToggleHitchCanUse extends IActionUsable {
17
17
  creature: Creature;
18
18
  hitch?: Doodad;
19
19
  }
20
- declare const _default: Action<[], ActionType.ToggleHitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleHitchCanUse, []>;
20
+ declare const _default: Action<[], ActionType.ToggleHitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IToggleHitchCanUse, []>;
21
21
  export default _default;
@@ -10,5 +10,5 @@
10
10
  */
11
11
  import { Action } from "@wayward/game/game/entity/action/Action";
12
12
  import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
13
- declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.Boolean], import("@wayward/game/game/entity/action/IAction").ActionType, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
13
+ declare const _default: Action<[ActionArgument.ItemNearby, ActionArgument.Boolean], import("@wayward/game/game/entity/action/IAction").ActionType, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
14
14
  export default _default;
@@ -19,5 +19,5 @@ export interface ITillCanUse extends IActionUsable {
19
19
  tileType: TerrainType;
20
20
  terrainDescription: ITerrainDescription;
21
21
  }
22
- declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.ToggleTilled, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
22
+ declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.ToggleTilled, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
23
23
  export default _default;
@@ -29,5 +29,5 @@ export interface ToggleVehicleItemCanUse extends IActionUsable {
29
29
  facingTile?: Tile;
30
30
  }
31
31
  export type ToggleVehicleCanUse = ToggleVehicleDoodadCanUse | ToggleVehicleItemCanUse;
32
- declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.ToggleVehicle, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ToggleVehicleCanUse, [(Doodad | Item | undefined)?]>;
32
+ declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemNearby, ActionArgument.DoodadNearby]], ActionType.ToggleVehicle, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ToggleVehicleCanUse, [(Doodad | Item | undefined)?]>;
33
33
  export default _default;
@@ -11,5 +11,5 @@
11
11
  import { Action } from "@wayward/game/game/entity/action/Action";
12
12
  import { TradeArgument } from "@wayward/game/game/entity/action/actions/trade/TradeArgument";
13
13
  import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
14
- declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, TradeArgument]], ActionType.Trade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/NPCInteract").INPCInteractUsable, [import("../../npc/NPC").default, (import("@wayward/game/game/entity/action/actions/trade/TradeArgument").ITradeArgument | undefined)?]>;
14
+ declare const _default: Action<[ActionArgument.NPCNearby, [arg1: ActionArgument.Undefined, TradeArgument]], ActionType.Trade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/NPCInteract").INPCInteractUsable, [import("../../npc/NPC").default, (import("@wayward/game/game/entity/action/actions/trade/TradeArgument").ITradeArgument | undefined)?]>;
15
15
  export default _default;
@@ -15,5 +15,5 @@ import type Item from "@wayward/game/game/item/Item";
15
15
  export interface ITransmogrifyCanUse extends IActionUsable {
16
16
  transmogrifyTarget: Item;
17
17
  }
18
- declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Transmogrify, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, ITransmogrifyCanUse, [Item, (Item | undefined)?]>;
18
+ declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Transmogrify, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, ITransmogrifyCanUse, [Item, (Item | undefined)?]>;
19
19
  export default _default;
@@ -22,5 +22,5 @@ export interface IUncageCanUse extends IActionUsable {
22
22
  /**
23
23
  * Releases a creature from a cage
24
24
  */
25
- declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Uncage, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IUncageCanUse, [import("../../../item/Item").default]>;
25
+ declare const _default: Action<[ActionArgument.ItemInventory], ActionType.Uncage, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IUncageCanUse, [import("../../../item/Item").default]>;
26
26
  export default _default;
@@ -10,5 +10,5 @@
10
10
  */
11
11
  import { Action } from "@wayward/game/game/entity/action/Action";
12
12
  import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
13
- declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.Unequip, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("../../../item/Item").default | undefined)?]>;
13
+ declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.ItemInventory]], ActionType.Unequip, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("../../../item/Item").default | undefined)?]>;
14
14
  export default _default;
@@ -9,5 +9,5 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { ActionType } from "@wayward/game/game/entity/action/IAction";
12
- declare const _default: import("../Action").Action<[], ActionType.Unhitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleHitch").IToggleHitchCanUse, []>;
12
+ declare const _default: import("../Action").Action<[], ActionType.Unhitch, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/ToggleHitch").IToggleHitchCanUse, []>;
13
13
  export default _default;
@@ -9,5 +9,5 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { ActionType } from "@wayward/game/game/entity/action/IAction";
12
- declare const _default: import("../Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean], ActionType.UnProtectItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
12
+ declare const _default: import("../Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean], ActionType.UnProtectItem, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../../item/Item").default, boolean]>;
13
13
  export default _default;
@@ -12,7 +12,7 @@ import { Action } from "@wayward/game/game/entity/action/Action";
12
12
  import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
13
13
  import type Human from "@wayward/game/game/entity/Human";
14
14
  import { Direction } from "@wayward/game/utilities/math/Direction";
15
- declare const _default: Action<[ActionArgument.Direction, [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.UpdateDirection, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
15
+ declare const _default: Action<[ActionArgument.Direction, [arg1: ActionArgument.Undefined, ActionArgument.Integer32], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.UpdateDirection, Human<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
16
16
  usable: true;
17
17
  }, [Direction.None | Direction.East | Direction.North | Direction.West | Direction.South, (number | undefined)?, (boolean | undefined)?]>;
18
18
  export default _default;
@@ -10,5 +10,5 @@
10
10
  */
11
11
  import { Action } from "@wayward/game/game/entity/action/Action";
12
12
  import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
13
- declare const _default: Action<[ActionArgument.Object], ActionType.UpdateGameOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [any?]>;
13
+ declare const _default: Action<[ActionArgument.Object], ActionType.UpdateGameOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [any?]>;
14
14
  export default _default;
@@ -18,5 +18,5 @@ export declare class ActionArgumentItemSort extends ActionArgumentCustom<IContai
18
18
  read(): IContainerSort;
19
19
  write(executor: Entity | undefined, value: IContainerSort): void;
20
20
  }
21
- declare const _default: Action<[ActionArgument.Container, [ActionArgument.UnsignedInteger32NumberArray, ActionArgumentItemSort]], ActionType.UpdateItemOrder, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("@wayward/game/game/item/IItem").IContainer, number[] | IContainerSort]>;
21
+ declare const _default: Action<[ActionArgument.Container, [ActionArgument.UnsignedInteger32NumberArray, ActionArgumentItemSort]], ActionType.UpdateItemOrder, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("@wayward/game/game/item/IItem").IContainer, number[] | IContainerSort]>;
22
22
  export default _default;
@@ -10,5 +10,5 @@
10
10
  */
11
11
  import { Action } from "@wayward/game/game/entity/action/Action";
12
12
  import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
13
- declare const _default: Action<[import("../argument/ActionArgumentObjectKey").default<import("../../../../save/data/ISaveDataGlobal").IOptions>, ActionArgument.Object], ActionType.UpdateOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [keyof import("../../../../save/data/ISaveDataGlobal").IOptions, any?]>;
13
+ declare const _default: Action<[import("../argument/ActionArgumentObjectKey").default<import("../../../../save/data/ISaveDataGlobal").IOptions>, ActionArgument.Object], ActionType.UpdateOption, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [keyof import("../../../../save/data/ISaveDataGlobal").IOptions, any?]>;
14
14
  export default _default;
@@ -20,5 +20,5 @@ export declare class WalkToArgument extends ActionArgumentCustom<IWalkToPathInPr
20
20
  private readOptionalRange;
21
21
  private writeOptionalRange;
22
22
  }
23
- declare const _default: Action<[[arg1: ActionArgument.Undefined, WalkToArgument]], ActionType.UpdateWalkTo, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(IWalkToPathInProgress | undefined)?]>;
23
+ declare const _default: Action<[[arg1: ActionArgument.Undefined, WalkToArgument]], ActionType.UpdateWalkTo, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(IWalkToPathInProgress | undefined)?]>;
24
24
  export default _default;
@@ -18,7 +18,7 @@ export interface IUpgradeCanUse extends IActionUsable {
18
18
  upgrades: IUpgradeable[];
19
19
  upgradeTarget: Item;
20
20
  }
21
- declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Upgrade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IUpgradeCanUse, [Item, (Item | undefined)?]>;
21
+ declare const _default: Action<[ActionArgument.ItemNearby, [arg1: ActionArgument.Undefined, ActionArgument.ItemNearby]], ActionType.Upgrade, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IUpgradeCanUse, [Item, (Item | undefined)?]>;
22
22
  export default _default;
23
23
  export interface IUpgradeable extends IMagicalPropertyInfo {
24
24
  target: Item;
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import { Action } from "@wayward/game/game/entity/action/Action";
12
12
  import { ActionArgument, ActionType } from "@wayward/game/game/entity/action/IAction";
13
- declare const _default: Action<[ActionArgument.Tile], ActionType.ViewItems, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, {
13
+ declare const _default: Action<[ActionArgument.Tile], ActionType.ViewItems, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, {
14
14
  usable: true;
15
15
  }, [import("../../../tile/Tile").default]>;
16
16
  export default _default;
@@ -22,6 +22,7 @@ import { ActionType } from "@wayward/game/game/entity/action/IAction";
22
22
  import { AiType } from "@wayward/game/game/entity/ai/AI";
23
23
  import AiManager from "@wayward/game/game/entity/ai/AiManager";
24
24
  import type { CreatureAttackOutcome, ICreatureAttackOutcomeAttack, ICreatureCheckMoveOptions, ICreatureDescription, ICreatureEvents, IDamageInfo, IHitch } from "@wayward/game/game/entity/creature/ICreature";
25
+ import { CreatureTag } from "@wayward/game/game/entity/creature/ICreature";
25
26
  import { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
26
27
  import type Corpse from "@wayward/game/game/entity/creature/corpse/Corpse";
27
28
  import type { CreatureZone } from "@wayward/game/game/entity/creature/zone/CreatureZone";
@@ -41,7 +42,7 @@ import { Direction } from "@wayward/game/utilities/math/Direction";
41
42
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
42
43
  import Vector2 from "@wayward/game/utilities/math/Vector2";
43
44
  import type { IEventEmitter } from "@wayward/utilities/event/EventEmitter";
44
- export default class Creature extends EntityWithStats<ICreatureDescription, CreatureType, ReferenceType.Creature> implements IUnserializedCallback, IObject<CreatureType> {
45
+ export default class Creature extends EntityWithStats<ICreatureDescription, CreatureType, ReferenceType.Creature, CreatureTag> implements IUnserializedCallback, IObject<CreatureType> {
45
46
  static is(value: any): value is Creature;
46
47
  get entityType(): EntityType.Creature;
47
48
  get tileUpdateType(): TileUpdateType;
@@ -105,6 +105,11 @@ export declare enum CreatureType {
105
105
  export declare enum CreatureTypeGroup {
106
106
  Golem = 0
107
107
  }
108
+ export declare enum CreatureTag {
109
+ None = 0,
110
+ NoAlertIndicator = 1,
111
+ NoRandomDespawn = 2
112
+ }
108
113
  export interface ICreatureOld extends Creature {
109
114
  hp: number;
110
115
  maxhp: number;
@@ -18,7 +18,7 @@ import { EntityType } from "@wayward/game/game/entity/IEntity";
18
18
  import type Creature from "@wayward/game/game/entity/creature/Creature";
19
19
  import type { ICreatureDescription } from "@wayward/game/game/entity/creature/ICreature";
20
20
  import { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
21
- import type { ICorpseDescription } from "@wayward/game/game/entity/creature/corpse/ICorpse";
21
+ import type { CorpseTag, ICorpseDescription } from "@wayward/game/game/entity/creature/corpse/ICorpse";
22
22
  import type NPC from "@wayward/game/game/entity/npc/NPC";
23
23
  import type Player from "@wayward/game/game/entity/player/Player";
24
24
  import type { IUncastableContainer } from "@wayward/game/game/item/IItem";
@@ -42,7 +42,7 @@ export interface ICorpseEvents extends IEntityEvents {
42
42
  */
43
43
  removed(): void;
44
44
  }
45
- export default class Corpse extends Entity<ICorpseDescription, CreatureType, ReferenceType.Corpse> implements IObject<CreatureType> {
45
+ export default class Corpse extends Entity<ICorpseDescription, CreatureType, ReferenceType.Corpse, CorpseTag> implements IObject<CreatureType> {
46
46
  static is(value: any): value is Corpse;
47
47
  get entityType(): EntityType.Corpse;
48
48
  get tileUpdateType(): TileUpdateType;
@@ -47,3 +47,6 @@ export interface ICorpseCreateOnSideEffects {
47
47
  tileType: TerrainType;
48
48
  tileEvent: TileEventType;
49
49
  }
50
+ export declare enum CorpseTag {
51
+ None = 0
52
+ }
@@ -0,0 +1,38 @@
1
+ /*!
2
+ * Copyright 2011-2025 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 type Entity from "@wayward/game/game/entity/Entity";
12
+ export declare enum DataComponentType {
13
+ None = 0,
14
+ CurseSleeplessness = 1,
15
+ CurseCumulativeEvilCrafting = 2,
16
+ CurseCumulativeKilling = 3,
17
+ CurseHighestAttack = 4,
18
+ CurseHighestDefense = 5
19
+ }
20
+ interface DataComponent<T, DEFAULT_VALUE extends T | undefined = undefined> {
21
+ readonly type: DataComponentType;
22
+ has(entity: Entity): boolean;
23
+ get(entity: Entity): T | DEFAULT_VALUE;
24
+ compute(entity: Entity, compute: (defaultValue: DEFAULT_VALUE) => T): T;
25
+ set(entity: Entity, value: T): void;
26
+ modify(entity: Entity, modify: (current: T | DEFAULT_VALUE) => T): T;
27
+ remove(entity: Entity): void;
28
+ }
29
+ declare function DataComponent<T>(type: DataComponentType, defaultValue: T): DataComponent<T, T>;
30
+ declare function DataComponent<T>(type: DataComponentType, defaultValue?: T): DataComponent<T>;
31
+ declare namespace DataComponent {
32
+ interface Live<T> {
33
+ get(entity: Entity): T;
34
+ update(entity: Entity): void;
35
+ }
36
+ function Live<T>(type: DataComponentType, compute: (entity: Entity, current: T | undefined) => T): Live<T>;
37
+ }
38
+ export default DataComponent;
@@ -20,6 +20,9 @@ export declare enum ShipperNPCInteractType {
20
20
  OpenContainer = 0,
21
21
  ShipToIsland = 1
22
22
  }
23
+ export declare enum NPCTag {
24
+ None = 0
25
+ }
23
26
  export declare const MERCHANT_MAX_TRADES = 6;
24
27
  export declare const MERCHANT_SELL_PRICE_MULTIPLIER = 1.5;
25
28
  export declare const MERCHANT_ALREADY_TRADED_MULTIPLIER = 1.1;
@@ -20,7 +20,7 @@ import { ActionType } from "@wayward/game/game/entity/action/IAction";
20
20
  import { AiType, ChangeAiType } from "@wayward/game/game/entity/ai/AI";
21
21
  import type { IEntityAiEvents } from "@wayward/game/game/entity/ai/AiManager";
22
22
  import AiManager from "@wayward/game/game/entity/ai/AiManager";
23
- import type { INPCDescription } from "@wayward/game/game/entity/npc/INPC";
23
+ import type { INPCDescription, NPCTag } from "@wayward/game/game/entity/npc/INPC";
24
24
  import { NPCType } from "@wayward/game/game/entity/npc/INPCs";
25
25
  import type MerchantNPC from "@wayward/game/game/entity/npc/npcs/Merchant";
26
26
  import type ShipperNPC from "@wayward/game/game/entity/npc/npcs/Shipper";
@@ -51,7 +51,7 @@ export interface INPCEvents extends Events<Human>, IEntityAiEvents {
51
51
  */
52
52
  canNPCAttack(): boolean | undefined;
53
53
  }
54
- export default abstract class NPC extends Human<INPCDescription, NPCType, ReferenceType.NPC> {
54
+ export default abstract class NPC extends Human<INPCDescription, NPCType, ReferenceType.NPC, NPCTag> {
55
55
  protected static registrarId: number;
56
56
  get constructorFunction(): typeof NPC;
57
57
  readonly isPlayerLike: boolean;
@@ -257,4 +257,7 @@ export interface IPlayerTitleSkill {
257
257
  milestone?: undefined;
258
258
  }
259
259
  export type PlayerTitle = IPlayerTitleMilestone | IPlayerTitleSkill;
260
+ export declare enum PlayerTag {
261
+ None = 0
262
+ }
260
263
  export {};
@@ -16,7 +16,7 @@ import IActionContext from "@wayward/game/game/entity/action/IActionContext";
16
16
  import type { IDamageInfo } from "@wayward/game/game/entity/creature/ICreature";
17
17
  import { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
18
18
  import type NPC from "@wayward/game/game/entity/npc/NPC";
19
- import type { IMovementIntent, IPlayerEvents, PlayerTitle } from "@wayward/game/game/entity/player/IPlayer";
19
+ import type { IMovementIntent, IPlayerEvents, PlayerTag, PlayerTitle } from "@wayward/game/game/entity/player/IPlayer";
20
20
  import MessageManager from "@wayward/game/game/entity/player/MessageManager";
21
21
  import NoteManager from "@wayward/game/game/entity/player/note/NoteManager";
22
22
  import QuestManager from "@wayward/game/game/entity/player/quest/QuestManager";
@@ -38,7 +38,7 @@ import type { IContainerSortInfo, IDialogInfo } from "@wayward/game/ui/old/IOldU
38
38
  import { IActionBarSlotData } from "@wayward/game/ui/screen/screens/game/static/actions/IActionBar";
39
39
  import { Direction } from "@wayward/game/utilities/math/Direction";
40
40
  import { type IEventEmitter } from "@wayward/utilities/event/EventEmitter";
41
- export default class Player extends Human<undefined, number, ReferenceType.Player> implements IPreSerializeCallback, IUnserializedCallback {
41
+ export default class Player extends Human<undefined, number, ReferenceType.Player, PlayerTag> implements IPreSerializeCallback, IUnserializedCallback {
42
42
  get entityType(): EntityType.Player;
43
43
  get tileUpdateType(): TileUpdateType;
44
44
  event: IEventEmitter<this, IPlayerEvents>;
@@ -16,6 +16,7 @@ export default class StillWaterInfoProvider extends InfoProvider {
16
16
  private readonly waterTopMessage;
17
17
  private readonly waterBottomMessage;
18
18
  private readonly waterContainerMessage;
19
+ private readonly willStillWorkInTemperature;
19
20
  private constructor();
20
21
  getClass(): string[];
21
22
  hasContent(): boolean;
@@ -115,11 +115,11 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
115
115
  /**
116
116
  * Set of players on this island
117
117
  */
118
- readonly players: Set<Human<unknown, number, import("@wayward/game/game/reference/IReferenceManager").ReferenceType.NPC | import("@wayward/game/game/reference/IReferenceManager").ReferenceType.Player>>;
118
+ readonly players: Set<Human<unknown, number, import("@wayward/game/game/reference/IReferenceManager").ReferenceType.NPC | import("@wayward/game/game/reference/IReferenceManager").ReferenceType.Player, unknown>>;
119
119
  /**
120
120
  * Entity move types in fov on this island
121
121
  */
122
- readonly moveTypesInFov: Map<"-1-0" | "-1-1" | "-1-2" | "-1-4" | "-1-8" | "-1-16" | "-1-32" | "-1-64" | "-1-128" | "-1-256" | "-1-512" | "-1-1024" | "-1-2048" | "-1-4096" | "-1-8192" | "-1-15" | "0-0" | "0-1" | "0-2" | "0-4" | "0-8" | "0-16" | "0-32" | "0-64" | "0-128" | "0-256" | "0-512" | "0-1024" | "0-2048" | "0-4096" | "0-8192" | "0-15" | "1-0" | "1-1" | "1-2" | "1-4" | "1-8" | "1-16" | "1-32" | "1-64" | "1-128" | "1-256" | "1-512" | "1-1024" | "1-2048" | "1-4096" | "1-8192" | "1-15", Set<Human<unknown, number, import("@wayward/game/game/reference/IReferenceManager").ReferenceType.NPC | import("@wayward/game/game/reference/IReferenceManager").ReferenceType.Player>>>;
122
+ readonly moveTypesInFov: Map<"-1-0" | "-1-1" | "-1-2" | "-1-4" | "-1-8" | "-1-16" | "-1-32" | "-1-64" | "-1-128" | "-1-256" | "-1-512" | "-1-1024" | "-1-2048" | "-1-4096" | "-1-8192" | "-1-15" | "0-0" | "0-1" | "0-2" | "0-4" | "0-8" | "0-16" | "0-32" | "0-64" | "0-128" | "0-256" | "0-512" | "0-1024" | "0-2048" | "0-4096" | "0-8192" | "0-15" | "1-0" | "1-1" | "1-2" | "1-4" | "1-8" | "1-16" | "1-32" | "1-64" | "1-128" | "1-256" | "1-512" | "1-1024" | "1-2048" | "1-4096" | "1-8192" | "1-15", Set<Human<unknown, number, import("@wayward/game/game/reference/IReferenceManager").ReferenceType.NPC | import("@wayward/game/game/reference/IReferenceManager").ReferenceType.Player, unknown>>>;
123
123
  /**
124
124
  * Helps instruct when to tick when in simulated turn mode
125
125
  */
@@ -90,6 +90,8 @@ export declare const milestoneModifiers: {
90
90
  36: typeof Contender;
91
91
  3: typeof Crafter;
92
92
  56: typeof Curator;
93
+ 71: typeof Cursebreaker;
94
+ 70: typeof Cursed;
93
95
  52: typeof Dedicated;
94
96
  38: typeof DestroyerOfMagi;
95
97
  42: typeof Diverse;
@@ -139,8 +141,6 @@ export declare const milestoneModifiers: {
139
141
  65: typeof Turbulent;
140
142
  50: typeof Versatile;
141
143
  29: typeof Weathered;
142
- 70: typeof Cursed;
143
- 71: typeof Cursebreaker;
144
144
  };
145
145
  declare class MilestoneModifiersManager extends GameplayModifiersManager<MilestoneModifier, Milestone, [Human?]> {
146
146
  constructor();
@@ -134,3 +134,6 @@ export declare enum TileEventType {
134
134
  PileOfLeaves = 25
135
135
  }
136
136
  export declare const TILE_EVENTS_LIQUID_TERRAIN_EXCLUSIONS: TerrainType[];
137
+ export declare enum TileEventTag {
138
+ None = 0
139
+ }
@@ -287,7 +287,7 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
287
287
  * Gets the nearest player based.
288
288
  * @param canSee If set to true, check if the player can see the x/y/z coords. Defaults to false.
289
289
  */
290
- getNearestPlayer(canSee?: boolean, includeGhosts?: boolean, includeConnecting?: boolean): {
290
+ getNearestPlayer(canSee?: CanASeeBType | false, includeGhosts?: boolean, includeConnecting?: boolean, customRadius?: number): {
291
291
  player?: Human;
292
292
  distance?: number;
293
293
  };
@@ -420,6 +420,7 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
420
420
  canSeeObject(type: CanASeeBType, object: IRendererOrigin, fieldOfView?: FieldOfView, customRadius?: number): boolean;
421
421
  canSeeTile(type: CanASeeBType, tile: Tile, fieldOfView?: FieldOfView, customRadius?: number): boolean;
422
422
  canSeePosition(type: CanASeeBType, islandId: IslandId, x: number, y: number, z: number, fieldOfView?: FieldOfView | undefined, customRadius?: number): boolean;
423
+ isSeenByPlayer(type: CanASeeBType, customRadius?: number): boolean;
423
424
  /** @returns 0-1 */
424
425
  getLightLevel(): number;
425
426
  messageIfVisible(callback: (manager: IMessageManager) => boolean): void;
@@ -24,7 +24,7 @@ import type Player from "@wayward/game/game/entity/player/Player";
24
24
  import type { IUncastableContainer } from "@wayward/game/game/item/IItem";
25
25
  import type Item from "@wayward/game/game/item/Item";
26
26
  import type { ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
27
- import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
27
+ import type { ITileEventDescription, TileEventTag } from "@wayward/game/game/tile/ITileEvent";
28
28
  import { TileEventType } from "@wayward/game/game/tile/ITileEvent";
29
29
  import type Tile from "@wayward/game/game/tile/Tile";
30
30
  import FireStage from "@wayward/game/game/tile/events/fire/FireStage";
@@ -40,7 +40,7 @@ export interface ITileEventEvents extends IEntityMovableEvents {
40
40
  */
41
41
  fireUpdate(tile: Tile, stage: FireStage | undefined): any;
42
42
  }
43
- export default class TileEvent extends EntityMovable<ITileEventDescription, TileEventType, ReferenceType.TileEvent> implements IObject<TileEventType> {
43
+ export default class TileEvent extends EntityMovable<ITileEventDescription, TileEventType, ReferenceType.TileEvent, TileEventTag> implements IObject<TileEventType> {
44
44
  static is(value: any): value is TileEvent;
45
45
  get entityType(): EntityType.TileEvent;
46
46
  get tileUpdateType(): TileUpdateType;