@wayward/types 2.15.0-beta.dev.20251006.1 → 2.15.0-beta.dev.20251008.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 (173) hide show
  1. package/definitions/game/game/ILoot.d.ts +3 -1
  2. package/definitions/game/game/curse/Curse.d.ts +12 -4
  3. package/definitions/game/game/curse/CurseEvent.d.ts +8 -6
  4. package/definitions/game/game/doodad/IDoodad.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 -3
  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/SetTitle.d.ts +1 -1
  109. package/definitions/game/game/entity/action/actions/ShipToIsland.d.ts +1 -1
  110. package/definitions/game/game/entity/action/actions/Shoot.d.ts +1 -1
  111. package/definitions/game/game/entity/action/actions/Sleep.d.ts +1 -1
  112. package/definitions/game/game/entity/action/actions/SmotherFire.d.ts +1 -1
  113. package/definitions/game/game/entity/action/actions/Squeeze.d.ts +1 -1
  114. package/definitions/game/game/entity/action/actions/Squish.d.ts +1 -1
  115. package/definitions/game/game/entity/action/actions/StartFire.d.ts +1 -1
  116. package/definitions/game/game/entity/action/actions/StokeFire.d.ts +1 -1
  117. package/definitions/game/game/entity/action/actions/Summon.d.ts +1 -1
  118. package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +1 -1
  119. package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +1 -1
  120. package/definitions/game/game/entity/action/actions/Tame.d.ts +1 -1
  121. package/definitions/game/game/entity/action/actions/Teleport.d.ts +1 -1
  122. package/definitions/game/game/entity/action/actions/TellTime.d.ts +1 -1
  123. package/definitions/game/game/entity/action/actions/TestDepth.d.ts +1 -1
  124. package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
  125. package/definitions/game/game/entity/action/actions/Till.d.ts +1 -1
  126. package/definitions/game/game/entity/action/actions/ToggleContainer.d.ts +1 -1
  127. package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +1 -1
  128. package/definitions/game/game/entity/action/actions/ToggleHitch.d.ts +1 -1
  129. package/definitions/game/game/entity/action/actions/ToggleProtectItem.d.ts +1 -1
  130. package/definitions/game/game/entity/action/actions/ToggleTilled.d.ts +1 -1
  131. package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +1 -1
  132. package/definitions/game/game/entity/action/actions/Trade.d.ts +1 -1
  133. package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +1 -1
  134. package/definitions/game/game/entity/action/actions/Uncage.d.ts +1 -1
  135. package/definitions/game/game/entity/action/actions/Unequip.d.ts +1 -1
  136. package/definitions/game/game/entity/action/actions/Unhitch.d.ts +1 -1
  137. package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +1 -1
  138. package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +1 -1
  139. package/definitions/game/game/entity/action/actions/UpdateGameOption.d.ts +1 -1
  140. package/definitions/game/game/entity/action/actions/UpdateItemOrder.d.ts +1 -1
  141. package/definitions/game/game/entity/action/actions/UpdateOption.d.ts +1 -1
  142. package/definitions/game/game/entity/action/actions/UpdateWalkTo.d.ts +1 -1
  143. package/definitions/game/game/entity/action/actions/Upgrade.d.ts +1 -1
  144. package/definitions/game/game/entity/action/actions/ViewItems.d.ts +1 -1
  145. package/definitions/game/game/entity/creature/Creature.d.ts +2 -1
  146. package/definitions/game/game/entity/creature/ICreature.d.ts +5 -0
  147. package/definitions/game/game/entity/creature/corpse/Corpse.d.ts +2 -2
  148. package/definitions/game/game/entity/creature/corpse/ICorpse.d.ts +3 -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/entity/status/IStatus.d.ts +13 -2
  154. package/definitions/game/game/entity/status/IStatusContext.d.ts +1 -1
  155. package/definitions/game/game/entity/status/Status.d.ts +1 -1
  156. package/definitions/game/game/island/Island.d.ts +2 -2
  157. package/definitions/game/game/milestones/IMilestone.d.ts +3 -1
  158. package/definitions/game/game/milestones/MilestoneDefinition.d.ts +4 -3
  159. package/definitions/game/game/options/IGameOptions.d.ts +4 -0
  160. package/definitions/game/game/options/modifiers/milestone/IMilestoneModifier.d.ts +2 -1
  161. package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +4 -0
  162. package/definitions/game/game/options/modifiers/milestone/modifiers/Cursebreaker.d.ts +17 -0
  163. package/definitions/game/game/options/modifiers/milestone/modifiers/Cursed.d.ts +17 -0
  164. package/definitions/game/game/tile/ITileEvent.d.ts +3 -0
  165. package/definitions/game/game/tile/Tile.d.ts +2 -1
  166. package/definitions/game/game/tile/TileEvent.d.ts +2 -2
  167. package/definitions/game/language/dictionary/Message.d.ts +4 -4
  168. package/definitions/game/language/dictionary/UiTranslation.d.ts +692 -691
  169. package/definitions/game/renderer/RenderersNotifiers.d.ts +1 -1
  170. package/definitions/game/renderer/fieldOfView/IFieldOfView.d.ts +4 -1
  171. package/definitions/game/renderer/notifier/INotifier.d.ts +2 -2
  172. package/definitions/game/renderer/notifier/Notifier.d.ts +1 -1
  173. package/package.json +1 -1
@@ -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<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<import("../../IEntity").AttackType, "MeleeWeapon" | "HandToHand" | "RangedWeapon" | "ThrowItem">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Throw, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Attack").IAttackCanUse, [(import("../../../item/Item").default | undefined)?, (import("../../IEntity").AttackType | undefined)?, (import("../../../item/Item").default | undefined)?]>;
12
+ declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<import("../../IEntity").AttackType, "MeleeWeapon" | "HandToHand" | "RangedWeapon" | "ThrowItem">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Throw, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/Attack").IAttackCanUse, [(import("../../../item/Item").default | undefined)?, (import("../../IEntity").AttackType | undefined)?, (import("../../../item/Item").default | undefined)?]>;
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<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Till, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ToggleTilled").ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
12
+ declare const _default: import("../Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory]], ActionType.Till, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, import("@wayward/game/game/entity/action/actions/ToggleTilled").ITillCanUse, [(import("../../../item/Item").default | undefined)?]>;
13
13
  export default _default;
@@ -17,5 +17,5 @@ export interface IToggleContainerCanUse extends IActionUsable {
17
17
  container: IContainer;
18
18
  entity: Entity;
19
19
  }
20
- declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Container, ActionArgument.NPCNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleContainer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, IToggleContainerCanUse, [(import("../../npc/NPC").default | IContainer | undefined)?, (boolean | undefined)?]>;
20
+ declare const _default: Action<[[arg1: ActionArgument.Undefined, ActionArgument.Container, ActionArgument.NPCNearby], [arg1: ActionArgument.Undefined, ActionArgument.Boolean]], ActionType.ToggleContainer, import("../../Human").default<unknown, number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player, unknown>, void, IToggleContainerCanUse, [(import("../../npc/NPC").default | IContainer | undefined)?, (boolean | undefined)?]>;
21
21
  export default _default;
@@ -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
+ }
@@ -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>;
@@ -15,7 +15,7 @@ import { MessageType } from "@wayward/game/game/entity/player/IMessageManager";
15
15
  import type IStatusContext from "@wayward/game/game/entity/status/IStatusContext";
16
16
  import type Status from "@wayward/game/game/entity/status/Status";
17
17
  import type { StatusEffectList } from "@wayward/game/game/entity/status/StatusEffectList";
18
- import type { IIcon } from "@wayward/game/game/inspection/InfoProvider";
18
+ import type { IIcon, InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
19
19
  import type { IGameOptionsStatus } from "@wayward/game/game/options/IGameOptions";
20
20
  import type Dictionary from "@wayward/game/language/Dictionary";
21
21
  import type { StatusTranslation } from "@wayward/game/language/dictionary/Misc";
@@ -33,11 +33,16 @@ export interface IStatusDisplayable {
33
33
  icon?: SupplierOr<IStatusIconDescription | undefined, [IStatusContext]>;
34
34
  getBorderColorOverride?(status?: Status): string | undefined;
35
35
  getCategoryOverride?(status?: Status): IStatusCategoryOverride | undefined;
36
+ getDescriptionContent?(status: Status): IStatusDescriptionContent | undefined;
36
37
  }
37
38
  export interface IStatusCategoryOverride {
38
39
  icon: string | IIcon;
39
40
  translation: Translation;
40
41
  }
42
+ export interface IStatusDescriptionContent {
43
+ primary?: ArrayOr<Translation | InfoProvider | undefined>;
44
+ secondary?: ArrayOr<Translation | InfoProvider | undefined>;
45
+ }
41
46
  export interface IStatusDescription extends IStatusDisplayable {
42
47
  applicability: StatusApplicability;
43
48
  relevantStat?: Stat;
@@ -53,7 +58,13 @@ export interface IStatusDescription extends IStatusDisplayable {
53
58
  /** An optional replacement list of icons to display for this status effect, rather than the single default icon. */
54
59
  getDisplay?(status: Status): IStatusDisplayInstance[] | undefined;
55
60
  getSubtitle?(): Translation | undefined;
56
- interval?: SupplierOr<number | undefined, [IStatusContext]>;
61
+ /**
62
+ * Controls whether this status is considered important, separate from the "threat level" system.
63
+ *
64
+ * Currently, "important" statuses have the same bounce animation that "threats" have.
65
+ */
66
+ important?: true;
67
+ interval?: SupplierOr<number | undefined, [IStatusContext]> | false;
57
68
  effects?: SupplierOr<StatusEffectList | undefined, [IStatusContext, StatusEffectList]>;
58
69
  particles?: SupplierOr<StatusParticle | undefined, [IStatusContext, StatusParticleEvent?]>;
59
70
  /** A list of `StatusRenderer`s that could be returned by a supplier in the `renderer` property */
@@ -27,7 +27,7 @@ declare namespace IStatusContext {
27
27
  function fromStatus(status: Status): IStatusContext;
28
28
  function fromDef(status: StatusType, definition: IStatusDescription, entity?: EntityWithStats): IStatusContext;
29
29
  function withLevel(status: IStatusContext, level: number): IStatusContext;
30
- function getInterval(status: IStatusContext): number;
30
+ function getInterval(status: IStatusContext): number | false;
31
31
  function getOptions(type: StatusType, entity?: EntityWithStats): IGameOptionsStatus;
32
32
  function getEffects(status: IStatusContext): StatusEffectList;
33
33
  }
@@ -78,7 +78,7 @@ export default class Status extends EventEmitter.Host<IStatusEvents> {
78
78
  getTranslation(which?: StatusTranslation, level?: number): TranslationImpl | undefined;
79
79
  refresh(): void;
80
80
  getEffects(): StatusEffectList;
81
- getInterval(): number;
81
+ getInterval(): number | false;
82
82
  /**
83
83
  * Whether the status effect should pass (be removed from the human).
84
84
  */
@@ -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
  */
@@ -78,7 +78,9 @@ export declare enum Milestone {
78
78
  Statistician = 66,
79
79
  Afflicted = 67,
80
80
  Exsanguinated = 68,
81
- InternalItemDiscovered = 69
81
+ InternalItemDiscovered = 69,
82
+ Cursed = 70,
83
+ Cursebreaker = 71
82
84
  }
83
85
  export type ExcludeInternalMilestones<MILESTONE extends Milestone> = PickValueKeys<typeof Milestone, MILESTONE> extends `Internal${string}` ? never : MILESTONE;
84
86
  export declare enum MilestoneVisibility {
@@ -71,14 +71,15 @@ export default class MilestoneDefinition {
71
71
  */
72
72
  inherit(def: MilestoneDefinition): this;
73
73
  visibility: MilestoneVisibility;
74
- visibleThreshold: number | Milestone;
74
+ visibleThreshold: number | Milestone | [Milestone, number];
75
75
  /**
76
76
  * @param visibility Whether the milestone is completely visible, has its name hidden, or has its required amount hidden. Defaults to `Visible`
77
- * @param until Sets the time when the milestone will become `Visible`. This can be either:
77
+ * @param until Sets the time when the milestone will become `Visible`. This can be any of:
78
78
  * - A completion threshold (in a fractional value between 0 and 1)
79
79
  * - A different milestone to complete first
80
+ * - A tuple of a different milestone and a value that must be discovered in that milestone
80
81
  */
81
- setVisibility(visibility: MilestoneVisibility, until?: number): this;
82
+ setVisibility(visibility: MilestoneVisibility, until?: number | [Milestone, number]): this;
82
83
  /**
83
84
  * Sets this milestone to be unlockable in all game modes, and not disabled by mods.
84
85
  */
@@ -189,6 +189,10 @@ export interface IGameOptionsPlayer {
189
189
  * Starting curse value, added to the calculated value.
190
190
  */
191
191
  initialCurse: number;
192
+ /**
193
+ * A multiplier for the cooldown of curse events. The multiplier used is the average of all players on the island.
194
+ */
195
+ curseCooldownMultiplier: number;
192
196
  /**
193
197
  * Whether the player should use their globally unlocked recipes in this game.
194
198
  */
@@ -20,5 +20,6 @@ export declare enum MilestoneModifierGroup {
20
20
  Turns = 8,
21
21
  Challenge = 9,
22
22
  Merchants = 10,
23
- Statuses = 11
23
+ Statuses = 11,
24
+ Curse = 12
24
25
  }
@@ -25,6 +25,8 @@ import Collector from "@wayward/game/game/options/modifiers/milestone/modifiers/
25
25
  import Contender from "@wayward/game/game/options/modifiers/milestone/modifiers/Contender";
26
26
  import Crafter from "@wayward/game/game/options/modifiers/milestone/modifiers/Crafter";
27
27
  import Curator from "@wayward/game/game/options/modifiers/milestone/modifiers/Curator";
28
+ import Cursebreaker from "@wayward/game/game/options/modifiers/milestone/modifiers/Cursebreaker";
29
+ import Cursed from "@wayward/game/game/options/modifiers/milestone/modifiers/Cursed";
28
30
  import Dedicated from "@wayward/game/game/options/modifiers/milestone/modifiers/Dedicated";
29
31
  import DestroyerOfMagi from "@wayward/game/game/options/modifiers/milestone/modifiers/DestroyerOfMagi";
30
32
  import Diverse from "@wayward/game/game/options/modifiers/milestone/modifiers/Diverse";
@@ -88,6 +90,8 @@ export declare const milestoneModifiers: {
88
90
  36: typeof Contender;
89
91
  3: typeof Crafter;
90
92
  56: typeof Curator;
93
+ 71: typeof Cursebreaker;
94
+ 70: typeof Cursed;
91
95
  52: typeof Dedicated;
92
96
  38: typeof DestroyerOfMagi;
93
97
  42: typeof Diverse;
@@ -0,0 +1,17 @@
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 { IGameOptionsPartial } from "@wayward/game/game/options/IGameOptions";
12
+ import { MilestoneModifierGroup } from "@wayward/game/game/options/modifiers/milestone/IMilestoneModifier";
13
+ import MilestoneModifier from "@wayward/game/game/options/modifiers/milestone/MilestoneModifier";
14
+ export default class Cursebreaker extends MilestoneModifier {
15
+ getGroup(): MilestoneModifierGroup;
16
+ getOptions(): IGameOptionsPartial;
17
+ }
@@ -0,0 +1,17 @@
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 { IGameOptionsPartial } from "@wayward/game/game/options/IGameOptions";
12
+ import { MilestoneModifierGroup } from "@wayward/game/game/options/modifiers/milestone/IMilestoneModifier";
13
+ import MilestoneModifier from "@wayward/game/game/options/modifiers/milestone/MilestoneModifier";
14
+ export default class Cursed extends MilestoneModifier {
15
+ getGroup(): MilestoneModifierGroup;
16
+ getOptions(): IGameOptionsPartial;
17
+ }
@@ -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;
@@ -93,10 +93,10 @@ declare enum Message {
93
93
  ActionInvokeChaosNoEffect = 81,
94
94
  ActionInvokeEvilCreaturesAttracted = 82,
95
95
  ActionInvokeEvilCreaturesNoneSummoned = 83,
96
- ActionInvokeGoodCreaturesPacified = 84,
97
- ActionInvokeGoodCreaturesPacifiedAttacked = 85,
98
- ActionInvokeGoodCreaturesPacifiedNone = 86,
99
- ActionInvokeFanaticismPreservedRune = 87,
96
+ ActionInvokeFanaticismPreservedRune = 84,
97
+ ActionInvokeGoodCreaturesPacified = 85,
98
+ ActionInvokeGoodCreaturesPacifiedAttacked = 86,
99
+ ActionInvokeGoodCreaturesPacifiedNone = 87,
100
100
  ActionJumpCannotJump = 88,
101
101
  ActionMeleeNothingToAttack = 89,
102
102
  ActionMoveItemCannotUseContainerTooFarAway = 90,