@wayward/types 2.13.5-beta.dev.20230805.1 → 2.14.0-beta

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 (1713) hide show
  1. package/.github/workflows/main.yml +70 -0
  2. package/definitions/cplusplus/index.d.ts +10 -2
  3. package/definitions/devserver/Router.d.ts +13 -0
  4. package/definitions/{game/ui/screen/screens/game/static/menubar/descriptions/QuestsButtonDescription.d.ts → devserver/index.d.ts} +2 -1
  5. package/definitions/devserver/middleware/CustomInternalMods.d.ts +13 -0
  6. package/definitions/devserver/middleware/E404.d.ts +13 -0
  7. package/definitions/devserver/middleware/SaveFolder.d.ts +13 -0
  8. package/definitions/devserver/middleware/Static.d.ts +13 -0
  9. package/definitions/devserver/middleware/Validate.d.ts +13 -0
  10. package/definitions/devserver/middleware/util/GameLogFilter.d.ts +14 -0
  11. package/definitions/devserver/middleware/util/Middleware.d.ts +22 -0
  12. package/definitions/devserver/middleware/util/SendFile.d.ts +13 -0
  13. package/definitions/devserver/util/Log.d.ts +17 -0
  14. package/definitions/eslint.config.d.mts +2 -0
  15. package/definitions/game/IGlobal.d.ts +28 -37
  16. package/definitions/game/Init.d.ts +5 -5
  17. package/definitions/game/Production.d.ts +3 -1
  18. package/definitions/game/Uninit.d.ts +3 -2
  19. package/definitions/game/audio/Audio.d.ts +6 -6
  20. package/definitions/game/audio/DefaultMusicHandler.d.ts +3 -3
  21. package/definitions/game/audio/IAudio.d.ts +54 -30
  22. package/definitions/game/audio/IMusic.d.ts +2 -2
  23. package/definitions/game/audio/Music.d.ts +2 -2
  24. package/definitions/game/audio/SoundEffects.d.ts +3 -3
  25. package/definitions/game/command/CommandManager.d.ts +10 -11
  26. package/definitions/game/command/Commands.d.ts +3 -3
  27. package/definitions/game/command/ICommand.d.ts +5 -4
  28. package/definitions/game/command/ICommandManager.d.ts +6 -4
  29. package/definitions/game/command/commands/Backup.d.ts +2 -2
  30. package/definitions/game/command/commands/Ban.d.ts +2 -2
  31. package/definitions/game/command/commands/Banned.d.ts +2 -2
  32. package/definitions/game/command/commands/Commands.d.ts +2 -2
  33. package/definitions/game/command/commands/Kick.d.ts +2 -2
  34. package/definitions/game/command/commands/Noclip.d.ts +2 -2
  35. package/definitions/game/command/commands/Pause.d.ts +2 -2
  36. package/definitions/game/command/commands/Ping.d.ts +2 -2
  37. package/definitions/game/command/commands/Players.d.ts +2 -2
  38. package/definitions/game/command/commands/Save.d.ts +2 -2
  39. package/definitions/game/command/commands/Sync.d.ts +2 -2
  40. package/definitions/game/command/commands/Unban.d.ts +2 -2
  41. package/definitions/game/event/EventBuses.d.ts +131 -61
  42. package/definitions/game/event/EventManager.d.ts +60 -35
  43. package/definitions/game/game/Game.d.ts +104 -80
  44. package/definitions/game/game/IGame.d.ts +72 -54
  45. package/definitions/game/game/ILoot.d.ts +2 -2
  46. package/definitions/game/game/IObject.d.ts +36 -8
  47. package/definitions/game/game/ItemDoodadGroups.d.ts +3 -3
  48. package/definitions/game/game/ObjectManager.d.ts +16 -7
  49. package/definitions/game/game/TickHelper.d.ts +57 -0
  50. package/definitions/game/game/VotingManager.d.ts +5 -5
  51. package/definitions/game/game/biome/Biomes.d.ts +2 -2
  52. package/definitions/game/game/biome/IBiome.d.ts +24 -21
  53. package/definitions/game/game/biome/arid/Arid.d.ts +5 -21
  54. package/definitions/game/game/biome/arid/mapGen/2.10.0.d.ts +2 -2
  55. package/definitions/game/game/biome/arid/mapGen/2.11.0.d.ts +2 -2
  56. package/definitions/game/game/biome/arid/mapGen/2.12.0.d.ts +2 -2
  57. package/definitions/game/game/biome/arid/mapGen/2.13.0.d.ts +2 -2
  58. package/definitions/game/game/biome/arid/mapGen/2.13.2.d.ts +2 -2
  59. package/definitions/game/game/biome/arid/mapGen/2.14.0.d.ts +12 -0
  60. package/definitions/game/game/biome/arid/mapGen/2.9.0.d.ts +2 -2
  61. package/definitions/game/game/biome/coastal/Coastal.d.ts +5 -21
  62. package/definitions/game/game/biome/coastal/mapGen/2.10.0.d.ts +2 -2
  63. package/definitions/game/game/biome/coastal/mapGen/2.11.0.d.ts +2 -2
  64. package/definitions/game/game/biome/coastal/mapGen/2.12.0.d.ts +2 -2
  65. package/definitions/game/game/biome/coastal/mapGen/2.12.1.d.ts +2 -2
  66. package/definitions/game/game/biome/coastal/mapGen/2.13.0.d.ts +2 -2
  67. package/definitions/game/game/biome/coastal/mapGen/2.13.2.d.ts +2 -2
  68. package/definitions/game/game/biome/coastal/mapGen/2.14.0.d.ts +12 -0
  69. package/definitions/game/game/biome/coastal/mapGen/2.9.0.d.ts +2 -2
  70. package/definitions/game/game/biome/dungeon/Dungeon.d.ts +30 -0
  71. package/definitions/game/game/biome/dungeon/DungeonRoom.d.ts +32 -0
  72. package/definitions/game/game/biome/dungeon/IDungeon.d.ts +25 -0
  73. package/definitions/game/game/biome/dungeon/IDungeonHallway.d.ts +29 -0
  74. package/definitions/game/game/biome/dungeon/IDungeonOptions.d.ts +53 -0
  75. package/definitions/game/game/biome/dungeon/mapGen/2.14.0.d.ts +23 -0
  76. package/definitions/game/game/biome/iceCap/IceCap.d.ts +5 -21
  77. package/definitions/game/game/biome/iceCap/mapGen/2.10.0.d.ts +2 -2
  78. package/definitions/game/game/biome/iceCap/mapGen/2.11.0.d.ts +2 -2
  79. package/definitions/game/game/biome/iceCap/mapGen/2.12.0.d.ts +2 -2
  80. package/definitions/game/game/biome/iceCap/mapGen/2.12.1.d.ts +2 -2
  81. package/definitions/game/game/biome/iceCap/mapGen/2.13.0.d.ts +2 -2
  82. package/definitions/game/game/biome/iceCap/mapGen/2.13.2.d.ts +2 -2
  83. package/definitions/game/game/biome/iceCap/mapGen/2.14.0.d.ts +12 -0
  84. package/definitions/game/game/biome/iceCap/mapGen/2.9.0.d.ts +2 -2
  85. package/definitions/game/game/biome/template/Template.d.ts +14 -9
  86. package/definitions/game/game/biome/template/mapGen/2.12.0.d.ts +4 -3
  87. package/definitions/game/game/biome/template/mapGen/2.13.0.d.ts +4 -3
  88. package/definitions/game/game/biome/template/mapGen/2.14.0.d.ts +13 -0
  89. package/definitions/game/game/biome/volcanic/Volcanic.d.ts +5 -21
  90. package/definitions/game/game/biome/volcanic/mapGen/2.11.0.d.ts +2 -2
  91. package/definitions/game/game/biome/volcanic/mapGen/2.12.0.d.ts +2 -2
  92. package/definitions/game/game/biome/volcanic/mapGen/2.13.0.d.ts +2 -2
  93. package/definitions/game/game/biome/volcanic/mapGen/2.13.2.d.ts +2 -2
  94. package/definitions/game/game/biome/volcanic/mapGen/2.14.0.d.ts +12 -0
  95. package/definitions/game/game/biome/wetlands/Wetlands.d.ts +5 -21
  96. package/definitions/game/game/biome/wetlands/mapGen/2.12.0.d.ts +2 -2
  97. package/definitions/game/game/biome/wetlands/mapGen/2.13.0.d.ts +2 -2
  98. package/definitions/game/game/biome/wetlands/mapGen/2.13.2.d.ts +2 -2
  99. package/definitions/game/game/biome/wetlands/mapGen/2.14.0.d.ts +12 -0
  100. package/definitions/game/game/deity/Chaos.d.ts +23 -0
  101. package/definitions/game/game/deity/Curse.d.ts +40 -0
  102. package/definitions/game/game/deity/Deity.d.ts +31 -0
  103. package/definitions/game/game/deity/IDeities.d.ts +49 -51
  104. package/definitions/game/game/doodad/Doodad.d.ts +111 -47
  105. package/definitions/game/game/doodad/DoodadInfo.d.ts +7 -7
  106. package/definitions/game/game/doodad/DoodadManager.d.ts +24 -35
  107. package/definitions/game/game/doodad/Doodads.d.ts +3 -3
  108. package/definitions/game/game/doodad/IDoodad.d.ts +121 -64
  109. package/definitions/game/game/entity/CombatStrengthManager.d.ts +11 -10
  110. package/definitions/game/game/entity/Entity.d.ts +84 -48
  111. package/definitions/game/game/entity/EntityManager.d.ts +22 -9
  112. package/definitions/game/game/entity/EntityMovable.d.ts +84 -37
  113. package/definitions/game/game/entity/EntityWithStats.d.ts +29 -20
  114. package/definitions/game/game/entity/Human.d.ts +218 -121
  115. package/definitions/game/game/entity/IEntity.d.ts +98 -97
  116. package/definitions/game/game/entity/IEntityManager.d.ts +4 -4
  117. package/definitions/game/game/entity/IHuman.d.ts +107 -69
  118. package/definitions/game/game/entity/IStats.d.ts +27 -26
  119. package/definitions/game/game/entity/StatDescriptions.d.ts +6 -4
  120. package/definitions/game/game/entity/StatFactory.d.ts +5 -5
  121. package/definitions/game/game/entity/Stats.d.ts +6 -6
  122. package/definitions/game/game/entity/action/Action.d.ts +40 -24
  123. package/definitions/game/game/entity/action/{ActionArguments.d.ts → ActionArgumentHelper.d.ts} +7 -5
  124. package/definitions/game/game/entity/action/ActionExecutor.d.ts +43 -28
  125. package/definitions/game/game/entity/action/Actions.d.ts +3 -3
  126. package/definitions/game/game/entity/action/ActionsRegistration.d.ts +151 -132
  127. package/definitions/game/game/entity/action/IAction.d.ts +233 -103
  128. package/definitions/game/game/entity/action/IActionContext.d.ts +43 -0
  129. package/definitions/game/game/entity/action/actions/Absorb.d.ts +7 -7
  130. package/definitions/game/game/entity/action/actions/AddFuel.d.ts +5 -5
  131. package/definitions/game/game/entity/action/actions/Alter.d.ts +7 -7
  132. package/definitions/game/game/entity/action/actions/Apply.d.ts +2 -2
  133. package/definitions/game/game/entity/action/actions/AscendDescend.d.ts +13 -0
  134. package/definitions/game/game/entity/action/actions/AttachContainer.d.ts +7 -6
  135. package/definitions/game/game/entity/action/actions/Attack.d.ts +13 -13
  136. package/definitions/game/game/entity/action/actions/Build.d.ts +8 -7
  137. package/definitions/game/game/entity/action/actions/Butcher.d.ts +7 -7
  138. package/definitions/game/game/entity/action/actions/CageCreature.d.ts +7 -7
  139. package/definitions/game/game/entity/action/actions/Cast.d.ts +9 -8
  140. package/definitions/game/game/entity/action/actions/Chop.d.ts +2 -2
  141. package/definitions/game/game/entity/action/actions/ClearMessages.d.ts +13 -0
  142. package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +2 -2
  143. package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +2 -2
  144. package/definitions/game/game/entity/action/actions/Consecrate.d.ts +43 -0
  145. package/definitions/game/game/entity/action/actions/ConsumeItem.d.ts +6 -6
  146. package/definitions/game/game/entity/action/actions/CopyMap.d.ts +9 -8
  147. package/definitions/game/game/entity/action/actions/Craft.d.ts +8 -7
  148. package/definitions/game/game/entity/action/actions/CraftNew.d.ts +7 -7
  149. package/definitions/game/game/entity/action/actions/CreateControllableNPC.d.ts +4 -4
  150. package/definitions/game/game/entity/action/actions/Cure.d.ts +2 -2
  151. package/definitions/game/game/entity/action/actions/DamageMap.d.ts +4 -4
  152. package/definitions/game/game/entity/action/actions/DetachContainer.d.ts +7 -7
  153. package/definitions/game/game/entity/action/actions/Dig.d.ts +9 -9
  154. package/definitions/game/game/entity/action/actions/Disassemble.d.ts +8 -8
  155. package/definitions/game/game/entity/action/actions/Dismantle.d.ts +7 -7
  156. package/definitions/game/game/entity/action/actions/Dismount.d.ts +2 -2
  157. package/definitions/game/game/entity/action/actions/DisplayItem.d.ts +20 -0
  158. package/definitions/game/game/entity/action/actions/DrawMap.d.ts +4 -4
  159. package/definitions/game/game/entity/action/actions/DrinkInFront.d.ts +8 -8
  160. package/definitions/game/game/entity/action/actions/DrinkItem.d.ts +2 -2
  161. package/definitions/game/game/entity/action/actions/Drop.d.ts +40 -11
  162. package/definitions/game/game/entity/action/actions/DumpItems.d.ts +21 -0
  163. package/definitions/game/game/entity/action/actions/Eat.d.ts +2 -2
  164. package/definitions/game/game/entity/action/actions/Enchant.d.ts +6 -6
  165. package/definitions/game/game/entity/action/actions/Enhance.d.ts +6 -6
  166. package/definitions/game/game/entity/action/actions/Equip.d.ts +6 -6
  167. package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +12 -0
  168. package/definitions/game/game/entity/action/actions/Extinguish.d.ts +4 -4
  169. package/definitions/game/game/entity/action/actions/Exude.d.ts +7 -7
  170. package/definitions/game/game/entity/action/actions/Fire.d.ts +4 -4
  171. package/definitions/game/game/entity/action/actions/Gather.d.ts +21 -20
  172. package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +12 -12
  173. package/definitions/game/game/entity/action/actions/Grasp.d.ts +6 -6
  174. package/definitions/game/game/entity/action/actions/Harvest.d.ts +10 -9
  175. package/definitions/game/game/entity/action/actions/Heal.d.ts +2 -2
  176. package/definitions/game/game/entity/action/actions/HealOther.d.ts +9 -9
  177. package/definitions/game/game/entity/action/actions/Hitch.d.ts +2 -2
  178. package/definitions/game/game/entity/action/actions/Idle.d.ts +3 -3
  179. package/definitions/game/game/entity/action/actions/Ignite.d.ts +6 -6
  180. package/definitions/game/game/entity/action/actions/Invoke.d.ts +20 -0
  181. package/definitions/game/game/entity/action/actions/Jump.d.ts +6 -6
  182. package/definitions/game/game/entity/action/actions/Kneel.d.ts +14 -0
  183. package/definitions/game/game/entity/action/actions/Learn.d.ts +9 -4
  184. package/definitions/game/game/entity/action/actions/Lockpick.d.ts +7 -7
  185. package/definitions/game/game/entity/action/actions/Melee.d.ts +2 -2
  186. package/definitions/game/game/entity/action/actions/Mine.d.ts +2 -2
  187. package/definitions/game/game/entity/action/actions/Move.d.ts +8 -8
  188. package/definitions/game/game/entity/action/actions/MoveItem.d.ts +13 -36
  189. package/definitions/game/game/entity/action/actions/MoveTo.d.ts +10 -9
  190. package/definitions/game/game/entity/action/actions/NPCInteract.d.ts +5 -5
  191. package/definitions/game/game/entity/action/actions/Navigate.d.ts +4 -4
  192. package/definitions/game/game/entity/action/actions/Noclip.d.ts +4 -4
  193. package/definitions/game/game/entity/action/actions/Offer.d.ts +6 -6
  194. package/definitions/game/game/entity/action/actions/OpenBottle.d.ts +4 -4
  195. package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +2 -2
  196. package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +2 -2
  197. package/definitions/game/game/entity/action/actions/PackGround.d.ts +2 -2
  198. package/definitions/game/game/entity/action/actions/Pet.d.ts +5 -5
  199. package/definitions/game/game/entity/action/actions/PickUp.d.ts +12 -11
  200. package/definitions/game/game/entity/action/actions/PickUpAllItems.d.ts +6 -5
  201. package/definitions/game/game/entity/action/actions/PickUpExcrement.d.ts +9 -8
  202. package/definitions/game/game/entity/action/actions/PickUpItem.d.ts +9 -3
  203. package/definitions/game/game/entity/action/actions/PlaceDown.d.ts +2 -2
  204. package/definitions/game/game/entity/action/actions/Plant.d.ts +10 -8
  205. package/definitions/game/game/entity/action/actions/Pour.d.ts +11 -11
  206. package/definitions/game/game/entity/action/actions/PourOnYourself.d.ts +6 -6
  207. package/definitions/game/game/entity/action/actions/Preserve.d.ts +7 -7
  208. package/definitions/game/game/entity/action/actions/PromptResponse.d.ts +7 -7
  209. package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +2 -2
  210. package/definitions/game/game/entity/action/actions/ProtectItem.d.ts +2 -2
  211. package/definitions/game/game/entity/action/actions/Read.d.ts +8 -8
  212. package/definitions/game/game/entity/action/actions/ReadMap.d.ts +4 -4
  213. package/definitions/game/game/entity/action/actions/Refine.d.ts +6 -6
  214. package/definitions/game/game/entity/action/actions/Reinforce.d.ts +6 -6
  215. package/definitions/game/game/entity/action/actions/Release.d.ts +5 -5
  216. package/definitions/game/game/entity/action/actions/RemoveControllableNPC.d.ts +4 -4
  217. package/definitions/game/game/entity/action/actions/Rename.d.ts +5 -5
  218. package/definitions/game/game/entity/action/actions/RenameIsland.d.ts +4 -4
  219. package/definitions/game/game/entity/action/actions/Repair.d.ts +9 -9
  220. package/definitions/game/game/entity/action/actions/Reshape.d.ts +19 -0
  221. package/definitions/game/game/entity/action/actions/Respawn.d.ts +3 -3
  222. package/definitions/game/game/entity/action/actions/Rest.d.ts +8 -8
  223. package/definitions/game/game/entity/action/actions/RestCancel.d.ts +3 -3
  224. package/definitions/game/game/entity/action/actions/Ride.d.ts +2 -2
  225. package/definitions/game/game/entity/action/actions/Rotate.d.ts +19 -0
  226. package/definitions/game/game/entity/action/actions/SailToCivilization.d.ts +6 -6
  227. package/definitions/game/game/entity/action/actions/SailToIsland.d.ts +5 -5
  228. package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +10 -10
  229. package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +12 -0
  230. package/definitions/game/game/entity/action/actions/SetDown.d.ts +9 -8
  231. package/definitions/game/game/entity/action/actions/SetTitle.d.ts +10 -4
  232. package/definitions/game/game/entity/action/actions/ShipToIsland.d.ts +10 -10
  233. package/definitions/game/game/entity/action/actions/Shoot.d.ts +6 -6
  234. package/definitions/game/game/entity/action/actions/Sleep.d.ts +2 -2
  235. package/definitions/game/game/entity/action/actions/SmotherFire.d.ts +11 -10
  236. package/definitions/game/game/entity/action/actions/Squeeze.d.ts +4 -4
  237. package/definitions/game/game/entity/action/actions/Stack.d.ts +15 -0
  238. package/definitions/game/game/entity/action/actions/StartFire.d.ts +9 -9
  239. package/definitions/game/game/entity/action/actions/StokeFire.d.ts +9 -8
  240. package/definitions/game/game/entity/action/actions/Summon.d.ts +7 -6
  241. package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +19 -0
  242. package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +12 -0
  243. package/definitions/game/game/entity/action/actions/Tame.d.ts +5 -5
  244. package/definitions/game/game/entity/action/actions/Teleport.d.ts +4 -4
  245. package/definitions/game/game/entity/action/actions/TellTime.d.ts +4 -4
  246. package/definitions/game/game/entity/action/actions/TestDepth.d.ts +7 -7
  247. package/definitions/game/game/entity/action/actions/Throw.d.ts +2 -2
  248. package/definitions/game/game/entity/action/actions/Till.d.ts +2 -2
  249. package/definitions/game/game/entity/action/actions/ToggleContainer.d.ts +9 -12
  250. package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +8 -8
  251. package/definitions/game/game/entity/action/actions/ToggleHitch.d.ts +6 -6
  252. package/definitions/game/game/entity/action/actions/ToggleProtectItem.d.ts +4 -4
  253. package/definitions/game/game/entity/action/actions/ToggleTilled.d.ts +7 -7
  254. package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +9 -9
  255. package/definitions/game/game/entity/action/actions/Trade.d.ts +5 -4
  256. package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +6 -6
  257. package/definitions/game/game/entity/action/actions/Uncage.d.ts +8 -8
  258. package/definitions/game/game/entity/action/actions/Unequip.d.ts +4 -4
  259. package/definitions/game/game/entity/action/actions/Unhitch.d.ts +2 -2
  260. package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +2 -2
  261. package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +7 -7
  262. package/definitions/game/game/entity/action/actions/UpdateGameOption.d.ts +4 -4
  263. package/definitions/game/game/entity/action/actions/UpdateItemOrder.d.ts +12 -4
  264. package/definitions/game/game/entity/action/actions/UpdateOption.d.ts +4 -4
  265. package/definitions/game/game/entity/action/actions/UpdateWalkTo.d.ts +24 -0
  266. package/definitions/game/game/entity/action/actions/Upgrade.d.ts +8 -8
  267. package/definitions/game/game/entity/action/actions/ViewItems.d.ts +16 -0
  268. package/definitions/game/game/entity/action/actions/helper/ConfirmGatherHarvest.d.ts +4 -4
  269. package/definitions/game/game/entity/action/actions/helper/ConfirmHealUninjured.d.ts +3 -3
  270. package/definitions/game/game/entity/action/actions/helper/ConfirmItemOnFire.d.ts +3 -3
  271. package/definitions/game/game/entity/action/actions/helper/ConfirmOnFire.d.ts +6 -6
  272. package/definitions/game/game/entity/action/actions/helper/ConsumeItemType.d.ts +6 -6
  273. package/definitions/game/game/entity/action/actions/helper/Inventories.d.ts +6 -6
  274. package/definitions/game/game/entity/action/actions/helper/NotUsableMessage.d.ts +63 -0
  275. package/definitions/game/game/entity/action/actions/helper/TreasureGathering.d.ts +7 -7
  276. package/definitions/game/game/entity/action/actions/map/GetObfuscation.d.ts +2 -2
  277. package/definitions/game/game/entity/action/actions/map/MapQuality.d.ts +2 -2
  278. package/definitions/game/game/entity/action/actions/moveItem/MoveItemFilterArgument.d.ts +30 -0
  279. package/definitions/game/game/entity/action/actions/moveItem/MoveItemMerchant.d.ts +21 -0
  280. package/definitions/game/game/entity/action/actions/moveItem/MoveItemOptionsArgument.d.ts +21 -0
  281. package/definitions/game/game/entity/action/actions/moveItem/MoveItemsSourceArgument.d.ts +36 -0
  282. package/definitions/game/game/entity/action/actions/trade/TradeArgument.d.ts +22 -0
  283. package/definitions/game/game/entity/action/argument/ActionArgumentCustom.d.ts +23 -0
  284. package/definitions/game/game/entity/action/argument/ActionArgumentEnum.d.ts +21 -0
  285. package/definitions/game/game/entity/action/argument/ActionArgumentObjectKey.d.ts +23 -0
  286. package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +148 -53
  287. package/definitions/game/game/entity/action/usable/UsableAction.d.ts +53 -23
  288. package/definitions/game/game/entity/action/usable/UsableActionItemFinder.d.ts +4 -4
  289. package/definitions/game/game/entity/action/usable/UsableActionRegistrar.d.ts +15 -13
  290. package/definitions/game/game/entity/action/usable/UsableActionTranslator.d.ts +24 -20
  291. package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +33 -4
  292. package/definitions/game/game/entity/action/usable/actions/UsableActionDrink.d.ts +2 -2
  293. package/definitions/game/game/entity/action/usable/actions/UsableActionRename.d.ts +6 -5
  294. package/definitions/game/game/entity/action/usable/actions/{UsableActionsCreatures.d.ts → UsableActionsCommandAll.d.ts} +5 -4
  295. package/definitions/game/game/entity/action/usable/actions/UsableActionsCommands.d.ts +2 -2
  296. package/definitions/game/game/entity/action/usable/actions/UsableActionsDynamic.d.ts +28 -9
  297. package/definitions/game/game/entity/action/usable/actions/UsableActionsHidden.d.ts +2 -2
  298. package/definitions/game/game/entity/action/usable/actions/UsableActionsMain.d.ts +36 -34
  299. package/definitions/game/game/entity/action/usable/actions/UsableActionsMisc.d.ts +2 -2
  300. package/definitions/game/game/entity/action/usable/actions/UsableActionsUseCreature.d.ts +22 -0
  301. package/definitions/game/game/entity/action/usable/actions/UsableActionsUseNPC.d.ts +5 -5
  302. package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +4 -4
  303. package/definitions/game/game/entity/action/usable/actions/doodad/IUsableActionsDoodad.d.ts +13 -9
  304. package/definitions/game/game/entity/action/usable/actions/doodad/UsableActionsDoodads.d.ts +2 -2
  305. package/definitions/game/game/entity/action/usable/actions/doodad/UsableActionsDoor.d.ts +2 -2
  306. package/definitions/game/game/entity/action/usable/actions/doodad/UsableActionsUseDoodad.d.ts +4 -4
  307. package/definitions/game/game/entity/action/usable/actions/item/UsableActionCraft.d.ts +2 -2
  308. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsEquip.d.ts +2 -2
  309. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsItemDrop.d.ts +2 -2
  310. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsItemMisc.d.ts +2 -2
  311. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsItemMove.d.ts +4 -4
  312. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsItemPickUp.d.ts +2 -2
  313. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsProtect.d.ts +2 -2
  314. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsUseItem.d.ts +11 -10
  315. package/definitions/game/game/entity/action/usable/actions/item/UsableActionsXWithY.d.ts +2 -2
  316. package/definitions/game/game/entity/action/usable/actions/itemdoodad/IUsableActionsItemDoodad.d.ts +7 -7
  317. package/definitions/game/game/entity/action/usable/actions/itemdoodad/UsableActionsContainer.d.ts +2 -2
  318. package/definitions/game/game/entity/action/usable/actions/itemdoodad/UsableActionsExtinguish.d.ts +2 -2
  319. package/definitions/game/game/entity/action/usable/actions/itemdoodad/UsableActionsRest.d.ts +2 -2
  320. package/definitions/game/game/entity/action/usable/actions/itemdoodad/UsableActionsVehicle.d.ts +2 -2
  321. package/definitions/game/game/entity/action/usable/actions/itemhands/UsableActionsTill.d.ts +2 -2
  322. package/definitions/game/game/entity/action/usable/actions/itemhands/UsableActionsWithHands.d.ts +2 -2
  323. package/definitions/game/game/entity/ai/AI.d.ts +128 -0
  324. package/definitions/game/game/entity/ai/AiManager.d.ts +96 -0
  325. package/definitions/game/game/entity/creature/Creature.d.ts +102 -46
  326. package/definitions/game/game/entity/creature/CreatureManager.d.ts +31 -36
  327. package/definitions/game/game/entity/creature/Creatures.d.ts +5 -3
  328. package/definitions/game/game/entity/creature/ICreature.d.ts +120 -71
  329. package/definitions/game/game/entity/creature/SpecialAbilities.d.ts +3 -3
  330. package/definitions/game/game/entity/creature/TileGroups.d.ts +5 -4
  331. package/definitions/game/game/entity/creature/corpse/Corpse.d.ts +40 -28
  332. package/definitions/game/game/entity/creature/corpse/CorpseManager.d.ts +15 -18
  333. package/definitions/game/game/entity/creature/corpse/Corpses.d.ts +3 -3
  334. package/definitions/game/game/entity/creature/corpse/ICorpse.d.ts +8 -8
  335. package/definitions/game/game/entity/creature/zone/CreatureZone.d.ts +105 -0
  336. package/definitions/game/game/entity/creature/zone/CreatureZoneDescriptions.d.ts +14 -0
  337. package/definitions/game/game/entity/creature/zone/CreatureZoneManager.d.ts +128 -0
  338. package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +121 -0
  339. package/definitions/game/game/entity/creature/zone/zones/arid/AridCreatures.d.ts +12 -0
  340. package/definitions/game/game/entity/creature/zone/zones/arid/AridDoodadReplacements.d.ts +12 -0
  341. package/definitions/game/game/entity/creature/zone/zones/arid/AridGuardians.d.ts +12 -0
  342. package/definitions/game/game/entity/creature/zone/zones/arid/AridTileReplacements.d.ts +12 -0
  343. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalCreatures.d.ts +12 -0
  344. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalDoodadReplacements.d.ts +12 -0
  345. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalGuardians.d.ts +12 -0
  346. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalTileReplacements.d.ts +12 -0
  347. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapCreatures.d.ts +12 -0
  348. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapDoodadReplacements.d.ts +12 -0
  349. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapGuardians.d.ts +12 -0
  350. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapTileReplacements.d.ts +12 -0
  351. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicCreatures.d.ts +12 -0
  352. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicDoodadReplacements.d.ts +12 -0
  353. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicGuardians.d.ts +12 -0
  354. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicTileReplacements.d.ts +12 -0
  355. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsCreatures.d.ts +12 -0
  356. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsDoodadReplacements.d.ts +12 -0
  357. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsGuardians.d.ts +12 -0
  358. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsTileReplacements.d.ts +12 -0
  359. package/definitions/game/game/entity/flowfield/FlowField.d.ts +4 -4
  360. package/definitions/game/game/entity/flowfield/FlowFieldManager.d.ts +15 -13
  361. package/definitions/game/game/entity/flowfield/IFlowFieldManager.d.ts +7 -4
  362. package/definitions/game/game/entity/npc/INPC.d.ts +21 -4
  363. package/definitions/game/game/entity/npc/INPCs.d.ts +1 -1
  364. package/definitions/game/game/entity/npc/NPC.d.ts +57 -44
  365. package/definitions/game/game/entity/npc/NPCManager.d.ts +36 -12
  366. package/definitions/game/game/entity/npc/NPCRegistration.d.ts +1 -1
  367. package/definitions/game/game/entity/npc/NPCS.d.ts +5 -5
  368. package/definitions/game/game/entity/npc/npcs/Controllable.d.ts +11 -10
  369. package/definitions/game/game/entity/npc/npcs/DeathKnight.d.ts +7 -7
  370. package/definitions/game/game/entity/npc/npcs/Merchant.d.ts +48 -22
  371. package/definitions/game/game/entity/npc/npcs/Shipper.d.ts +19 -22
  372. package/definitions/game/game/entity/player/Customizations.d.ts +4 -4
  373. package/definitions/game/game/entity/player/IMessageManager.d.ts +17 -16
  374. package/definitions/game/game/entity/player/IPlayer.d.ts +64 -21
  375. package/definitions/game/game/entity/player/MessageManager.d.ts +18 -14
  376. package/definitions/game/game/entity/player/Player.d.ts +52 -40
  377. package/definitions/game/game/entity/player/PlayerDefense.d.ts +4 -3
  378. package/definitions/game/game/entity/player/PlayerManager.d.ts +6 -6
  379. package/definitions/game/game/entity/player/note/Corpse.d.ts +3 -3
  380. package/definitions/game/game/entity/player/note/NoteManager.d.ts +13 -9
  381. package/definitions/game/game/entity/player/quest/QuestManager.d.ts +19 -16
  382. package/definitions/game/game/entity/player/quest/Quests.d.ts +3 -3
  383. package/definitions/game/game/entity/player/quest/Requirements.d.ts +7 -7
  384. package/definitions/game/game/entity/player/quest/quest/Challenge.d.ts +7 -7
  385. package/definitions/game/game/entity/player/quest/quest/IQuest.d.ts +2 -2
  386. package/definitions/game/game/entity/player/quest/quest/Quest.d.ts +24 -15
  387. package/definitions/game/game/entity/player/quest/requirement/BuildRequirement.d.ts +4 -4
  388. package/definitions/game/game/entity/player/quest/requirement/CollectItemRequirement.d.ts +3 -3
  389. package/definitions/game/game/entity/player/quest/requirement/CraftRequirement.d.ts +3 -3
  390. package/definitions/game/game/entity/player/quest/requirement/DiscoverTreasureRequirement.d.ts +2 -2
  391. package/definitions/game/game/entity/player/quest/requirement/DismantleRequirement.d.ts +3 -3
  392. package/definitions/game/game/entity/player/quest/requirement/EquipRequirement.d.ts +4 -4
  393. package/definitions/game/game/entity/player/quest/requirement/IRequirement.d.ts +2 -2
  394. package/definitions/game/game/entity/player/quest/requirement/KillCreatureRequirement.d.ts +3 -3
  395. package/definitions/game/game/entity/player/quest/requirement/KillCreaturesRequirement.d.ts +2 -2
  396. package/definitions/game/game/entity/player/quest/requirement/LearnAnySkillRequirement.d.ts +2 -2
  397. package/definitions/game/game/entity/player/quest/requirement/LearnSkillRequirement.d.ts +3 -3
  398. package/definitions/game/game/entity/player/quest/requirement/LearnSkillsRequirement.d.ts +2 -2
  399. package/definitions/game/game/entity/player/quest/requirement/Requirement.d.ts +14 -11
  400. package/definitions/game/game/entity/player/quest/requirement/TameCreatureRequirement.d.ts +3 -3
  401. package/definitions/game/game/entity/player/quest/requirement/TameCreaturesRequirement.d.ts +2 -2
  402. package/definitions/game/game/entity/player/quest/requirement/helpers/IsCreatureKilledByHost.d.ts +5 -5
  403. package/definitions/game/game/entity/player/quest/requirement/helpers/IsItemMatch.d.ts +3 -3
  404. package/definitions/game/game/entity/skill/ISkills.d.ts +8 -6
  405. package/definitions/game/game/entity/skill/SkillManager.d.ts +13 -11
  406. package/definitions/game/game/entity/status/IStatus.d.ts +134 -0
  407. package/definitions/game/game/entity/status/IStatusContext.d.ts +33 -0
  408. package/definitions/game/game/entity/status/Status.d.ts +119 -0
  409. package/definitions/game/game/entity/status/StatusClassMap.d.ts +33 -0
  410. package/definitions/game/game/entity/{action/actions/Rub.d.ts → status/StatusDescriptions.d.ts} +4 -6
  411. package/definitions/game/game/entity/status/StatusEffectList.d.ts +35 -0
  412. package/definitions/game/game/entity/status/handler/BadTemperatureEffect.d.ts +11 -12
  413. package/definitions/game/game/entity/status/handler/Burned.d.ts +5 -7
  414. package/definitions/game/game/entity/status/handler/Dehydrated.d.ts +9 -6
  415. package/definitions/game/game/entity/status/handler/Encumbered.d.ts +9 -10
  416. package/definitions/game/game/entity/status/handler/Exhausted.d.ts +9 -8
  417. package/definitions/game/game/entity/status/handler/Freezing.d.ts +9 -5
  418. package/definitions/game/game/entity/status/handler/Frostbitten.d.ts +5 -7
  419. package/definitions/game/game/entity/status/handler/IBadTemperature.d.ts +1 -1
  420. package/definitions/game/game/entity/status/handler/IBleeding.d.ts +1 -1
  421. package/definitions/game/game/entity/status/handler/IDehydrated.d.ts +15 -0
  422. package/definitions/game/game/entity/status/handler/IExhausted.d.ts +1 -1
  423. package/definitions/game/game/entity/status/handler/IStarving.d.ts +15 -0
  424. package/definitions/game/game/entity/status/handler/Overheating.d.ts +9 -5
  425. package/definitions/game/game/entity/status/handler/Poisoned.d.ts +8 -7
  426. package/definitions/game/game/entity/status/handler/Starving.d.ts +9 -6
  427. package/definitions/game/game/entity/status/statuses/Bleeding.d.ts +13 -0
  428. package/definitions/game/game/entity/status/statuses/Frenzied.d.ts +13 -0
  429. package/definitions/game/game/entity/status/statuses/Pacified.d.ts +13 -0
  430. package/definitions/game/game/inspection/IInfoProvider.d.ts +23 -20
  431. package/definitions/game/game/inspection/IInspection.d.ts +9 -3
  432. package/definitions/game/game/inspection/InfoProvider.d.ts +38 -48
  433. package/definitions/game/game/inspection/InfoProviderContext.d.ts +16 -9
  434. package/definitions/game/game/inspection/Inspection.d.ts +40 -13
  435. package/definitions/game/game/inspection/InspectionTypeMap.d.ts +36 -49
  436. package/definitions/game/game/inspection/InspectionsHandler.d.ts +13 -10
  437. package/definitions/game/game/inspection/ListInspection.d.ts +25 -0
  438. package/definitions/game/game/inspection/StoreableRef.d.ts +23 -0
  439. package/definitions/game/game/inspection/handlers/TilePositionInspection.d.ts +14 -13
  440. package/definitions/game/game/inspection/infoProviders/CivilizationScore.d.ts +8 -8
  441. package/definitions/game/game/inspection/infoProviders/CollapsableInfoProvider.d.ts +20 -11
  442. package/definitions/game/game/inspection/infoProviders/ContainedItems.d.ts +11 -10
  443. package/definitions/game/game/inspection/infoProviders/DoodadSkill.d.ts +8 -8
  444. package/definitions/game/game/inspection/infoProviders/Fire.d.ts +7 -6
  445. package/definitions/game/game/inspection/infoProviders/ILevel.d.ts +1 -1
  446. package/definitions/game/game/inspection/infoProviders/LabelledValue.d.ts +12 -9
  447. package/definitions/game/game/inspection/infoProviders/LevelValue.d.ts +10 -9
  448. package/definitions/game/game/inspection/infoProviders/MagicalDamageReduction.d.ts +4 -3
  449. package/definitions/game/game/inspection/infoProviders/MagicalDamageRegeneration.d.ts +4 -3
  450. package/definitions/game/game/inspection/infoProviders/MagicalProperties.d.ts +8 -7
  451. package/definitions/game/game/inspection/infoProviders/MagicalPropertyValue.d.ts +16 -13
  452. package/definitions/game/game/inspection/infoProviders/ObscuredValue.d.ts +8 -8
  453. package/definitions/game/game/inspection/infoProviders/Stats.d.ts +6 -5
  454. package/definitions/game/game/inspection/infoProviders/UnlockableRowInfoProvider.d.ts +7 -6
  455. package/definitions/game/game/inspection/infoProviders/UseInfo.d.ts +12 -12
  456. package/definitions/game/game/inspection/infoProviders/Uses.d.ts +16 -11
  457. package/definitions/game/game/inspection/infoProviders/creature/Aberrant.d.ts +4 -4
  458. package/definitions/game/game/inspection/infoProviders/creature/CreatureTamedInfo.d.ts +9 -5
  459. package/definitions/game/game/inspection/infoProviders/creature/ResistancesAndVulnerabilities.d.ts +11 -10
  460. package/definitions/game/game/inspection/infoProviders/doodad/DoodadCapacity.d.ts +5 -5
  461. package/definitions/game/game/inspection/infoProviders/doodad/DoodadCrafting.d.ts +20 -0
  462. package/definitions/game/game/inspection/infoProviders/doodad/DoodadDetails.d.ts +5 -4
  463. package/definitions/game/game/inspection/infoProviders/doodad/DoodadDurability.d.ts +4 -4
  464. package/definitions/game/game/inspection/infoProviders/doodad/DoodadUses.d.ts +9 -7
  465. package/definitions/game/game/inspection/infoProviders/doodad/Fertility.d.ts +7 -6
  466. package/definitions/game/game/inspection/infoProviders/doodad/Gatherability.d.ts +8 -7
  467. package/definitions/game/game/inspection/infoProviders/doodad/GrowthStage.d.ts +7 -6
  468. package/definitions/game/game/inspection/infoProviders/doodad/Harvestability.d.ts +8 -7
  469. package/definitions/game/game/inspection/infoProviders/doodad/IDurability.d.ts +1 -1
  470. package/definitions/game/game/inspection/infoProviders/doodad/StillWater.d.ts +6 -5
  471. package/definitions/game/game/inspection/infoProviders/doodad/WaterPurification.d.ts +23 -0
  472. package/definitions/game/game/inspection/infoProviders/entity/Health.d.ts +5 -5
  473. package/definitions/game/game/inspection/infoProviders/item/ItemDetails.d.ts +9 -8
  474. package/definitions/game/game/inspection/infoProviders/item/ItemDurability.d.ts +7 -8
  475. package/definitions/game/game/inspection/infoProviders/item/ItemProtected.d.ts +7 -7
  476. package/definitions/game/game/inspection/infoProviders/item/ItemUses.d.ts +17 -199
  477. package/definitions/game/game/inspection/infoProviders/item/ItemVehicle.d.ts +4 -4
  478. package/definitions/game/game/inspection/infoProviders/item/ItemWeight.d.ts +4 -4
  479. package/definitions/game/game/inspection/infoProviders/item/ItemWorth.d.ts +6 -6
  480. package/definitions/game/game/inspection/infoProviders/item/MagicalDamageType.d.ts +6 -5
  481. package/definitions/game/game/inspection/infoProviders/item/MagicalSourceTooltip.d.ts +4 -4
  482. package/definitions/game/game/inspection/infoProviders/item/SkillSourceTooltip.d.ts +4 -3
  483. package/definitions/game/game/inspection/infoProviders/item/use/ItemBuildInfo.d.ts +12 -10
  484. package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +20 -13
  485. package/definitions/game/game/inspection/infoProviders/item/use/{ItemCraftInfo.d.ts → ItemCraftingIngredientInfo.d.ts} +8 -8
  486. package/definitions/game/game/inspection/infoProviders/item/use/ItemDisassembleInfo.d.ts +6 -6
  487. package/definitions/game/game/inspection/infoProviders/item/use/ItemDismantleInfo.d.ts +12 -12
  488. package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +18 -22
  489. package/definitions/game/game/inspection/infoProviders/item/use/ItemOfferInfo.d.ts +6 -6
  490. package/definitions/game/game/inspection/infoProviders/item/use/ItemRangedInfo.d.ts +7 -7
  491. package/definitions/game/game/inspection/infoProviders/item/use/ItemSetDownInfo.d.ts +7 -7
  492. package/definitions/game/game/inspection/infoProviders/item/use/ItemShootInfo.d.ts +6 -6
  493. package/definitions/game/game/inspection/infoProviders/item/use/ItemStokeInfo.d.ts +6 -6
  494. package/definitions/game/game/inspection/infoProviders/item/use/ItemTelescopyInfo.d.ts +7 -7
  495. package/definitions/game/game/inspection/infoProviders/item/use/ItemThrowInfo.d.ts +5 -5
  496. package/definitions/game/game/inspection/infoProviders/item/use/ItemTrapDamageInfo.d.ts +6 -6
  497. package/definitions/game/game/inspection/infoProviders/recipe/AdditionalRequirements.d.ts +4 -3
  498. package/definitions/game/game/inspection/infoProviders/shared/SharedLightSourceInfo.d.ts +12 -12
  499. package/definitions/game/game/inspection/infoProviders/skill/MagicalItemBonuses.d.ts +20 -6
  500. package/definitions/game/game/inspection/infoProviders/stat/AttackInfo.d.ts +5 -4
  501. package/definitions/game/game/inspection/infoProviders/stat/CurseInfo.d.ts +22 -0
  502. package/definitions/game/game/inspection/infoProviders/stat/DefenseInfo.d.ts +3 -3
  503. package/definitions/game/game/inspection/infoProviders/stat/GenericInfo.d.ts +22 -0
  504. package/definitions/game/game/inspection/infoProviders/stat/HealthInfo.d.ts +15 -0
  505. package/definitions/game/game/inspection/infoProviders/stat/HungerInfo.d.ts +15 -0
  506. package/definitions/game/game/inspection/infoProviders/stat/StaminaInfo.d.ts +15 -0
  507. package/definitions/game/game/inspection/infoProviders/stat/StatInfo.d.ts +23 -9
  508. package/definitions/game/game/inspection/infoProviders/stat/ThirstInfo.d.ts +15 -0
  509. package/definitions/game/game/inspection/infoProviders/stat/WeightInfo.d.ts +22 -0
  510. package/definitions/game/game/inspection/inspections/ActionInspection.d.ts +35 -15
  511. package/definitions/game/game/inspection/inspections/CorpseInspection.d.ts +16 -11
  512. package/definitions/game/game/inspection/inspections/CorpsesInspection.d.ts +11 -11
  513. package/definitions/game/game/inspection/inspections/CreatureInspection.d.ts +19 -12
  514. package/definitions/game/game/inspection/inspections/DamageInspection.d.ts +27 -0
  515. package/definitions/game/game/inspection/inspections/DeityInspection.d.ts +32 -0
  516. package/definitions/game/game/inspection/inspections/DoodadInspection.d.ts +16 -11
  517. package/definitions/game/game/inspection/inspections/EntityInspection.d.ts +6 -5
  518. package/definitions/game/game/inspection/inspections/EquipSlotInspection.d.ts +17 -12
  519. package/definitions/game/game/inspection/inspections/HumanInspection.d.ts +12 -9
  520. package/definitions/game/game/inspection/inspections/IslandInspection.d.ts +16 -11
  521. package/definitions/game/game/inspection/inspections/ItemInspection.d.ts +21 -16
  522. package/definitions/game/game/inspection/inspections/ItemsInspection.d.ts +13 -11
  523. package/definitions/game/game/inspection/inspections/MagicInspection.d.ts +29 -0
  524. package/definitions/game/game/inspection/inspections/MilestoneInspection.d.ts +20 -15
  525. package/definitions/game/game/inspection/inspections/NPCInspection.d.ts +16 -11
  526. package/definitions/game/game/inspection/inspections/PlayerInspection.d.ts +12 -12
  527. package/definitions/game/game/inspection/inspections/QualityInspection.d.ts +26 -0
  528. package/definitions/game/game/inspection/inspections/RecipeInspection.d.ts +15 -12
  529. package/definitions/game/game/inspection/inspections/SelfInspection.d.ts +12 -11
  530. package/definitions/game/game/inspection/inspections/SkillInspection.d.ts +17 -13
  531. package/definitions/game/game/inspection/inspections/StatInspection.d.ts +16 -12
  532. package/definitions/game/game/inspection/inspections/StatusInspection.d.ts +61 -0
  533. package/definitions/game/game/inspection/inspections/TileEventInspection.d.ts +21 -19
  534. package/definitions/game/game/inspection/inspections/TileInspection.d.ts +19 -10
  535. package/definitions/game/game/inspection/inspections/milestone/RunekeeperInspection.d.ts +21 -0
  536. package/definitions/game/game/island/IIsland.d.ts +47 -23
  537. package/definitions/game/game/island/Island.d.ts +115 -76
  538. package/definitions/game/game/island/IslandManager.d.ts +9 -8
  539. package/definitions/game/game/island/Port.d.ts +9 -9
  540. package/definitions/game/game/island/TransientIsland.d.ts +6 -6
  541. package/definitions/game/game/island/automation/Automation.d.ts +15 -6
  542. package/definitions/game/game/island/automation/AutomationStep.d.ts +3 -2
  543. package/definitions/game/game/island/automation/IAutomation.d.ts +107 -12
  544. package/definitions/game/game/island/automation/steps/ExecuteAction.d.ts +5 -5
  545. package/definitions/game/game/item/IItem.d.ts +472 -236
  546. package/definitions/game/game/item/IItemManager.d.ts +69 -18
  547. package/definitions/game/game/item/Item.d.ts +183 -70
  548. package/definitions/game/game/item/ItemDescriptions.d.ts +3 -3
  549. package/definitions/game/game/item/ItemFinder.d.ts +51 -15
  550. package/definitions/game/game/item/ItemManager.d.ts +129 -58
  551. package/definitions/game/game/item/ItemMapManager.d.ts +7 -7
  552. package/definitions/game/game/item/ItemRecipeRequirementChecker.d.ts +5 -5
  553. package/definitions/game/game/item/ItemReference.d.ts +7 -7
  554. package/definitions/game/game/item/ItemReferenceManager.d.ts +5 -5
  555. package/definitions/game/game/item/ItemSort.d.ts +19 -0
  556. package/definitions/game/game/item/Items.d.ts +1 -1
  557. package/definitions/game/game/item/LootGroups.d.ts +2 -2
  558. package/definitions/game/game/item/WorldContainer.d.ts +52 -4
  559. package/definitions/game/game/item/cooldown/InvokeCooldown.d.ts +13 -0
  560. package/definitions/game/game/item/recipe/Crafter.d.ts +13 -13
  561. package/definitions/game/game/item/recipe/Recipe.d.ts +21 -18
  562. package/definitions/game/game/item/recipe/RecipeOutput.d.ts +2 -2
  563. package/definitions/game/game/item/recipe/RecipeOutputs.d.ts +3 -3
  564. package/definitions/game/game/item/recipe/RecipeRegistry.d.ts +4 -3
  565. package/definitions/game/game/item/recipe/RecipeRequirement.d.ts +5 -5
  566. package/definitions/game/game/item/recipe/RecipeRequirements.d.ts +6 -6
  567. package/definitions/game/game/item/recipe/output/ItemOutput.d.ts +11 -11
  568. package/definitions/game/game/item/recipe/requirement/DoodadRequirement.d.ts +5 -5
  569. package/definitions/game/game/item/recipe/requirement/FireRequirement.d.ts +4 -4
  570. package/definitions/game/game/item/recipe/requirement/ItemRequirement.d.ts +7 -7
  571. package/definitions/game/game/item/recipe/requirement/ToolRequirement.d.ts +3 -3
  572. package/definitions/game/game/magic/MagicalPropertyManager.d.ts +48 -22
  573. package/definitions/game/game/magic/MagicalPropertyType.d.ts +75 -115
  574. package/definitions/game/game/mapgen/IMapGen.d.ts +26 -21
  575. package/definitions/game/game/mapgen/MapGen.d.ts +2 -2
  576. package/definitions/game/game/mapgen/MapGenHelpers.d.ts +10 -12
  577. package/definitions/game/game/mapgen/version/2.0.0.d.ts +4 -4
  578. package/definitions/game/game/mapgen/version/2.1.0.d.ts +4 -4
  579. package/definitions/game/game/mapgen/version/2.10.0.d.ts +4 -4
  580. package/definitions/game/game/mapgen/version/2.11.0.d.ts +4 -4
  581. package/definitions/game/game/mapgen/version/2.12.0.d.ts +8 -9
  582. package/definitions/game/game/mapgen/version/2.12.1.d.ts +8 -9
  583. package/definitions/game/game/mapgen/version/2.13.0.d.ts +8 -9
  584. package/definitions/game/game/mapgen/version/2.13.2.d.ts +8 -9
  585. package/definitions/game/game/mapgen/version/2.14.0.d.ts +19 -0
  586. package/definitions/game/game/mapgen/version/2.2.0.d.ts +4 -4
  587. package/definitions/game/game/mapgen/version/2.3.0.d.ts +4 -4
  588. package/definitions/game/game/mapgen/version/2.4.0.d.ts +4 -4
  589. package/definitions/game/game/mapgen/version/2.5.0.d.ts +4 -4
  590. package/definitions/game/game/mapgen/version/2.6.0.d.ts +4 -4
  591. package/definitions/game/game/mapgen/version/2.7.0.d.ts +4 -4
  592. package/definitions/game/game/mapgen/version/2.8.0.d.ts +5 -5
  593. package/definitions/game/game/mapgen/version/2.9.0.d.ts +4 -4
  594. package/definitions/game/game/mapping/Background.d.ts +3 -3
  595. package/definitions/game/game/mapping/DrawnMap.d.ts +21 -20
  596. package/definitions/game/game/mapping/IMapConfig.d.ts +1 -1
  597. package/definitions/game/game/mapping/IMapRender.d.ts +3 -2
  598. package/definitions/game/game/mapping/IMapTile.d.ts +9 -8
  599. package/definitions/game/game/mapping/IRegion.d.ts +4 -4
  600. package/definitions/game/game/mapping/MapSprites.d.ts +8 -8
  601. package/definitions/game/game/mapping/MapTileRenderStrategies.d.ts +3 -3
  602. package/definitions/game/game/mapping/Obfuscation.d.ts +4 -4
  603. package/definitions/game/game/mapping/SavedTilesSerializer.d.ts +4 -4
  604. package/definitions/game/game/mapping/strategies/Land.d.ts +1 -1
  605. package/definitions/game/game/mapping/strategies/Random2x2Strategy.d.ts +4 -4
  606. package/definitions/game/game/mapping/strategies/Wall.d.ts +7 -7
  607. package/definitions/game/game/mapping/strategies/Water.d.ts +2 -2
  608. package/definitions/game/game/meta/AutoSave.d.ts +4 -3
  609. package/definitions/game/game/meta/DedicatedServerManager.d.ts +3 -3
  610. package/definitions/game/game/meta/IAutoSave.d.ts +1 -1
  611. package/definitions/game/game/meta/Loading.d.ts +4 -5
  612. package/definitions/game/game/meta/SaveLoad.d.ts +6 -6
  613. package/definitions/game/game/meta/prompt/IPrompt.d.ts +103 -99
  614. package/definitions/game/game/meta/prompt/PromptDescriptionFactory.d.ts +6 -6
  615. package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +126 -122
  616. package/definitions/game/game/meta/prompt/Prompts.d.ts +5 -5
  617. package/definitions/game/game/milestones/IMilestone.d.ts +38 -10
  618. package/definitions/game/game/milestones/MilestoneDefinition.d.ts +50 -13
  619. package/definitions/game/game/milestones/MilestoneManager.d.ts +19 -12
  620. package/definitions/game/game/milestones/Milestones.d.ts +7 -4
  621. package/definitions/game/game/milestones/milestone/Afflicted.d.ts +13 -0
  622. package/definitions/game/game/milestones/milestone/Curator.d.ts +13 -0
  623. package/definitions/game/game/milestones/milestone/Doctor.d.ts +22 -0
  624. package/definitions/game/game/milestones/milestone/IDoctor.d.ts +30 -0
  625. package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +52 -0
  626. package/definitions/game/game/milestones/milestone/RunekeeperMilestone.d.ts +13 -0
  627. package/definitions/game/game/milestones/milestone/Thaumaturgic.d.ts +13 -0
  628. package/definitions/game/game/options/GameOptions.d.ts +21 -8
  629. package/definitions/game/game/options/IGameOptions.d.ts +167 -44
  630. package/definitions/game/game/options/modifiers/GameplayModifier.d.ts +22 -11
  631. package/definitions/game/game/options/modifiers/GameplayModifiersManager.d.ts +15 -7
  632. package/definitions/game/game/options/modifiers/challenge/ChallengeModifier.d.ts +6 -5
  633. package/definitions/game/game/options/modifiers/challenge/ChallengeModifiers.d.ts +5 -5
  634. package/definitions/game/game/options/modifiers/challenge/IChallenge.d.ts +11 -8
  635. package/definitions/game/game/options/modifiers/challenge/modifiers/BiomeArid.d.ts +16 -0
  636. package/definitions/game/game/options/modifiers/challenge/modifiers/{BenignityRate.d.ts → BiomeIceCap.d.ts} +4 -4
  637. package/definitions/game/game/options/modifiers/challenge/modifiers/BiomeVolcanic.d.ts +16 -0
  638. package/definitions/game/game/options/modifiers/challenge/modifiers/{StartingMalignity.d.ts → BiomeWetlands.d.ts} +4 -4
  639. package/definitions/game/game/options/modifiers/challenge/modifiers/{MalignityRate.d.ts → Cursed.d.ts} +4 -4
  640. package/definitions/game/game/options/modifiers/challenge/modifiers/EternalNight.d.ts +4 -4
  641. package/definitions/game/game/options/modifiers/challenge/modifiers/HungerRate.d.ts +3 -3
  642. package/definitions/game/game/options/modifiers/challenge/modifiers/NoHealthRegeneration.d.ts +3 -3
  643. package/definitions/game/game/options/modifiers/challenge/modifiers/NoStaminaRegeneration.d.ts +3 -3
  644. package/definitions/game/game/options/modifiers/challenge/modifiers/NoStartingItems.d.ts +3 -3
  645. package/definitions/game/game/options/modifiers/challenge/modifiers/PermanentlyBleeding.d.ts +3 -3
  646. package/definitions/game/game/options/modifiers/challenge/modifiers/PermanentlyBurning.d.ts +3 -3
  647. package/definitions/game/game/options/modifiers/challenge/modifiers/PermanentlyPoisoned.d.ts +3 -3
  648. package/definitions/game/game/options/modifiers/challenge/modifiers/SlitherSucker.d.ts +16 -0
  649. package/definitions/game/game/options/modifiers/challenge/modifiers/Sunset.d.ts +16 -0
  650. package/definitions/game/game/options/modifiers/challenge/modifiers/ThirstRate.d.ts +3 -3
  651. package/definitions/game/game/options/modifiers/island/IslandModifier.d.ts +9 -8
  652. package/definitions/game/game/options/modifiers/island/IslandModifiers.d.ts +6 -6
  653. package/definitions/game/game/options/modifiers/island/modifiers/OverrunWithCreature.d.ts +4 -4
  654. package/definitions/game/game/options/modifiers/milestone/MilestoneModifier.d.ts +13 -11
  655. package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +8 -7
  656. package/definitions/game/game/options/modifiers/milestone/modifiers/Abnormalizer.d.ts +3 -3
  657. package/definitions/game/game/options/modifiers/milestone/modifiers/Afflicted.d.ts +31 -0
  658. package/definitions/game/game/options/modifiers/milestone/modifiers/Apocryphal.d.ts +3 -3
  659. package/definitions/game/game/options/modifiers/milestone/modifiers/Artificer.d.ts +3 -3
  660. package/definitions/game/game/options/modifiers/milestone/modifiers/Benevolent.d.ts +5 -5
  661. package/definitions/game/game/options/modifiers/milestone/modifiers/Boundless.d.ts +4 -4
  662. package/definitions/game/game/options/modifiers/milestone/modifiers/Challenger.d.ts +4 -10
  663. package/definitions/game/game/options/modifiers/milestone/modifiers/Chef.d.ts +3 -3
  664. package/definitions/game/game/options/modifiers/milestone/modifiers/Collector.d.ts +3 -3
  665. package/definitions/game/game/options/modifiers/milestone/modifiers/Contender.d.ts +3 -3
  666. package/definitions/game/game/options/modifiers/milestone/modifiers/Crafter.d.ts +3 -3
  667. package/definitions/game/game/options/modifiers/milestone/modifiers/Curator.d.ts +16 -0
  668. package/definitions/game/game/options/modifiers/milestone/modifiers/Dedicated.d.ts +16 -0
  669. package/definitions/game/game/options/modifiers/milestone/modifiers/DestroyerOfMagi.d.ts +3 -3
  670. package/definitions/game/game/options/modifiers/milestone/modifiers/Diverse.d.ts +6 -3
  671. package/definitions/game/game/options/modifiers/milestone/modifiers/Doctor.d.ts +3 -3
  672. package/definitions/game/game/options/modifiers/milestone/modifiers/DragonSlayer.d.ts +3 -3
  673. package/definitions/game/game/options/modifiers/milestone/modifiers/Explorer.d.ts +3 -3
  674. package/definitions/game/game/options/modifiers/milestone/modifiers/Exsanguinated.d.ts +45 -0
  675. package/definitions/game/game/options/modifiers/milestone/modifiers/Exterminator.d.ts +4 -4
  676. package/definitions/game/game/options/modifiers/milestone/modifiers/Friendly.d.ts +2 -2
  677. package/definitions/game/game/options/modifiers/milestone/modifiers/Gardener.d.ts +3 -3
  678. package/definitions/game/game/options/modifiers/milestone/modifiers/Gatherer.d.ts +3 -3
  679. package/definitions/game/game/options/modifiers/milestone/modifiers/Grandmaster.d.ts +4 -4
  680. package/definitions/game/game/options/modifiers/milestone/modifiers/Helmsman.d.ts +3 -3
  681. package/definitions/game/game/options/modifiers/milestone/modifiers/Hounded.d.ts +16 -0
  682. package/definitions/game/game/options/modifiers/milestone/modifiers/Hunter.d.ts +3 -3
  683. package/definitions/game/game/options/modifiers/milestone/modifiers/Huntsman.d.ts +3 -3
  684. package/definitions/game/game/options/modifiers/milestone/modifiers/Invoker.d.ts +18 -0
  685. package/definitions/game/game/options/modifiers/milestone/modifiers/Locksmith.d.ts +3 -3
  686. package/definitions/game/game/options/modifiers/milestone/modifiers/Malevolent.d.ts +5 -5
  687. package/definitions/game/game/options/modifiers/milestone/modifiers/Masochist.d.ts +3 -3
  688. package/definitions/game/game/options/modifiers/milestone/modifiers/MasterOfAll.d.ts +3 -3
  689. package/definitions/game/game/options/modifiers/milestone/modifiers/Merchant.d.ts +3 -3
  690. package/definitions/game/game/options/modifiers/milestone/modifiers/Multitasker.d.ts +3 -3
  691. package/definitions/game/game/options/modifiers/milestone/modifiers/Murderer.d.ts +3 -3
  692. package/definitions/game/game/options/modifiers/milestone/modifiers/Navigator.d.ts +3 -3
  693. package/definitions/game/game/options/modifiers/milestone/modifiers/Notekeeper.d.ts +3 -3
  694. package/definitions/game/game/options/modifiers/milestone/modifiers/Operator.d.ts +3 -3
  695. package/definitions/game/game/options/modifiers/milestone/modifiers/Pacifier.d.ts +2 -2
  696. package/definitions/game/game/options/modifiers/milestone/modifiers/Prepared.d.ts +3 -3
  697. package/definitions/game/game/options/modifiers/milestone/modifiers/Pulchritudinous.d.ts +3 -3
  698. package/definitions/game/game/options/modifiers/milestone/modifiers/ReaperOfSouls.d.ts +3 -3
  699. package/definitions/game/game/options/modifiers/milestone/modifiers/Retailer.d.ts +5 -5
  700. package/definitions/game/game/options/modifiers/milestone/modifiers/Rouseabout.d.ts +3 -3
  701. package/definitions/game/game/options/modifiers/milestone/modifiers/RunekeeperModifier.d.ts +18 -0
  702. package/definitions/game/game/options/modifiers/milestone/modifiers/Seafarer.d.ts +3 -3
  703. package/definitions/game/game/options/modifiers/milestone/modifiers/Seasoned.d.ts +2 -2
  704. package/definitions/game/game/options/modifiers/milestone/modifiers/Serene.d.ts +16 -0
  705. package/definitions/game/game/options/modifiers/milestone/modifiers/Statistician.d.ts +16 -0
  706. package/definitions/game/game/options/modifiers/milestone/modifiers/Survivor.d.ts +2 -2
  707. package/definitions/game/game/options/modifiers/milestone/modifiers/Talented.d.ts +3 -3
  708. package/definitions/game/game/options/modifiers/milestone/modifiers/Thaumaturgic.d.ts +16 -0
  709. package/definitions/game/game/options/modifiers/milestone/modifiers/Thrower.d.ts +3 -3
  710. package/definitions/game/game/options/modifiers/milestone/modifiers/Traitor.d.ts +3 -3
  711. package/definitions/game/game/options/modifiers/milestone/modifiers/Trapper.d.ts +3 -3
  712. package/definitions/game/game/options/modifiers/milestone/modifiers/TreasureHunter.d.ts +3 -3
  713. package/definitions/game/game/options/modifiers/milestone/modifiers/Treasurer.d.ts +3 -3
  714. package/definitions/game/game/options/modifiers/milestone/modifiers/Turbulent.d.ts +16 -0
  715. package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +20 -14
  716. package/definitions/game/game/options/modifiers/milestone/modifiers/Weathered.d.ts +2 -2
  717. package/definitions/game/game/options/modifiers/milestone/modifiers/shared/DeityInvokeMilestoneModifier.d.ts +23 -0
  718. package/definitions/game/game/options/modifiers/milestone/modifiers/shared/StatBonusMilestoneModifier.d.ts +3 -3
  719. package/definitions/game/game/options/modifiers/milestone/modifiers/shared/TamedCreatureMilestoneModifier.d.ts +5 -5
  720. package/definitions/game/game/reference/IReferenceManager.d.ts +885 -20
  721. package/definitions/game/game/reference/ReferenceManager.d.ts +29 -22
  722. package/definitions/game/game/riddle/Riddle.d.ts +1 -1
  723. package/definitions/game/game/riddle/types/Treasure.d.ts +5 -4
  724. package/definitions/game/game/temperature/ITemperature.d.ts +6 -6
  725. package/definitions/game/game/temperature/TemperatureManager.d.ts +33 -26
  726. package/definitions/game/game/tile/ITerrain.d.ts +87 -21
  727. package/definitions/game/game/tile/ITileEvent.d.ts +18 -14
  728. package/definitions/game/game/tile/TerrainResources.d.ts +14 -5
  729. package/definitions/game/game/tile/TerrainTemplates.d.ts +3 -3
  730. package/definitions/game/game/tile/Terrains.d.ts +3 -3
  731. package/definitions/game/game/tile/Tile.d.ts +209 -48
  732. package/definitions/game/game/tile/TileBits.d.ts +3 -3
  733. package/definitions/game/game/tile/TileEvent.d.ts +52 -19
  734. package/definitions/game/game/tile/TileEventManager.d.ts +27 -26
  735. package/definitions/game/game/tile/TileEvents.d.ts +3 -3
  736. package/definitions/game/game/tile/events/Acid.d.ts +2 -2
  737. package/definitions/game/game/tile/events/Blood.d.ts +2 -2
  738. package/definitions/game/game/tile/events/Excrement.d.ts +2 -2
  739. package/definitions/game/game/tile/events/Fire.d.ts +3 -3
  740. package/definitions/game/game/tile/events/Fungus.d.ts +2 -2
  741. package/definitions/game/game/tile/events/IFire.d.ts +11 -11
  742. package/definitions/game/game/tile/events/MeltingTile.d.ts +6 -6
  743. package/definitions/game/game/tile/events/Puddles.d.ts +4 -4
  744. package/definitions/game/game/tile/events/Tumbleweed.d.ts +2 -2
  745. package/definitions/game/game/time/ITimeManager.d.ts +11 -7
  746. package/definitions/game/game/time/TimeManager.d.ts +6 -4
  747. package/definitions/game/language/Dictionary.d.ts +113 -98
  748. package/definitions/game/language/DictionaryMap.d.ts +3640 -279
  749. package/definitions/game/language/English.d.ts +2 -2
  750. package/definitions/game/language/ITranslation.d.ts +31 -6
  751. package/definitions/game/language/Language.d.ts +2 -2
  752. package/definitions/game/language/LanguageExtension.d.ts +2 -2
  753. package/definitions/game/language/LanguageJsonSchemaGenerator.d.ts +21 -21
  754. package/definitions/game/language/LanguageManager.d.ts +14 -11
  755. package/definitions/game/language/Translation.d.ts +168 -73
  756. package/definitions/game/language/TranslationPlaceholder.d.ts +19 -0
  757. package/definitions/game/language/TranslationsProvider.d.ts +1 -1
  758. package/definitions/game/language/dictionary/GameEndMessage.d.ts +1 -1
  759. package/definitions/game/language/dictionary/Health.d.ts +1 -1
  760. package/definitions/game/language/dictionary/HumanName.d.ts +1 -1
  761. package/definitions/game/language/dictionary/InterruptChoice.d.ts +1 -1
  762. package/definitions/game/language/dictionary/Message.d.ts +834 -790
  763. package/definitions/game/language/dictionary/Misc.d.ts +120 -59
  764. package/definitions/game/language/dictionary/MultiplayerCompatibility.d.ts +1 -1
  765. package/definitions/game/language/dictionary/Note.d.ts +2 -2
  766. package/definitions/game/language/dictionary/UiTranslation.d.ts +918 -863
  767. package/definitions/game/language/english/DamageTypes.d.ts +3 -3
  768. package/definitions/game/language/english/Stats.d.ts +3 -3
  769. package/definitions/game/language/english/Statuses.d.ts +14 -0
  770. package/definitions/game/language/english/Terrains.d.ts +2 -2
  771. package/definitions/game/language/english/TileEvents.d.ts +2 -2
  772. package/definitions/game/language/english/creature/AiTypes.d.ts +2 -2
  773. package/definitions/game/language/english/creature/Corpses.d.ts +2 -2
  774. package/definitions/game/language/english/creature/Creatures.d.ts +2 -2
  775. package/definitions/game/language/english/doodad/DoodadGroups.d.ts +2 -2
  776. package/definitions/game/language/english/doodad/Doodads.d.ts +2 -2
  777. package/definitions/game/language/english/doodad/Growth.d.ts +1 -1
  778. package/definitions/game/language/english/doodad/GrowthFungus.d.ts +1 -1
  779. package/definitions/game/language/english/game/Actions.d.ts +3 -3
  780. package/definitions/game/language/english/game/Biomes.d.ts +2 -2
  781. package/definitions/game/language/english/game/Challenges.d.ts +2 -2
  782. package/definitions/game/language/english/game/CombatDangerLevels.d.ts +2 -2
  783. package/definitions/game/language/english/game/CombatStrengths.d.ts +2 -2
  784. package/definitions/game/language/english/game/Deities.d.ts +13 -0
  785. package/definitions/game/language/english/game/DeitySymbols.d.ts +13 -0
  786. package/definitions/game/language/english/game/Directions.d.ts +2 -2
  787. package/definitions/game/language/english/game/DurabilityLevels.d.ts +2 -2
  788. package/definitions/game/language/english/game/FireStages.d.ts +2 -2
  789. package/definitions/game/language/english/game/GameModes.d.ts +2 -2
  790. package/definitions/game/language/english/game/IslandModifiers.d.ts +2 -2
  791. package/definitions/game/language/english/game/LighthouseName.d.ts +1 -1
  792. package/definitions/game/language/english/game/MapQualities.d.ts +2 -2
  793. package/definitions/game/language/english/game/Messages.d.ts +2 -2
  794. package/definitions/game/language/english/game/PartsOfDay.d.ts +2 -2
  795. package/definitions/game/language/english/game/Qualities.d.ts +3 -3
  796. package/definitions/game/language/english/game/Regions.d.ts +2 -2
  797. package/definitions/game/language/english/game/Riddles.d.ts +2 -2
  798. package/definitions/game/language/english/game/TemperatureTypes.d.ts +2 -2
  799. package/definitions/game/language/english/game/WorldLayers.d.ts +3 -3
  800. package/definitions/game/language/english/game/islandName/IslandName.d.ts +1 -1
  801. package/definitions/game/language/english/game/islandName/IslandNameBiomeDescriptors.d.ts +2 -2
  802. package/definitions/game/language/english/game/islandName/IslandNameBiomeNouns.d.ts +2 -2
  803. package/definitions/game/language/english/game/islandName/IslandNameModifierDescriptors.d.ts +2 -2
  804. package/definitions/game/language/english/game/islandName/IslandNameOverrunWithCreatureDescriptors.d.ts +2 -2
  805. package/definitions/game/language/english/item/Books.d.ts +2 -2
  806. package/definitions/game/language/english/item/CraftEfficacies.d.ts +2 -2
  807. package/definitions/game/language/english/item/DoodadsExtra.d.ts +2 -2
  808. package/definitions/game/language/english/item/ItemAffixes.d.ts +17 -0
  809. package/definitions/game/language/english/item/ItemGroups.d.ts +2 -2
  810. package/definitions/game/language/english/item/Items.d.ts +2 -2
  811. package/definitions/game/language/english/item/ItemsExtra.d.ts +3 -3
  812. package/definitions/game/language/english/item/MagicalPropertyTypes.d.ts +2 -2
  813. package/definitions/game/language/english/item/RecipeLevels.d.ts +2 -2
  814. package/definitions/game/language/english/living/HealthAccuracies.d.ts +2 -2
  815. package/definitions/game/language/english/living/Healths.d.ts +2 -2
  816. package/definitions/game/language/english/misc/Commands.d.ts +2 -2
  817. package/definitions/game/language/english/misc/InspectTypes.d.ts +2 -2
  818. package/definitions/game/language/english/misc/Labels.d.ts +13 -0
  819. package/definitions/game/language/english/misc/MiscTranslations.d.ts +2 -2
  820. package/definitions/game/language/english/misc/ModProvides.d.ts +2 -2
  821. package/definitions/game/language/english/misc/ModTypes.d.ts +2 -2
  822. package/definitions/game/language/english/misc/Numbers.d.ts +13 -0
  823. package/definitions/game/language/english/misc/Sources.d.ts +2 -2
  824. package/definitions/game/language/english/misc/Terms.d.ts +13 -0
  825. package/definitions/game/language/english/npc/NPCs.d.ts +2 -2
  826. package/definitions/game/language/english/player/EquipEffects.d.ts +2 -2
  827. package/definitions/game/language/english/player/EquipSlots.d.ts +2 -2
  828. package/definitions/game/language/english/player/Milestones.d.ts +2 -2
  829. package/definitions/game/language/english/player/Names.d.ts +2 -2
  830. package/definitions/game/language/english/player/Notes.d.ts +1 -1
  831. package/definitions/game/language/english/player/Skills.d.ts +3 -3
  832. package/definitions/game/language/english/player/milestone/DoctorCureTypes.d.ts +13 -0
  833. package/definitions/game/language/english/player/milestone/DoctorMethods.d.ts +13 -0
  834. package/definitions/game/language/english/player/quest/Quests.d.ts +2 -2
  835. package/definitions/game/language/english/player/quest/Requirements.d.ts +2 -2
  836. package/definitions/game/language/english/player/status/BadTemperatureLevels.d.ts +4 -3
  837. package/definitions/game/language/english/player/status/BleedLevels.d.ts +4 -9
  838. package/definitions/game/language/english/player/status/ExhaustionLevels.d.ts +4 -3
  839. package/definitions/game/language/english/player/status/HungerLevels.d.ts +14 -0
  840. package/definitions/game/language/english/player/status/ThirstLevels.d.ts +14 -0
  841. package/definitions/game/language/english/player/{WeightStatuses.d.ts → status/WeightStatuses.d.ts} +4 -3
  842. package/definitions/game/language/english/ui/ActionSlotItemMethods.d.ts +2 -2
  843. package/definitions/game/language/english/ui/AutoSaveOptions.d.ts +2 -2
  844. package/definitions/game/language/english/ui/BindableTypes.d.ts +2 -2
  845. package/definitions/game/language/english/ui/Bindables.d.ts +2 -2
  846. package/definitions/game/language/english/ui/ChangelogChangeTypes.d.ts +2 -2
  847. package/definitions/game/language/english/ui/ContainerSorts.d.ts +13 -0
  848. package/definitions/game/language/english/ui/CraftingSorts.d.ts +13 -0
  849. package/definitions/game/{game/entity/creature/ICreatureManager.d.ts → language/english/ui/CurseComponents.d.ts} +4 -6
  850. package/definitions/game/language/english/ui/Dialogs.d.ts +2 -2
  851. package/definitions/game/language/english/ui/DrawnMapThemes.d.ts +2 -2
  852. package/definitions/game/language/english/ui/FontStyles.d.ts +2 -2
  853. package/definitions/game/language/english/ui/GameEndMessages.d.ts +2 -2
  854. package/definitions/game/language/english/ui/HelpArticles.d.ts +2 -2
  855. package/definitions/game/language/english/ui/InfoDisplayLevels.d.ts +2 -2
  856. package/definitions/game/language/english/ui/Inputs.d.ts +1 -1
  857. package/definitions/game/language/english/ui/Levels.d.ts +2 -2
  858. package/definitions/game/language/english/ui/Macros.d.ts +1 -1
  859. package/definitions/game/language/english/ui/MenuBarButtons.d.ts +2 -2
  860. package/definitions/game/language/english/ui/MessagesDefaultFilters.d.ts +2 -2
  861. package/definitions/game/language/english/ui/MessagesTimestampModes.d.ts +2 -2
  862. package/definitions/game/language/english/ui/MilestoneModifierGroups.d.ts +2 -2
  863. package/definitions/game/language/english/ui/ModLoadErrors.d.ts +2 -2
  864. package/definitions/game/language/english/ui/MultiplayerCompatibilities.d.ts +2 -2
  865. package/definitions/game/language/english/ui/MusicPlaylists.d.ts +2 -2
  866. package/definitions/game/language/english/ui/RunekeeperDomainEvents.d.ts +13 -0
  867. package/definitions/game/language/english/ui/RunekeeperDomains.d.ts +13 -0
  868. package/definitions/game/language/english/{StatusEffects.d.ts → ui/StatusEffects.d.ts} +3 -3
  869. package/definitions/game/language/english/ui/StatusThreatLevels.d.ts +13 -0
  870. package/definitions/game/language/english/ui/SteamInputKeyboardPosition.d.ts +2 -2
  871. package/definitions/game/language/english/ui/TeamMemberResponsibilities.d.ts +2 -2
  872. package/definitions/game/language/english/ui/TooltipVisibilityOptions.d.ts +2 -2
  873. package/definitions/game/language/english/ui/UiTranslations.d.ts +2 -2
  874. package/definitions/game/language/english/ui/UnlockedRecipesStrategies.d.ts +2 -2
  875. package/definitions/game/language/english/ui/UsableActionTypes.d.ts +3 -3
  876. package/definitions/game/language/english/ui/Websites.d.ts +2 -2
  877. package/definitions/game/language/english/ui/interrupt/InterruptChoices.d.ts +2 -2
  878. package/definitions/game/language/english/ui/interrupt/Loading.d.ts +2 -2
  879. package/definitions/game/language/english/ui/interrupt/ModLoadFailureReasons.d.ts +2 -2
  880. package/definitions/game/language/english/ui/interrupt/MultiplayerDisconnectReasons.d.ts +2 -2
  881. package/definitions/game/language/english/ui/interrupt/MultiplayerJoinServerRetryReason.d.ts +2 -2
  882. package/definitions/game/language/english/ui/interrupt/MultiplayerUnableToJoinReason.d.ts +2 -2
  883. package/definitions/game/language/english/ui/interrupt/Prompts.d.ts +2 -2
  884. package/definitions/game/language/english/ui/interrupt/SaveImportErrorReasons.d.ts +2 -2
  885. package/definitions/game/language/english/ui/quadrant/QuadrantComponentContextMenuActions.d.ts +2 -2
  886. package/definitions/game/language/english/ui/quadrant/QuadrantComponentMap.d.ts +5 -5
  887. package/definitions/game/language/english/ui/quadrant/QuadrantComponents.d.ts +2 -2
  888. package/definitions/game/language/english/ui/quadrant/UiQuadrants.d.ts +2 -2
  889. package/definitions/game/language/english/ui/sort/ActionSorts.d.ts +2 -2
  890. package/definitions/game/language/english/ui/sort/CharacterSorts.d.ts +2 -2
  891. package/definitions/game/language/english/ui/sort/HighscoreSorts.d.ts +2 -2
  892. package/definitions/game/language/english/ui/sort/MilestoneSorts.d.ts +2 -2
  893. package/definitions/game/language/english/ui/sort/ModSorts.d.ts +2 -2
  894. package/definitions/game/language/english/ui/sort/SaveSlotSorts.d.ts +2 -2
  895. package/definitions/game/language/english/ui/sort/SkillSorts.d.ts +2 -2
  896. package/definitions/game/language/impl/TranslationImpl.d.ts +50 -20
  897. package/definitions/game/language/segment/BindSegment.d.ts +3 -3
  898. package/definitions/game/language/segment/CapitalizationSegment.d.ts +4 -4
  899. package/definitions/game/language/segment/ColorSegment.d.ts +2 -3
  900. package/definitions/game/language/segment/FormatListSegment.d.ts +5 -5
  901. package/definitions/game/language/segment/HeadingSegment.d.ts +2 -2
  902. package/definitions/game/language/segment/InterpolateArgumentSegment.d.ts +2 -2
  903. package/definitions/game/language/segment/LinkSegment.d.ts +3 -5
  904. package/definitions/game/language/segment/ListSegment.d.ts +6 -3
  905. package/definitions/game/language/segment/NumberSegment.d.ts +5 -5
  906. package/definitions/game/language/segment/RandomizationSegment.d.ts +2 -2
  907. package/definitions/game/language/segment/ReferenceSegment.d.ts +19 -0
  908. package/definitions/game/language/segment/ReformatSegment.d.ts +2 -2
  909. package/definitions/game/language/segment/Segments.d.ts +5 -3
  910. package/definitions/game/language/segment/SimplificationSegment.d.ts +29 -0
  911. package/definitions/game/language/segment/TextDecorationSegments.d.ts +8 -10
  912. package/definitions/game/language/segment/TooltipSegment.d.ts +5 -4
  913. package/definitions/game/language/segment/TranslationSegment.d.ts +5 -5
  914. package/definitions/game/language/utility/TranslationListBuilder.d.ts +25 -0
  915. package/definitions/game/language/utility/TranslationSorter.d.ts +4 -4
  916. package/definitions/game/mod/BaseMod.d.ts +21 -32
  917. package/definitions/game/mod/IMod.d.ts +9 -2
  918. package/definitions/game/mod/{IModInfo.d.ts → IModInformation.d.ts} +20 -33
  919. package/definitions/game/mod/IModManager.d.ts +3 -2
  920. package/definitions/game/mod/InterModRegistry.d.ts +2 -2
  921. package/definitions/game/mod/InterModRegistryManager.d.ts +5 -5
  922. package/definitions/game/mod/InternalMods.d.ts +23 -0
  923. package/definitions/game/mod/Mod.d.ts +5 -5
  924. package/definitions/game/mod/ModInformation.d.ts +123 -0
  925. package/definitions/game/mod/ModManager.d.ts +28 -99
  926. package/definitions/game/mod/ModRegistry.d.ts +229 -173
  927. package/definitions/game/multiplayer/IMultiplayer.d.ts +91 -80
  928. package/definitions/game/multiplayer/Multiplayer.d.ts +21 -21
  929. package/definitions/game/{renderer/Shaders.d.ts → multiplayer/RandomSychronization.d.ts} +2 -4
  930. package/definitions/game/multiplayer/dedicatedServer/ssh/DefaultShell.d.ts +7 -7
  931. package/definitions/game/multiplayer/dedicatedServer/ssh/ISsh.d.ts +2 -2
  932. package/definitions/game/multiplayer/dedicatedServer/ssh/ISshCommand.d.ts +3 -3
  933. package/definitions/game/multiplayer/dedicatedServer/ssh/ISshCommandManager.d.ts +4 -4
  934. package/definitions/game/multiplayer/dedicatedServer/ssh/ISshShell.d.ts +4 -4
  935. package/definitions/game/multiplayer/dedicatedServer/ssh/Shell.d.ts +6 -6
  936. package/definitions/game/multiplayer/dedicatedServer/ssh/SshCommand.d.ts +3 -3
  937. package/definitions/game/multiplayer/dedicatedServer/ssh/SshCommandManager.d.ts +9 -10
  938. package/definitions/game/multiplayer/dedicatedServer/ssh/SshServer.d.ts +3 -3
  939. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Backup.d.ts +3 -3
  940. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Ban.d.ts +3 -3
  941. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Chat.d.ts +3 -3
  942. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/End.d.ts +3 -3
  943. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Exit.d.ts +3 -3
  944. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Help.d.ts +3 -3
  945. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Kick.d.ts +3 -3
  946. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Load.d.ts +3 -3
  947. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Ls.d.ts +3 -3
  948. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Motd.d.ts +3 -3
  949. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/New.d.ts +3 -3
  950. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Save.d.ts +3 -3
  951. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Send.d.ts +3 -3
  952. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Shutdown.d.ts +3 -3
  953. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Status.d.ts +3 -3
  954. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Sync.d.ts +3 -3
  955. package/definitions/game/multiplayer/dedicatedServer/ssh/commands/Unban.d.ts +3 -3
  956. package/definitions/game/multiplayer/matchmaking/IMatchmaking.d.ts +6 -6
  957. package/definitions/game/multiplayer/matchmaking/Matchmaking.d.ts +5 -5
  958. package/definitions/game/multiplayer/networking/Connection.d.ts +9 -8
  959. package/definitions/game/multiplayer/networking/IConnection.d.ts +6 -5
  960. package/definitions/game/multiplayer/networking/SmartConnection.d.ts +6 -6
  961. package/definitions/game/multiplayer/networking/SteamNetworkConnection.d.ts +6 -6
  962. package/definitions/game/multiplayer/networking/WebRTCConnection.d.ts +4 -4
  963. package/definitions/game/multiplayer/networking/WebSocketConnection.d.ts +4 -4
  964. package/definitions/game/multiplayer/networking/WebWorkerConnection.d.ts +6 -6
  965. package/definitions/game/multiplayer/packets/BasePacket.d.ts +41 -20
  966. package/definitions/game/multiplayer/packets/ClientPacket.d.ts +3 -3
  967. package/definitions/game/multiplayer/packets/EntityTargetedSharedPacket.d.ts +3 -3
  968. package/definitions/game/multiplayer/packets/HumanTargetedClientPacket.d.ts +3 -3
  969. package/definitions/game/multiplayer/packets/IPacket.d.ts +4 -4
  970. package/definitions/game/multiplayer/packets/IndexedPacket.d.ts +15 -15
  971. package/definitions/game/multiplayer/packets/Packet.d.ts +6 -6
  972. package/definitions/game/multiplayer/packets/Packets.d.ts +5 -5
  973. package/definitions/game/multiplayer/packets/PlayerTargetedClientPacket.d.ts +3 -3
  974. package/definitions/game/multiplayer/packets/PlayerTargetedPacket.d.ts +3 -3
  975. package/definitions/game/multiplayer/packets/PlayerTargetedServerPacket.d.ts +3 -3
  976. package/definitions/game/multiplayer/packets/PlayerTargetedSharedPacket.d.ts +3 -3
  977. package/definitions/game/multiplayer/packets/ServerPacket.d.ts +3 -3
  978. package/definitions/game/multiplayer/packets/SharedPacket.d.ts +3 -3
  979. package/definitions/game/multiplayer/packets/client/AddPlayerPacket.d.ts +3 -3
  980. package/definitions/game/multiplayer/packets/client/CaughtUpPacket.d.ts +2 -2
  981. package/definitions/game/multiplayer/packets/client/ClearSyncPacketWaitingPacket.d.ts +2 -2
  982. package/definitions/game/multiplayer/packets/client/EmitHumanEventPacket.d.ts +2 -2
  983. package/definitions/game/multiplayer/packets/client/GameTickPacket.d.ts +18 -0
  984. package/definitions/game/multiplayer/packets/client/HideLoadingScreenPacket.d.ts +3 -3
  985. package/definitions/game/multiplayer/packets/client/{TickPacket.d.ts → IslandTickPacket.d.ts} +5 -4
  986. package/definitions/game/multiplayer/packets/client/LoadIslandPacket.d.ts +3 -3
  987. package/definitions/game/multiplayer/packets/client/PausePacket.d.ts +3 -3
  988. package/definitions/game/multiplayer/packets/client/PongPacket.d.ts +2 -2
  989. package/definitions/game/multiplayer/packets/client/PromptPacket.d.ts +3 -3
  990. package/definitions/game/multiplayer/packets/client/ReadyPlayerPacket.d.ts +2 -2
  991. package/definitions/game/multiplayer/packets/client/RemovePlayerPacket.d.ts +3 -3
  992. package/definitions/game/multiplayer/packets/client/SendMessagePacket.d.ts +4 -4
  993. package/definitions/game/multiplayer/packets/client/SetHumanZPacket.d.ts +2 -2
  994. package/definitions/game/multiplayer/packets/client/ShowLoadingScreenPacket.d.ts +3 -3
  995. package/definitions/game/multiplayer/packets/client/SynchronizeGameStatePacket.d.ts +2 -2
  996. package/definitions/game/multiplayer/packets/client/SynchronizeStatesPacket.d.ts +3 -3
  997. package/definitions/game/multiplayer/packets/client/WorldPacket.d.ts +4 -4
  998. package/definitions/game/multiplayer/packets/server/AddMessageHistoryPacket.d.ts +3 -3
  999. package/definitions/game/multiplayer/packets/server/ConnectPacket.d.ts +4 -4
  1000. package/definitions/game/multiplayer/packets/server/ConnectedPacket.d.ts +3 -3
  1001. package/definitions/game/multiplayer/packets/server/DesyncPacket.d.ts +3 -3
  1002. package/definitions/game/multiplayer/packets/server/MarkAsExploredPacket.d.ts +2 -2
  1003. package/definitions/game/multiplayer/packets/server/PingPacket.d.ts +2 -2
  1004. package/definitions/game/multiplayer/packets/server/ReadyPacket.d.ts +3 -3
  1005. package/definitions/game/multiplayer/packets/server/UpdateActionBarPacket.d.ts +3 -3
  1006. package/definitions/game/multiplayer/packets/server/UpdateMovementIntentPacket.d.ts +3 -3
  1007. package/definitions/game/multiplayer/packets/server/UpdateUiDataPacket.d.ts +3 -3
  1008. package/definitions/game/multiplayer/packets/server/UpdateUiInfoPacket.d.ts +3 -3
  1009. package/definitions/game/multiplayer/packets/shared/ActionPacket.d.ts +12 -10
  1010. package/definitions/game/multiplayer/packets/shared/ActionPacketBase.d.ts +7 -6
  1011. package/definitions/game/multiplayer/packets/shared/ChatMessagePacket.d.ts +2 -2
  1012. package/definitions/game/multiplayer/packets/shared/DisconnectPacket.d.ts +3 -3
  1013. package/definitions/game/multiplayer/packets/shared/DiscoverRecipePacket.d.ts +3 -3
  1014. package/definitions/game/multiplayer/packets/shared/LogsPacket.d.ts +3 -3
  1015. package/definitions/game/multiplayer/packets/shared/UpdateMultiplayerOptionsPacket.d.ts +3 -3
  1016. package/definitions/game/renderer/Decorations.d.ts +6 -6
  1017. package/definitions/game/renderer/IRenderer.d.ts +68 -59
  1018. package/definitions/game/renderer/ISpriteInfo.d.ts +2 -3
  1019. package/definitions/game/renderer/ITextureDebugRenderer.d.ts +1 -1
  1020. package/definitions/game/renderer/Overlays.d.ts +4 -4
  1021. package/definitions/game/renderer/Renderer.d.ts +37 -28
  1022. package/definitions/game/renderer/RendererConstants.d.ts +17 -14
  1023. package/definitions/game/renderer/Renderers.d.ts +14 -27
  1024. package/definitions/game/renderer/RenderersNotifiers.d.ts +30 -0
  1025. package/definitions/game/renderer/{StatusEffectRenderer.d.ts → StatusRenderer.d.ts} +11 -11
  1026. package/definitions/game/renderer/context/IRendererContext.d.ts +43 -0
  1027. package/definitions/game/renderer/context/RendererOrigin.d.ts +11 -11
  1028. package/definitions/game/renderer/exploreMap/ByteGrid.d.ts +2 -2
  1029. package/definitions/game/renderer/exploreMap/ExploreMap.d.ts +2 -2
  1030. package/definitions/game/renderer/fieldOfView/FieldOfView.d.ts +22 -39
  1031. package/definitions/game/renderer/fieldOfView/IByteGrid.d.ts +1 -1
  1032. package/definitions/game/renderer/fieldOfView/IFieldOfView.d.ts +7 -6
  1033. package/definitions/game/renderer/fieldOfView/IFieldOfViewPlatform.d.ts +23 -0
  1034. package/definitions/game/renderer/notifier/INotifier.d.ts +18 -8
  1035. package/definitions/game/renderer/notifier/Notifier.d.ts +18 -19
  1036. package/definitions/game/renderer/overlay/GenericOverlay.d.ts +4 -4
  1037. package/definitions/game/renderer/overlay/UniversalOverlay.d.ts +7 -6
  1038. package/definitions/game/renderer/particle/IParticle.d.ts +1 -1
  1039. package/definitions/game/renderer/particle/IParticleRendererPlatform.d.ts +14 -0
  1040. package/definitions/game/renderer/particle/ParticleSystem.d.ts +13 -11
  1041. package/definitions/game/renderer/particle/Particles.d.ts +3 -3
  1042. package/definitions/game/renderer/platform/webgl/FieldOfViewWebGl.d.ts +43 -0
  1043. package/definitions/game/renderer/platform/webgl/ParticleRendererWebGl1.d.ts +30 -0
  1044. package/definitions/game/renderer/platform/webgl/ParticleRendererWebGl2.d.ts +32 -0
  1045. package/definitions/game/renderer/{spriteBatch/SpriteBatch1.d.ts → platform/webgl/SpriteBatchWebGl1.d.ts} +4 -4
  1046. package/definitions/game/renderer/{spriteBatch/SpriteBatch2.d.ts → platform/webgl/SpriteBatchWebGl2.d.ts} +6 -6
  1047. package/definitions/game/renderer/{spriteBatch/SpriteBatchBase.d.ts → platform/webgl/SpriteBatchWebGlBase.d.ts} +13 -11
  1048. package/definitions/game/renderer/platform/webgl/SpritePackerWebGl.d.ts +20 -0
  1049. package/definitions/game/renderer/platform/webgl/TileLayerRendererWebGl.d.ts +55 -0
  1050. package/definitions/game/renderer/{CompiledProgram.d.ts → platform/webgl/WebGlCompiledProgram.d.ts} +2 -2
  1051. package/definitions/game/renderer/{WebGlContext.d.ts → platform/webgl/WebGlContext.d.ts} +9 -8
  1052. package/definitions/game/renderer/platform/webgl/WebGlRendererContext.d.ts +53 -0
  1053. package/definitions/game/{game/entity/flowfield/IFlowFieldDebugRenderer.d.ts → renderer/platform/webgl/WebGlShaders.d.ts} +2 -4
  1054. package/definitions/game/renderer/platform/webgl/WorldLayerRendererWebGl.d.ts +27 -0
  1055. package/definitions/game/renderer/platform/webgl/WorldRendererWebGl.d.ts +44 -0
  1056. package/definitions/game/renderer/platform/webgpu/FieldOfViewWebGpu.d.ts +23 -0
  1057. package/definitions/game/renderer/platform/webgpu/ParticleRendererWebGpu.d.ts +17 -0
  1058. package/definitions/game/renderer/platform/webgpu/SpriteBatchWebGpu.d.ts +36 -0
  1059. package/definitions/game/renderer/platform/webgpu/SpritePackerWebGpu.d.ts +21 -0
  1060. package/definitions/game/renderer/platform/webgpu/TileLayerRendererWebGpu.d.ts +21 -0
  1061. package/definitions/game/renderer/platform/webgpu/WebGpuRendererContext.d.ts +56 -0
  1062. package/definitions/game/renderer/platform/webgpu/WorldLayerRendererWebGpu.d.ts +22 -0
  1063. package/definitions/game/renderer/platform/webgpu/WorldRendererWebGpu.d.ts +26 -0
  1064. package/definitions/game/renderer/resources/IResourceContainer.d.ts +21 -0
  1065. package/definitions/game/renderer/resources/ISpritePacker.d.ts +31 -0
  1066. package/definitions/game/renderer/resources/SpriteAtlasNode.d.ts +20 -0
  1067. package/definitions/game/renderer/resources/SpritePackerBase.d.ts +34 -0
  1068. package/definitions/game/renderer/spriteBatch/ISpriteBatch.d.ts +3 -3
  1069. package/definitions/game/renderer/spriteBatch/PersistantSpriteBatch.d.ts +2 -2
  1070. package/definitions/game/renderer/tile/ITileLayerRendererPlatform.d.ts +47 -0
  1071. package/definitions/game/renderer/tile/TerrainTileInfo.d.ts +2 -2
  1072. package/definitions/game/renderer/tile/TileAdaptors.d.ts +7 -7
  1073. package/definitions/game/renderer/tile/{TileLayer.d.ts → TileLayerRendererBase.d.ts} +24 -32
  1074. package/definitions/game/renderer/tile/adaptors/Default.d.ts +8 -8
  1075. package/definitions/game/renderer/tile/adaptors/DoodadLike.d.ts +6 -6
  1076. package/definitions/game/renderer/tile/adaptors/Dug.d.ts +18 -0
  1077. package/definitions/game/renderer/tile/adaptors/Fence.d.ts +5 -5
  1078. package/definitions/game/renderer/tile/adaptors/Fished.d.ts +15 -0
  1079. package/definitions/game/renderer/tile/adaptors/Floor.d.ts +6 -6
  1080. package/definitions/game/renderer/tile/adaptors/Lava.d.ts +6 -6
  1081. package/definitions/game/renderer/tile/adaptors/Mountain.d.ts +6 -6
  1082. package/definitions/game/renderer/tile/adaptors/MountainGround.d.ts +6 -6
  1083. package/definitions/game/renderer/tile/adaptors/Till.d.ts +5 -5
  1084. package/definitions/game/renderer/tile/adaptors/Track.d.ts +6 -6
  1085. package/definitions/game/renderer/tile/adaptors/Wall.d.ts +5 -5
  1086. package/definitions/game/renderer/tile/adaptors/Water.d.ts +6 -6
  1087. package/definitions/game/renderer/tile/atlas/ITileAtlas.d.ts +5 -5
  1088. package/definitions/game/renderer/tile/atlas/TileAtlas.d.ts +16 -10
  1089. package/definitions/game/renderer/world/IWorldLayer.d.ts +8 -9
  1090. package/definitions/game/renderer/world/IWorldLayerRenderer.d.ts +4 -4
  1091. package/definitions/game/renderer/world/IWorldLayerRendererPlatform.d.ts +18 -0
  1092. package/definitions/game/renderer/world/IWorldRenderer.d.ts +6 -4
  1093. package/definitions/game/renderer/world/IWorldRendererPlatform.d.ts +20 -0
  1094. package/definitions/game/renderer/world/World.d.ts +8 -8
  1095. package/definitions/game/renderer/world/WorldLayer.d.ts +19 -13
  1096. package/definitions/game/renderer/world/WorldLayerRenderer.d.ts +44 -34
  1097. package/definitions/game/renderer/world/WorldRenderer.d.ts +37 -52
  1098. package/definitions/game/replay/IReplayLogEntry.d.ts +4 -3
  1099. package/definitions/game/replay/ReplayLogEntry.d.ts +6 -5
  1100. package/definitions/game/replay/ReplayManager.d.ts +6 -5
  1101. package/definitions/game/resource/IResourceLoader.d.ts +46 -48
  1102. package/definitions/game/resource/IResourcePath.d.ts +10 -6
  1103. package/definitions/game/resource/ISpriteAtlas.d.ts +2 -2
  1104. package/definitions/game/resource/ImageOverrides.d.ts +3 -3
  1105. package/definitions/game/resource/ResourceLoader.d.ts +7 -13
  1106. package/definitions/game/resource/ResourcePath.d.ts +10 -7
  1107. package/definitions/game/resource/SpriteAtlas.d.ts +6 -5
  1108. package/definitions/game/resource/SpriteInfo.d.ts +3 -3
  1109. package/definitions/game/resource/SpritePack.d.ts +3 -3
  1110. package/definitions/game/save/ISaveManager.d.ts +10 -6
  1111. package/definitions/game/save/SaveManager.d.ts +34 -22
  1112. package/definitions/game/save/SaveMetadata.d.ts +41 -0
  1113. package/definitions/game/save/clientStore/ClientData.d.ts +2 -2
  1114. package/definitions/game/save/clientStore/ClientStore.d.ts +3 -3
  1115. package/definitions/game/save/clientStore/IClientStore.d.ts +4 -4
  1116. package/definitions/game/save/clientStore/clientData/ExploredMap.d.ts +4 -4
  1117. package/definitions/game/save/clientStore/clientData/MultiplayerClientData.d.ts +1 -1
  1118. package/definitions/game/save/clientStore/clientData/UiData.d.ts +1 -1
  1119. package/definitions/game/save/data/ISaveDataGlobal.d.ts +53 -40
  1120. package/definitions/game/save/data/SaveData.d.ts +7 -7
  1121. package/definitions/game/save/data/SaveDataGlobal.d.ts +13 -12
  1122. package/definitions/game/save/datastorage/FileDataStorage.d.ts +5 -5
  1123. package/definitions/game/save/datastorage/IAsyncDataStorage.d.ts +2 -2
  1124. package/definitions/game/save/datastorage/IDataStorage.d.ts +3 -3
  1125. package/definitions/game/save/datastorage/IndexedDbDataStorage.d.ts +5 -4
  1126. package/definitions/game/save/datastorage/LocalStorageDataStorage.d.ts +3 -3
  1127. package/definitions/game/save/serializer/ISerializer.d.ts +10 -4
  1128. package/definitions/game/save/serializer/IStringTokenizer.d.ts +1 -1
  1129. package/definitions/game/save/serializer/PropertiesToSerialize.d.ts +165 -4
  1130. package/definitions/game/save/serializer/SerializedSizeTracker.d.ts +25 -0
  1131. package/definitions/game/save/serializer/Serializer.d.ts +9 -15
  1132. package/definitions/game/save/serializer/StringTokenizer.d.ts +2 -2
  1133. package/definitions/game/save/upgrade/UpgradeGame.d.ts +2 -2
  1134. package/definitions/game/save/upgrade/UpgradeIsland.d.ts +2 -2
  1135. package/definitions/game/save/upgrade/UpgradePlayer.d.ts +6 -5
  1136. package/definitions/game/save/upgrade/UpgradeSaveDataGlobal.d.ts +3 -3
  1137. package/definitions/game/save/upgrade/UpgradeVersion.d.ts +47 -0
  1138. package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +18 -0
  1139. package/definitions/game/save/upgrade/UpgradesArray.d.ts +18 -0
  1140. package/definitions/game/save/upgrade/versions/beta2.14.0/_beta.2.14.0-dev20240828.d.ts +12 -0
  1141. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev1.d.ts +12 -0
  1142. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev2.d.ts +12 -0
  1143. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240827.d.ts +12 -0
  1144. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240828.d.ts +12 -0
  1145. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240829.d.ts +12 -0
  1146. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240901.d.ts +12 -0
  1147. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240905.d.ts +12 -0
  1148. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241024.d.ts +12 -0
  1149. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241129.d.ts +12 -0
  1150. package/definitions/game/steamworks/ISteamworks.d.ts +17 -6
  1151. package/definitions/game/steamworks/Steamworks.d.ts +51 -20
  1152. package/definitions/game/typings/jquery.d.ts +1 -1
  1153. package/definitions/game/typings/jqueryui.d.ts +1 -1
  1154. package/definitions/game/ui/IUi.d.ts +17 -4
  1155. package/definitions/game/ui/LoadingBridge.d.ts +3 -3
  1156. package/definitions/game/ui/PromptsBridge.d.ts +6 -6
  1157. package/definitions/game/ui/SaveDropHandler.d.ts +6 -4
  1158. package/definitions/game/ui/ServerJoinHandler.d.ts +4 -3
  1159. package/definitions/game/ui/Ui.d.ts +55 -29
  1160. package/definitions/game/ui/UiExperiments.d.ts +3 -4
  1161. package/definitions/game/ui/component/ArticleComponent.d.ts +2 -2
  1162. package/definitions/game/ui/component/Bindings.d.ts +6 -6
  1163. package/definitions/game/ui/component/Block.d.ts +3 -3
  1164. package/definitions/game/ui/component/BlockRow.d.ts +3 -2
  1165. package/definitions/game/ui/component/Button.d.ts +14 -11
  1166. package/definitions/game/ui/component/CheckButton.d.ts +16 -7
  1167. package/definitions/game/ui/component/CheckButtonRange.d.ts +7 -7
  1168. package/definitions/game/ui/component/ChoiceList.d.ts +25 -14
  1169. package/definitions/game/ui/component/Component.d.ts +60 -34
  1170. package/definitions/game/ui/component/Contenteditable.d.ts +2 -2
  1171. package/definitions/game/ui/component/ContextMenu.d.ts +45 -22
  1172. package/definitions/game/ui/component/Details.d.ts +17 -3
  1173. package/definitions/game/ui/component/Divider.d.ts +2 -2
  1174. package/definitions/game/ui/component/Dropdown.d.ts +41 -14
  1175. package/definitions/game/ui/component/EnableDisableAllRow.d.ts +4 -4
  1176. package/definitions/game/ui/component/EnumContextMenu.d.ts +2 -2
  1177. package/definitions/game/ui/component/FilterRow.d.ts +2 -2
  1178. package/definitions/game/ui/component/GameIcons.d.ts +11 -11
  1179. package/definitions/game/ui/component/GroupDropdown.d.ts +8 -8
  1180. package/definitions/game/ui/component/HorizontalLine.d.ts +2 -2
  1181. package/definitions/game/ui/component/IComponent.d.ts +20 -19
  1182. package/definitions/game/ui/component/IThreeStateButton.d.ts +2 -2
  1183. package/definitions/game/ui/component/Icon.d.ts +16 -0
  1184. package/definitions/game/ui/component/Input.d.ts +6 -6
  1185. package/definitions/game/ui/component/InputButton.d.ts +4 -4
  1186. package/definitions/game/ui/component/InputRow.d.ts +5 -5
  1187. package/definitions/game/ui/component/LabeledButtonRow.d.ts +4 -4
  1188. package/definitions/game/ui/component/LabelledRow.d.ts +3 -3
  1189. package/definitions/game/ui/component/Lightbox.d.ts +5 -5
  1190. package/definitions/game/ui/component/List.d.ts +4 -4
  1191. package/definitions/game/ui/component/Loading.d.ts +21 -0
  1192. package/definitions/game/ui/component/RangeChoiceList.d.ts +51 -0
  1193. package/definitions/game/ui/component/RangeInput.d.ts +6 -6
  1194. package/definitions/game/ui/component/RangeInputValueDisplay.d.ts +3 -3
  1195. package/definitions/game/ui/component/RangeRow.d.ts +17 -13
  1196. package/definitions/game/ui/component/Refreshable.d.ts +1 -1
  1197. package/definitions/game/ui/component/RowSection.d.ts +2 -2
  1198. package/definitions/game/ui/component/SortRow.d.ts +28 -16
  1199. package/definitions/game/ui/component/TabContainer.d.ts +43 -0
  1200. package/definitions/game/ui/component/Text.d.ts +58 -37
  1201. package/definitions/game/ui/component/Textarea.d.ts +2 -2
  1202. package/definitions/game/ui/component/ThreeStateButton.d.ts +6 -6
  1203. package/definitions/game/ui/component/TransientIslandComponent.d.ts +7 -7
  1204. package/definitions/game/ui/component/WarningRow.d.ts +5 -5
  1205. package/definitions/game/ui/component/dropdown/CorpseDropdown.d.ts +6 -5
  1206. package/definitions/game/ui/component/dropdown/CreatureDropdown.d.ts +4 -4
  1207. package/definitions/game/ui/component/dropdown/DoodadDropdown.d.ts +4 -4
  1208. package/definitions/game/ui/component/dropdown/EnumDropdown.d.ts +21 -11
  1209. package/definitions/game/ui/component/dropdown/IslandDropdown.d.ts +11 -8
  1210. package/definitions/game/ui/component/dropdown/IslandPortsDropdown.d.ts +6 -6
  1211. package/definitions/game/ui/component/dropdown/ItemDropdown.d.ts +18 -5
  1212. package/definitions/game/ui/component/dropdown/MagicalPropertyDropdown.d.ts +29 -0
  1213. package/definitions/game/ui/component/dropdown/NPCDropdown.d.ts +6 -5
  1214. package/definitions/game/ui/component/dropdown/NPCTypeDropdown.d.ts +4 -4
  1215. package/definitions/game/ui/component/dropdown/PlayerDropdown.d.ts +6 -5
  1216. package/definitions/game/ui/component/dropdown/SkillDropdown.d.ts +4 -4
  1217. package/definitions/game/ui/component/dropdown/TerrainDropdown.d.ts +4 -4
  1218. package/definitions/game/ui/component/dropdown/TileEventDropdown.d.ts +4 -4
  1219. package/definitions/game/ui/input/Bind.d.ts +53 -8
  1220. package/definitions/game/ui/input/Bindable.d.ts +232 -199
  1221. package/definitions/game/ui/input/BindableManager.d.ts +7 -7
  1222. package/definitions/game/ui/input/Bindables.d.ts +5 -5
  1223. package/definitions/game/ui/input/Bindings.d.ts +9 -8
  1224. package/definitions/game/ui/input/Defaults.d.ts +5 -5
  1225. package/definitions/game/ui/input/IIInput.d.ts +2 -2
  1226. package/definitions/game/ui/input/IInput.d.ts +10 -6
  1227. package/definitions/game/ui/input/InputManager.d.ts +9 -9
  1228. package/definitions/game/ui/input/Macros.d.ts +10 -10
  1229. package/definitions/game/ui/old/IOldUi.d.ts +9 -22
  1230. package/definitions/game/ui/old/OldUi.d.ts +3 -26
  1231. package/definitions/game/ui/old/screens/BaseScreen.d.ts +2 -3
  1232. package/definitions/game/ui/old/screens/InGameScreen.d.ts +21 -160
  1233. package/definitions/game/ui/screen/IScreen.d.ts +1 -1
  1234. package/definitions/game/ui/screen/Screen.d.ts +20 -13
  1235. package/definitions/game/ui/screen/ScreenManager.d.ts +13 -7
  1236. package/definitions/game/ui/screen/ScreenMap.d.ts +7 -7
  1237. package/definitions/game/ui/screen/screens/DedicatedServerScreen.d.ts +2 -2
  1238. package/definitions/game/ui/screen/screens/GameScreen.d.ts +96 -35
  1239. package/definitions/game/ui/screen/screens/InterruptScreen.d.ts +5 -5
  1240. package/definitions/game/ui/screen/screens/MainMenuScreen.d.ts +2 -2
  1241. package/definitions/game/ui/screen/screens/SplashScreen.d.ts +5 -2
  1242. package/definitions/game/ui/screen/screens/game/DialogManager.d.ts +13 -7
  1243. package/definitions/game/ui/screen/screens/game/DialogMap.d.ts +23 -15
  1244. package/definitions/game/ui/screen/screens/game/Dialogs.d.ts +14 -6
  1245. package/definitions/game/ui/screen/screens/game/IGameScreenApi.d.ts +42 -8
  1246. package/definitions/game/ui/screen/screens/game/IMessages.d.ts +3 -3
  1247. package/definitions/game/ui/screen/screens/game/InspectionHandlers.d.ts +5 -4
  1248. package/definitions/game/ui/screen/screens/game/InspectionsTooltipHandler.d.ts +8 -8
  1249. package/definitions/game/ui/screen/screens/game/ReferenceIconRenderer.d.ts +8 -5
  1250. package/definitions/game/ui/screen/screens/game/ReferenceTooltipHandler.d.ts +9 -9
  1251. package/definitions/game/ui/screen/screens/game/WorldTooltipHandler.d.ts +10 -5
  1252. package/definitions/game/ui/screen/screens/game/component/CanvasDialog.d.ts +9 -21
  1253. package/definitions/game/ui/screen/screens/game/component/ContainerBucket.d.ts +98 -0
  1254. package/definitions/game/ui/screen/screens/game/component/Dialog.d.ts +68 -35
  1255. package/definitions/game/ui/screen/screens/game/component/DialogSortFilter.d.ts +64 -0
  1256. package/definitions/game/ui/screen/screens/game/component/GameDetails.d.ts +21 -16
  1257. package/definitions/game/ui/screen/screens/game/component/IQuadrantComponent.d.ts +1 -1
  1258. package/definitions/game/ui/screen/screens/game/component/InspectionsList.d.ts +18 -16
  1259. package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +176 -35
  1260. package/definitions/game/ui/screen/screens/game/component/PopupOverlay.d.ts +5 -4
  1261. package/definitions/game/ui/screen/screens/game/component/PrerenderedCanvasDialog.d.ts +2 -2
  1262. package/definitions/game/ui/screen/screens/game/component/QuadrantComponent.d.ts +23 -18
  1263. package/definitions/game/ui/screen/screens/game/component/StaticComponent.d.ts +2 -2
  1264. package/definitions/game/ui/screen/screens/game/component/TabDialog.d.ts +8 -8
  1265. package/definitions/game/ui/screen/screens/game/component/TabDialogPanel.d.ts +7 -3
  1266. package/definitions/game/ui/screen/screens/game/component/TileInspectionsList.d.ts +5 -5
  1267. package/definitions/game/ui/screen/screens/game/component/canvas/CanvasSpriteCache.d.ts +22 -0
  1268. package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +146 -0
  1269. package/definitions/game/{game/entity/action/usable/actions/UsableActionsActionBar.d.ts → ui/screen/screens/game/component/deities/AlignmentGraph.d.ts} +1 -1
  1270. package/definitions/game/ui/screen/screens/game/dialog/AltarDialog.d.ts +38 -0
  1271. package/definitions/game/ui/screen/screens/game/dialog/BookDialog.d.ts +8 -5
  1272. package/definitions/game/ui/screen/screens/game/dialog/ContainerDialog.d.ts +43 -0
  1273. package/definitions/game/ui/screen/screens/game/dialog/CraftingDialog.d.ts +6 -6
  1274. package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +15 -14
  1275. package/definitions/game/ui/screen/screens/game/dialog/IMilestonesDialog.d.ts +3 -2
  1276. package/definitions/game/ui/screen/screens/game/dialog/ISkillsDialog.d.ts +3 -2
  1277. package/definitions/game/ui/screen/screens/game/dialog/InspectDialog.d.ts +23 -13
  1278. package/definitions/game/ui/screen/screens/game/dialog/InventoryDialog.d.ts +23 -0
  1279. package/definitions/game/ui/screen/screens/game/dialog/IslandsSailDialog.d.ts +8 -8
  1280. package/definitions/game/ui/screen/screens/game/dialog/IslandsShippingDialog.d.ts +6 -6
  1281. package/definitions/game/ui/screen/screens/game/dialog/MapDialog.d.ts +14 -9
  1282. package/definitions/game/ui/screen/screens/game/dialog/MessagesDialog.d.ts +4 -4
  1283. package/definitions/game/ui/screen/screens/game/dialog/MessagesEditFiltersDialog.d.ts +4 -4
  1284. package/definitions/game/ui/screen/screens/game/dialog/MilestonesDialog.d.ts +26 -16
  1285. package/definitions/game/ui/screen/screens/game/dialog/NotesDialog.d.ts +6 -6
  1286. package/definitions/game/ui/screen/screens/game/dialog/QuestDialog.d.ts +10 -4
  1287. package/definitions/game/ui/screen/screens/game/dialog/QuickSettingsDialog.d.ts +5 -5
  1288. package/definitions/game/ui/screen/screens/game/dialog/SkillsDialog.d.ts +29 -18
  1289. package/definitions/game/ui/screen/screens/game/dialog/TradeDialog.d.ts +75 -0
  1290. package/definitions/game/ui/screen/screens/game/dialog/crafting/RecipeButton.d.ts +5 -5
  1291. package/definitions/game/ui/screen/screens/game/dialog/crafting/RecipeCache.d.ts +6 -5
  1292. package/definitions/game/ui/screen/screens/game/dialog/equipment/EquipmentSlotTooltip.d.ts +15 -14
  1293. package/definitions/game/ui/screen/screens/game/dialog/islands/IIslandsDialog.d.ts +7 -6
  1294. package/definitions/game/ui/screen/screens/game/dialog/islands/IslandsDialog.d.ts +12 -12
  1295. package/definitions/game/ui/screen/screens/game/dialog/unlockables/UnlockablesDialog.d.ts +70 -0
  1296. package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +53 -99
  1297. package/definitions/game/ui/screen/screens/game/static/MenuBar.d.ts +14 -11
  1298. package/definitions/game/ui/screen/screens/game/static/Messages.d.ts +41 -36
  1299. package/definitions/game/ui/screen/screens/game/static/Placeholder.d.ts +4 -4
  1300. package/definitions/game/ui/screen/screens/game/static/Stats.d.ts +15 -8
  1301. package/definitions/game/ui/screen/screens/game/static/actions/ActionBarBindableManager.d.ts +2 -2
  1302. package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +130 -0
  1303. package/definitions/game/ui/screen/screens/game/static/actions/ActionSlotConfigurationColumn.d.ts +120 -0
  1304. package/definitions/game/ui/screen/screens/game/static/actions/ActionSlotTooltip.d.ts +12 -11
  1305. package/definitions/game/ui/screen/screens/game/static/actions/ActionsDrawer.d.ts +20 -94
  1306. package/definitions/game/ui/screen/screens/game/static/actions/ActionsList.d.ts +71 -0
  1307. package/definitions/game/ui/screen/screens/game/static/actions/ActionsSelector.d.ts +69 -0
  1308. package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +49 -24
  1309. package/definitions/game/ui/screen/screens/game/static/actions/IActionsDrawer.d.ts +2 -4
  1310. package/definitions/game/ui/screen/screens/game/static/menubar/IMenuBarButton.d.ts +8 -8
  1311. package/definitions/game/ui/screen/screens/game/static/menubar/MenuBarButton.d.ts +4 -4
  1312. package/definitions/game/ui/screen/screens/game/static/menubar/MenuBarButtonDescriptions.d.ts +3 -3
  1313. package/definitions/game/ui/screen/screens/game/static/menubar/descriptions/IslandsButtonDescription.d.ts +9 -8
  1314. package/definitions/game/ui/screen/screens/game/static/menubar/descriptions/NotesButtonDescription.d.ts +7 -6
  1315. package/definitions/game/ui/screen/screens/game/static/messages/MessageLog.d.ts +83 -0
  1316. package/definitions/game/{game/entity/action/actions/RubClockwise.d.ts → ui/screen/screens/game/static/stats/AttackDefenseDisplay.d.ts} +3 -4
  1317. package/definitions/game/{game/entity/action/actions/RubCounterClockwise.d.ts → ui/screen/screens/game/static/stats/AttackDisplay.d.ts} +3 -4
  1318. package/definitions/game/ui/screen/screens/game/static/stats/CurseDisplay.d.ts +13 -0
  1319. package/definitions/game/ui/screen/screens/game/static/stats/DefenseDisplay.d.ts +13 -0
  1320. package/definitions/game/ui/screen/screens/game/static/stats/GenericStatsDisplay.d.ts +13 -0
  1321. package/definitions/game/ui/screen/screens/game/static/stats/HealthDisplay.d.ts +14 -0
  1322. package/definitions/game/ui/screen/screens/game/static/stats/HungerDisplay.d.ts +13 -0
  1323. package/definitions/game/ui/screen/screens/game/static/stats/IStatDisplayDescription.d.ts +42 -15
  1324. package/definitions/game/ui/screen/screens/game/static/stats/StaminaDisplay.d.ts +13 -0
  1325. package/definitions/game/ui/screen/screens/game/static/stats/StatDisplayDescriptions.d.ts +3 -3
  1326. package/definitions/game/ui/screen/screens/game/static/stats/ThirstDisplay.d.ts +14 -0
  1327. package/definitions/game/ui/screen/screens/game/static/stats/WeightDisplay.d.ts +13 -0
  1328. package/definitions/game/ui/screen/screens/game/static/stats/component/StatComponent.d.ts +118 -0
  1329. package/definitions/game/ui/screen/screens/game/static/stats/component/StatusContext.d.ts +22 -0
  1330. package/definitions/game/ui/screen/screens/game/static/stats/component/StatusIcon.d.ts +31 -0
  1331. package/definitions/game/ui/screen/screens/game/static/stats/component/Statuses.d.ts +53 -0
  1332. package/definitions/game/ui/screen/screens/game/util/HoveredTileTracker.d.ts +28 -0
  1333. package/definitions/game/ui/screen/screens/game/util/item/ItemStylesheet.d.ts +23 -10
  1334. package/definitions/game/ui/screen/screens/game/util/item/SpriteEditor.d.ts +54 -0
  1335. package/definitions/game/ui/screen/screens/game/util/movement/ActionMenuHandler.d.ts +36 -0
  1336. package/definitions/game/ui/screen/screens/game/util/movement/InteractionHandler.d.ts +42 -0
  1337. package/definitions/game/ui/screen/screens/game/util/movement/InteractionManager.d.ts +30 -0
  1338. package/definitions/game/ui/screen/screens/game/util/movement/MovementHandler.d.ts +14 -14
  1339. package/definitions/game/ui/screen/screens/game/util/movement/PathOverlayArrows.d.ts +3 -3
  1340. package/definitions/game/ui/screen/screens/game/util/movement/PathOverlayFootPrints.d.ts +3 -3
  1341. package/definitions/game/ui/screen/screens/game/util/movement/PathOverlayWalkDots.d.ts +3 -3
  1342. package/definitions/game/ui/screen/screens/game/util/movement/{WalkToTileHandler.d.ts → PathingHandler.d.ts} +14 -29
  1343. package/definitions/game/ui/screen/screens/menu/MenuManager.d.ts +6 -6
  1344. package/definitions/game/ui/screen/screens/menu/MenuMap.d.ts +19 -19
  1345. package/definitions/game/ui/screen/screens/menu/component/ChoiceListTurnModes.d.ts +3 -3
  1346. package/definitions/game/ui/screen/screens/menu/component/HighscoreRow.d.ts +4 -4
  1347. package/definitions/game/ui/screen/screens/menu/component/IMenu.d.ts +3 -3
  1348. package/definitions/game/ui/screen/screens/menu/component/Menu.d.ts +27 -11
  1349. package/definitions/game/ui/screen/screens/menu/component/MilestoneModifierCheckButton.d.ts +3 -3
  1350. package/definitions/game/ui/screen/screens/menu/component/MilestoneModifiers.d.ts +5 -5
  1351. package/definitions/game/ui/screen/screens/menu/component/MilestonesNotUnlockableWarning.d.ts +4 -4
  1352. package/definitions/game/ui/screen/screens/menu/component/SelectionHandler.d.ts +5 -5
  1353. package/definitions/game/ui/screen/screens/menu/component/Spacer.d.ts +2 -2
  1354. package/definitions/game/ui/screen/screens/menu/menus/BindingsMenu.d.ts +3 -3
  1355. package/definitions/game/ui/screen/screens/menu/menus/CharacterSelectionMenu.d.ts +3 -3
  1356. package/definitions/game/ui/screen/screens/menu/menus/GameEndMenu.d.ts +5 -5
  1357. package/definitions/game/ui/screen/screens/menu/menus/HelpArticleMenu.d.ts +3 -3
  1358. package/definitions/game/ui/screen/screens/menu/menus/HelpMenu.d.ts +3 -3
  1359. package/definitions/game/ui/screen/screens/menu/menus/HighscoresMenu.d.ts +2 -2
  1360. package/definitions/game/ui/screen/screens/menu/menus/InterruptMenu.d.ts +12 -12
  1361. package/definitions/game/ui/screen/screens/menu/menus/JoinServerChooseModifiersMenu.d.ts +5 -5
  1362. package/definitions/game/ui/screen/screens/menu/menus/JoinServerMenu.d.ts +5 -5
  1363. package/definitions/game/ui/screen/screens/menu/menus/LoadGameMenu.d.ts +12 -17
  1364. package/definitions/game/ui/screen/screens/menu/menus/MainMenu.d.ts +7 -6
  1365. package/definitions/game/ui/screen/screens/menu/menus/MilestoneModifiersMenu.d.ts +8 -8
  1366. package/definitions/game/ui/screen/screens/menu/menus/ModsMenu.d.ts +12 -11
  1367. package/definitions/game/ui/screen/screens/menu/menus/MultiplayerMenu.d.ts +2 -2
  1368. package/definitions/game/ui/screen/screens/menu/menus/NewGameMenu.d.ts +16 -10
  1369. package/definitions/game/ui/screen/screens/menu/menus/OptionsMenu.d.ts +2 -2
  1370. package/definitions/game/ui/screen/screens/menu/menus/PauseMenu.d.ts +13 -11
  1371. package/definitions/game/ui/screen/screens/menu/menus/character/Character.d.ts +2 -2
  1372. package/definitions/game/ui/screen/screens/menu/menus/character/CharacterButton.d.ts +4 -4
  1373. package/definitions/game/ui/screen/screens/menu/menus/character/CharacterCreationMenu.d.ts +4 -4
  1374. package/definitions/game/ui/screen/screens/menu/menus/character/CharacterPreview.d.ts +4 -4
  1375. package/definitions/game/ui/screen/screens/menu/menus/character/HairstyleChoice.d.ts +5 -5
  1376. package/definitions/game/ui/screen/screens/menu/menus/character/Swatch.d.ts +3 -3
  1377. package/definitions/game/ui/screen/screens/menu/menus/help/HelpArticleDescriptions.d.ts +5 -5
  1378. package/definitions/game/ui/screen/screens/menu/menus/help/IHelpArticle.d.ts +7 -6
  1379. package/definitions/game/ui/screen/screens/menu/menus/highscores/IHighscoresMenu.d.ts +1 -1
  1380. package/definitions/game/ui/screen/screens/menu/menus/loadgame/ImportFoldersList.d.ts +59 -0
  1381. package/definitions/game/ui/screen/screens/menu/menus/loadgame/SaveSlot.d.ts +21 -34
  1382. package/definitions/game/ui/screen/screens/menu/menus/loadgame/SaveSlotList.d.ts +29 -0
  1383. package/definitions/game/ui/screen/screens/menu/menus/loadgame/SavedGamesList.d.ts +43 -0
  1384. package/definitions/game/ui/screen/screens/menu/menus/main/AboutMenu.d.ts +2 -2
  1385. package/definitions/game/ui/screen/screens/menu/menus/main/ChangelogMenu.d.ts +3 -3
  1386. package/definitions/game/ui/screen/screens/menu/menus/main/IAbout.d.ts +4 -6
  1387. package/definitions/game/ui/screen/screens/menu/menus/main/NewsMenu.d.ts +2 -2
  1388. package/definitions/game/ui/screen/screens/menu/menus/main/component/IWebsite.d.ts +1 -1
  1389. package/definitions/game/ui/screen/screens/menu/menus/main/component/SocialRow.d.ts +3 -3
  1390. package/definitions/game/ui/screen/screens/menu/menus/mods/EditInternalModsMenu.d.ts +30 -3
  1391. package/definitions/game/ui/screen/screens/menu/menus/mods/IModsMenu.d.ts +1 -1
  1392. package/definitions/game/ui/screen/screens/menu/menus/mods/ModButtonInserter.d.ts +6 -7
  1393. package/definitions/game/ui/screen/screens/menu/menus/mods/ModInfoMenu.d.ts +7 -7
  1394. package/definitions/game/ui/screen/screens/menu/menus/mods/ModMetadataInserter.d.ts +7 -6
  1395. package/definitions/game/ui/screen/screens/menu/menus/mods/ModRow.d.ts +6 -7
  1396. package/definitions/game/ui/screen/screens/menu/menus/multiplayer/ServerRow.d.ts +9 -9
  1397. package/definitions/game/ui/screen/screens/menu/menus/newgame/CustomGameOptionsMenu.d.ts +5 -5
  1398. package/definitions/game/ui/screen/screens/menu/menus/newgame/TabGameMode.d.ts +7 -7
  1399. package/definitions/game/ui/screen/screens/menu/menus/newgame/TabGameplayModifiers.d.ts +8 -8
  1400. package/definitions/game/ui/screen/screens/menu/menus/newgame/TabMultiplayer.d.ts +7 -7
  1401. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/CustomGameOptionsTab.d.ts +8 -9
  1402. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/Multiplier.d.ts +1 -1
  1403. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabCreatures.d.ts +4 -4
  1404. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabGeneral.d.ts +3 -3
  1405. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabItems.d.ts +3 -3
  1406. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabSkills.d.ts +4 -4
  1407. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStats.d.ts +3 -3
  1408. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/{TabReputation.d.ts → TabStatuses.d.ts} +4 -4
  1409. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTime.d.ts +7 -7
  1410. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTravel.d.ts +3 -3
  1411. package/definitions/game/ui/screen/screens/menu/menus/options/BindRow.d.ts +10 -10
  1412. package/definitions/game/ui/screen/screens/menu/menus/options/IOptionsTabs.d.ts +4 -4
  1413. package/definitions/game/ui/screen/screens/menu/menus/options/TabAudio.d.ts +3 -3
  1414. package/definitions/game/ui/screen/screens/menu/menus/options/TabControls.d.ts +3 -3
  1415. package/definitions/game/ui/screen/screens/menu/menus/options/TabDeveloper.d.ts +11 -14
  1416. package/definitions/game/ui/screen/screens/menu/menus/options/TabGameplay.d.ts +4 -4
  1417. package/definitions/game/ui/screen/screens/menu/menus/options/TabLanguage.d.ts +3 -3
  1418. package/definitions/game/ui/screen/screens/menu/menus/options/TabMods.d.ts +8 -7
  1419. package/definitions/game/ui/screen/screens/menu/menus/options/TabOther.d.ts +3 -5
  1420. package/definitions/game/ui/screen/screens/menu/menus/options/TabPerformance.d.ts +3 -3
  1421. package/definitions/game/ui/screen/screens/menu/menus/options/TabSaveData.d.ts +5 -4
  1422. package/definitions/game/ui/screen/screens/menu/menus/options/TabTooltips.d.ts +3 -3
  1423. package/definitions/game/ui/screen/screens/menu/menus/options/TabVideo.d.ts +9 -6
  1424. package/definitions/game/ui/screen/screens/menu/menus/pause/GameOptionsIcons.d.ts +21 -22
  1425. package/definitions/game/ui/screen/screens/menu/menus/pause/GameSettingsMenu.d.ts +4 -5
  1426. package/definitions/game/ui/screen/screens/menu/menus/pause/MultiplayerOptionsMenu.d.ts +3 -2
  1427. package/definitions/game/ui/screen/screens/splash/DevelopmentBranchNotice.d.ts +14 -0
  1428. package/definitions/game/ui/screen/screens/splash/Notice.d.ts +46 -0
  1429. package/definitions/game/ui/tooltip/Tooltip.d.ts +20 -14
  1430. package/definitions/game/ui/tooltip/TooltipLocationHandler.d.ts +8 -5
  1431. package/definitions/game/ui/tooltip/TooltipManager.d.ts +6 -5
  1432. package/definitions/game/ui/util/ComponentManipulator.d.ts +10 -11
  1433. package/definitions/game/ui/util/DataCache.d.ts +26 -0
  1434. package/definitions/game/ui/util/Database.d.ts +93 -0
  1435. package/definitions/game/ui/util/Draggable.d.ts +13 -9
  1436. package/definitions/game/ui/util/FocusManager.d.ts +34 -0
  1437. package/definitions/game/ui/util/HighlightManager.d.ts +6 -4
  1438. package/definitions/game/ui/util/HudWidthManager.d.ts +1 -1
  1439. package/definitions/game/ui/util/IHighlight.d.ts +15 -4
  1440. package/definitions/game/ui/util/IInterrupt.d.ts +9 -8
  1441. package/definitions/game/ui/util/ImagePath.d.ts +8 -7
  1442. package/definitions/game/ui/util/InterruptFactory.d.ts +11 -10
  1443. package/definitions/game/ui/util/Misc.d.ts +5 -6
  1444. package/definitions/game/ui/util/ScaleManager.d.ts +7 -2
  1445. package/definitions/game/ui/util/ScrollableHandler.d.ts +3 -3
  1446. package/definitions/game/ui/util/Sortable.d.ts +75 -9
  1447. package/definitions/game/ui/util/Store.d.ts +27 -0
  1448. package/definitions/game/utilities/CommandLine.d.ts +3 -3
  1449. package/definitions/game/utilities/Files.d.ts +5 -2
  1450. package/definitions/game/utilities/Observer.d.ts +64 -0
  1451. package/definitions/game/utilities/Optional.d.ts +26 -0
  1452. package/definitions/game/utilities/PerfCache.d.ts +20 -0
  1453. package/definitions/game/utilities/UUID.d.ts +3 -3
  1454. package/definitions/game/utilities/Version.d.ts +4 -4
  1455. package/definitions/game/utilities/WebWorker.d.ts +31 -0
  1456. package/definitions/game/utilities/collection/Graceful.d.ts +3 -4
  1457. package/definitions/game/utilities/collection/graph/DelaunayTriangulation.d.ts +26 -0
  1458. package/definitions/game/utilities/collection/graph/MinimumSpanningTree.d.ts +34 -0
  1459. package/definitions/game/utilities/collection/graph/Vertex.d.ts +22 -0
  1460. package/definitions/game/utilities/collection/{tree → kdtree}/KdNearestPoints.d.ts +2 -2
  1461. package/definitions/game/utilities/collection/{tree → kdtree}/KdTree.d.ts +4 -4
  1462. package/definitions/game/utilities/collection/{tree → kdtree}/KdTreeNode.d.ts +2 -2
  1463. package/definitions/game/utilities/collection/map/DefaultMap.d.ts +6 -4
  1464. package/definitions/game/utilities/dev/Performance2.d.ts +1 -1
  1465. package/definitions/game/utilities/dev/Reflection.d.ts +13 -4
  1466. package/definitions/game/utilities/enum/EnumCursor.d.ts +2 -2
  1467. package/definitions/game/utilities/enum/EnumInfo.d.ts +4 -3
  1468. package/definitions/game/utilities/enum/EnumManager.d.ts +11 -9
  1469. package/definitions/game/utilities/enum/Enums.d.ts +32 -19
  1470. package/definitions/game/utilities/generic/GenericManager.d.ts +5 -6
  1471. package/definitions/game/utilities/generic/IGenericManager.d.ts +1 -1
  1472. package/definitions/game/utilities/math/Bound3.d.ts +2 -2
  1473. package/definitions/game/utilities/math/Direction.d.ts +12 -5
  1474. package/definitions/game/utilities/math/IVector.d.ts +3 -9
  1475. package/definitions/game/utilities/math/Sampler.d.ts +2 -2
  1476. package/definitions/game/utilities/math/Vector2.d.ts +31 -8
  1477. package/definitions/game/utilities/math/Vector3.d.ts +6 -4
  1478. package/definitions/game/utilities/math/Vector4.d.ts +4 -4
  1479. package/definitions/game/utilities/math/shapes/Arc.d.ts +19 -0
  1480. package/definitions/game/utilities/math/shapes/Circle.d.ts +27 -0
  1481. package/definitions/game/utilities/math/shapes/Edge.d.ts +37 -0
  1482. package/definitions/game/utilities/math/{Rectangle.d.ts → shapes/Rectangle.d.ts} +11 -6
  1483. package/definitions/game/utilities/math/shapes/Triangle.d.ts +31 -0
  1484. package/definitions/game/utilities/memory/MemoryLeakDetector.d.ts +4 -3
  1485. package/definitions/game/utilities/object/Descriptions.d.ts +4 -5
  1486. package/definitions/game/utilities/object/FancyJsonSerializer.d.ts +2 -2
  1487. package/definitions/game/utilities/object/Instantiate.d.ts +1 -1
  1488. package/definitions/game/utilities/object/JsonC.d.ts +2 -2
  1489. package/definitions/game/utilities/object/JsonHelper.d.ts +2 -2
  1490. package/definitions/game/utilities/object/Merge.d.ts +4 -4
  1491. package/definitions/game/utilities/object/PrettyJsonStringify.d.ts +1 -1
  1492. package/definitions/game/utilities/prototype/Apply.d.ts +1 -1
  1493. package/definitions/game/utilities/random/RandomReference.d.ts +4 -4
  1494. package/definitions/game/utilities/random/RandomUtilities.d.ts +6 -23
  1495. package/definitions/game/utilities/random/RandomValueGenerator.d.ts +8 -5
  1496. package/definitions/game/utilities/random/generators/specific/RandomItem.d.ts +13 -10
  1497. package/definitions/game/utilities/random/generators/specific/RandomRange.d.ts +6 -6
  1498. package/definitions/game/utilities/string/Interpolator.d.ts +17 -9
  1499. package/definitions/game/utilities/string/Strings.d.ts +2 -2
  1500. package/definitions/game/utilities/trello/ITrello.d.ts +3 -2
  1501. package/definitions/game/utilities/trello/Trello.d.ts +4 -3
  1502. package/definitions/game/utilities/types/Recursive.d.ts +3 -3
  1503. package/definitions/game/webWorker/WebWorkerClient.d.ts +4 -4
  1504. package/definitions/game/webWorker/WebWorkerManager.d.ts +5 -5
  1505. package/definitions/game/webWorker/WebWorkerMessages.d.ts +2 -2
  1506. package/definitions/hosts/browser/browserLoader.d.ts +3 -4
  1507. package/definitions/hosts/browser/index.d.ts +1 -1
  1508. package/definitions/hosts/browser/load.d.ts +1 -1
  1509. package/definitions/hosts/electron/main/cmd/mod.d.ts +2 -2
  1510. package/definitions/hosts/electron/main/index.d.ts +1 -1
  1511. package/definitions/hosts/electron/main/interfaces.d.ts +18 -5
  1512. package/definitions/hosts/electron/main/ipc/handlers/electron/electron.d.ts +3 -1
  1513. package/definitions/hosts/electron/main/ipc/handlers/fileSystem/fileSystem.d.ts +1 -1
  1514. package/definitions/hosts/electron/main/ipc/handlers/os/os.d.ts +2 -2
  1515. package/definitions/hosts/electron/main/ipc/interfaces.d.ts +1 -1
  1516. package/definitions/hosts/electron/main/ipc/ipc.d.ts +1 -1
  1517. package/definitions/hosts/electron/main/launchOptions.d.ts +2 -5
  1518. package/definitions/hosts/electron/main/util/file.d.ts +4 -4
  1519. package/definitions/hosts/electron/main/util/game.d.ts +1 -1
  1520. package/definitions/hosts/electron/main/util/objects.d.ts +1 -1
  1521. package/definitions/hosts/electron/preload/greenworks.d.ts +1 -1
  1522. package/definitions/hosts/electron/preload/index.d.ts +1 -1
  1523. package/definitions/hosts/electron/preload/ipc.d.ts +1 -1
  1524. package/definitions/hosts/electron/preload/wayward-napi.d.ts +1 -1
  1525. package/definitions/hosts/node/index.d.ts +1 -1
  1526. package/definitions/hosts/node/nodeLoader.d.ts +5 -5
  1527. package/definitions/hosts/shared/args.d.ts +1 -1
  1528. package/definitions/hosts/shared/baseLoader.d.ts +1 -1
  1529. package/definitions/hosts/shared/globalTypes.d.ts +17 -3
  1530. package/definitions/hosts/shared/globals.d.ts +6 -5
  1531. package/definitions/hosts/shared/interfaces.d.ts +47 -15
  1532. package/definitions/hosts/shared/ipc/electron.d.ts +3 -1
  1533. package/definitions/hosts/shared/ipc/fileSystem.d.ts +2 -5
  1534. package/definitions/hosts/shared/ipc/handlers/fileSystem/fileSystem.d.ts +5 -7
  1535. package/definitions/hosts/shared/ipc/handlers/fileSystem/logFile.d.ts +1 -1
  1536. package/definitions/hosts/shared/ipc/handlers/os/os.d.ts +3 -5
  1537. package/definitions/hosts/shared/ipc/os.d.ts +2 -4
  1538. package/definitions/hosts/shared/ipc.d.ts +1 -1
  1539. package/definitions/hosts/webworker/index.d.ts +1 -1
  1540. package/definitions/hosts/webworker/load.d.ts +1 -1
  1541. package/definitions/language-sync/index.d.ts +1 -1
  1542. package/definitions/language-sync/language.d.ts +1 -1
  1543. package/definitions/launcher/App.d.ts +2 -2
  1544. package/definitions/launcher/Init.d.ts +3 -3
  1545. package/definitions/launcher/Production.d.ts +3 -1
  1546. package/definitions/launcher/ui/LauncherUI.d.ts +13 -10
  1547. package/definitions/launcher/ui/component/Article.d.ts +2 -2
  1548. package/definitions/launcher/ui/component/Button.d.ts +2 -2
  1549. package/definitions/launcher/ui/component/Component.d.ts +2 -2
  1550. package/definitions/launcher/ui/component/InputButton.d.ts +4 -4
  1551. package/definitions/launcher/ui/component/Section.d.ts +2 -2
  1552. package/definitions/launcher/ui/launcher/FolderButton.d.ts +6 -6
  1553. package/definitions/launcher/ui/launcher/FolderSelector.d.ts +6 -6
  1554. package/definitions/launcher/ui/launcher/Mods.d.ts +3 -3
  1555. package/definitions/launcher/ui/launcher/Resources.d.ts +3 -3
  1556. package/definitions/launcher/ui/launcher/Saves.d.ts +3 -3
  1557. package/definitions/launcher/utilities/Data.d.ts +1 -1
  1558. package/definitions/launcher/utilities/EventManager.d.ts +3 -3
  1559. package/definitions/launcher/utilities/prototype/Apply.d.ts +1 -1
  1560. package/definitions/matchmakingserver/dedicatedServer.d.ts +3 -2
  1561. package/definitions/matchmakingserver/directoryConnection.d.ts +1 -2
  1562. package/definitions/matchmakingserver/globalMatchmaking.d.ts +1 -1
  1563. package/definitions/matchmakingserver/globalServerDirectory.d.ts +1 -1
  1564. package/definitions/matchmakingserver/index.d.ts +1 -1
  1565. package/definitions/matchmakingserver/server.d.ts +1 -1
  1566. package/definitions/matchmakingserver/shared.d.ts +4 -41
  1567. package/definitions/matchmakingserver/vps.d.ts +1 -1
  1568. package/definitions/test/core/application.d.ts +18 -4
  1569. package/definitions/test/core/applicationDom.d.ts +9 -5
  1570. package/definitions/test/core/applicationInteraction.d.ts +51 -0
  1571. package/definitions/test/core/applicationInteractions.d.ts +22 -13
  1572. package/definitions/test/core/applicationLogger.d.ts +1 -2
  1573. package/definitions/test/core/applicationManager.d.ts +11 -4
  1574. package/definitions/test/core/chromeDriver.d.ts +1 -1
  1575. package/definitions/test/core/marshals/ui/ContainerBucketMarshal.d.ts +13 -0
  1576. package/definitions/test/core/marshals/ui/itemComponentMarshal.d.ts +25 -0
  1577. package/definitions/test/index.d.ts +2 -1
  1578. package/definitions/test/interfaces.d.ts +6 -1
  1579. package/definitions/test/suite/functionalTests/multiplayer/Multiplayer.spec.d.ts +1 -1
  1580. package/definitions/test/suite/functionalTests/singleplayer/SaveImport.spec.d.ts +1 -1
  1581. package/definitions/test/suite/functionalTests/singleplayer/Singleplayer.spec.d.ts +1 -1
  1582. package/definitions/{game/language/english/ui/InventorySorts.d.ts → test/suite/functionalTests/singleplayer/creature/PathThroughCaveEntrancesIfTamed.d.ts} +4 -4
  1583. package/definitions/test/suite/functionalTests/singleplayer/ui/ItemComponentLeak.d.ts +13 -0
  1584. package/definitions/test/suite/saveward/Saveward.spec.d.ts +13 -0
  1585. package/definitions/test/suite/unitTests/NodeJs.spec.d.ts +13 -0
  1586. package/definitions/test/suite/unitTests/game/Actions.spec.d.ts +1 -1
  1587. package/definitions/test/suite/unitTests/game/Island.spec.d.ts +1 -1
  1588. package/definitions/test/suite/unitTests/game/Upgrades.spec.d.ts +13 -0
  1589. package/definitions/test/suite/unitTests/utilities/KdTree.spec.d.ts +1 -1
  1590. package/definitions/test/suite/unitTests/utilities/MagicalPropertyManager.spec.d.ts +1 -1
  1591. package/definitions/test/testRunner.d.ts +3 -5
  1592. package/definitions/{game/language/english/game/FerocityLevels.d.ts → test/util/Test.d.ts} +3 -4
  1593. package/definitions/test/util/helpers.d.ts +1 -1
  1594. package/definitions/test/util/javascript.d.ts +12 -0
  1595. package/definitions/test/util/logs.d.ts +1 -1
  1596. package/definitions/test/util/ports.d.ts +1 -1
  1597. package/definitions/test/util/random.d.ts +2 -2
  1598. package/definitions/test/util/template/templateEmpty32.d.ts +13 -0
  1599. package/definitions/utilities/Checksum.d.ts +19 -0
  1600. package/definitions/{game/utilities → utilities}/Clipboard.d.ts +2 -2
  1601. package/definitions/{game/utilities → utilities}/Color.d.ts +2 -2
  1602. package/definitions/{game/utilities → utilities}/Decorators.d.ts +9 -3
  1603. package/definitions/{game/utilities → utilities}/Encoding.d.ts +2 -2
  1604. package/definitions/{game/utilities → utilities}/Errors.d.ts +3 -2
  1605. package/definitions/{game/utilities → utilities}/Functions.d.ts +4 -3
  1606. package/definitions/utilities/IGlobal.d.ts +16 -0
  1607. package/definitions/utilities/Log.d.ts +131 -0
  1608. package/definitions/{game/utilities → utilities}/Registrar.d.ts +1 -1
  1609. package/definitions/{game/utilities → utilities}/SearchParams.d.ts +2 -2
  1610. package/definitions/{game/utilities → utilities}/StackTrace.d.ts +1 -1
  1611. package/definitions/{game/utilities → utilities}/Time.d.ts +3 -3
  1612. package/definitions/{game/utilities → utilities}/Timer.d.ts +5 -6
  1613. package/definitions/{game/utilities → utilities}/Uint1Array.d.ts +1 -1
  1614. package/definitions/{game/utilities → utilities}/WebAssemblyHelpers.d.ts +2 -2
  1615. package/definitions/{game/ui/screen/screens/game/component/QuadrantComponentContextMenuAction.d.ts → utilities/_.d.ts} +2 -1
  1616. package/definitions/{game/utilities → utilities}/class/Classes.d.ts +2 -2
  1617. package/definitions/{game/utilities → utilities}/class/Inject.d.ts +11 -5
  1618. package/definitions/{game/utilities → utilities}/collection/Arrays.d.ts +29 -6
  1619. package/definitions/{game/utilities → utilities}/collection/Iterables.d.ts +2 -2
  1620. package/definitions/{game/utilities → utilities}/collection/Tuple.d.ts +2 -2
  1621. package/definitions/utilities/collection/graph/AStar.d.ts +16 -0
  1622. package/definitions/{game/utilities → utilities}/collection/map/HashMap.d.ts +1 -1
  1623. package/definitions/{game/utilities → utilities}/collection/map/PriorityMap.d.ts +4 -2
  1624. package/definitions/{game/utilities → utilities}/collection/map/StackMap.d.ts +1 -1
  1625. package/definitions/utilities/collection/map/WeakishMap.d.ts +23 -0
  1626. package/definitions/{game/utilities → utilities}/collection/queue/PriorityQueue.d.ts +2 -2
  1627. package/definitions/{game/utilities → utilities}/collection/queue/Queue.d.ts +1 -1
  1628. package/definitions/{game/utilities → utilities}/collection/set/HashSet.d.ts +5 -8
  1629. package/definitions/utilities/collection/set/WeakishSet.d.ts +22 -0
  1630. package/definitions/utilities/collection/sort/Sorter.d.ts +41 -0
  1631. package/definitions/utilities/console/ANSI.d.ts +80 -0
  1632. package/definitions/{game/utilities → utilities}/dependency/DependencyManager.d.ts +2 -2
  1633. package/definitions/{game/utilities → utilities}/enum/IEnum.d.ts +10 -6
  1634. package/definitions/utilities/event/EventBusManager.d.ts +24 -0
  1635. package/definitions/{game → utilities}/event/EventEmitter.d.ts +19 -11
  1636. package/definitions/utilities/event/EventManager.d.ts +68 -0
  1637. package/definitions/utilities/game/DeveloperMode.d.ts +11 -0
  1638. package/definitions/{game → utilities}/game/WorldZ.d.ts +4 -3
  1639. package/definitions/{game/utilities → utilities}/math/Bezier.d.ts +1 -1
  1640. package/definitions/{game/utilities → utilities}/math/Math2.d.ts +26 -2
  1641. package/definitions/{game/utilities → utilities}/math/Range.d.ts +10 -2
  1642. package/definitions/{game/utilities → utilities}/memory/GarbageCollection.d.ts +2 -2
  1643. package/definitions/{game/utilities → utilities}/memory/ILifetime.d.ts +1 -1
  1644. package/definitions/{game/utilities → utilities}/memory/IMemoryLeakDetector.d.ts +2 -2
  1645. package/definitions/utilities/object/Objects.d.ts +62 -0
  1646. package/definitions/utilities/promise/Async.d.ts +141 -0
  1647. package/definitions/utilities/promise/CancelablePromise.d.ts +20 -0
  1648. package/definitions/utilities/promise/Parallel.d.ts +26 -0
  1649. package/definitions/{game/utilities → utilities}/promise/ResolvablePromise.d.ts +1 -1
  1650. package/definitions/utilities/promise/Task.d.ts +21 -0
  1651. package/definitions/utilities/prototype/Array.d.ts +74 -0
  1652. package/definitions/{game/utilities → utilities}/prototype/Define.d.ts +2 -2
  1653. package/definitions/utilities/prototype/Element.d.ts +36 -0
  1654. package/definitions/utilities/prototype/Map.d.ts +21 -0
  1655. package/definitions/{game/utilities → utilities}/prototype/Node.d.ts +1 -1
  1656. package/definitions/{game/utilities → utilities}/prototype/Promise.d.ts +1 -1
  1657. package/definitions/{game/utilities → utilities}/prototype/RegExp.d.ts +1 -1
  1658. package/definitions/utilities/prototype/Set.d.ts +27 -0
  1659. package/definitions/utilities/prototype/util/SortingFunction.d.ts +19 -0
  1660. package/definitions/{game/utilities → utilities}/random/IRandom.d.ts +5 -2
  1661. package/definitions/{game/utilities → utilities}/random/Random.d.ts +6 -6
  1662. package/definitions/utilities/random/RandomUtilities.d.ts +37 -0
  1663. package/definitions/{game/utilities → utilities}/random/SeededGenerator.d.ts +12 -5
  1664. package/definitions/{game/utilities → utilities}/random/generators/LegacySeededGenerator.d.ts +4 -3
  1665. package/definitions/{game/utilities → utilities}/random/generators/PCGSeededGenerator.d.ts +10 -4
  1666. package/definitions/utilities/string/Strings.d.ts +14 -0
  1667. package/definitions/utilities/string/XPath.d.ts +32 -0
  1668. package/definitions/{game/utilities → utilities}/types/Assert.d.ts +5 -4
  1669. package/definitions/{game/utilities → utilities}/typesglobal/Class.d.ts +4 -3
  1670. package/definitions/{game/utilities → utilities}/typesglobal/Descriptions.d.ts +3 -3
  1671. package/definitions/{game/utilities → utilities}/typesglobal/Function.d.ts +4 -4
  1672. package/definitions/utilities/typesglobal/Immutable.d.ts +22 -0
  1673. package/definitions/{game/utilities → utilities}/typesglobal/Iterables.d.ts +3 -3
  1674. package/definitions/{game/utilities → utilities}/typesglobal/Misc.d.ts +4 -6
  1675. package/definitions/{game/utilities → utilities}/typesglobal/Objects.d.ts +14 -3
  1676. package/definitions/{game/utilities → utilities}/typesglobal/Types.d.ts +3 -3
  1677. package/package.json +5 -9
  1678. package/tsconfig.json +7 -6
  1679. package/tsconfig.mod.base.json +45 -44
  1680. package/definitions/game/game/entity/StatusEffects.d.ts +0 -35
  1681. package/definitions/game/game/entity/action/actions/GrabAll.d.ts +0 -12
  1682. package/definitions/game/game/entity/action/actions/UpdateWalkPath.d.ts +0 -14
  1683. package/definitions/game/game/entity/creature/CreatureSpawning.d.ts +0 -33
  1684. package/definitions/game/game/entity/flowfield/FlowFieldDebugRenderer.d.ts +0 -23
  1685. package/definitions/game/game/entity/status/StatusEffect.d.ts +0 -127
  1686. package/definitions/game/game/entity/status/handler/Bleeding.d.ts +0 -29
  1687. package/definitions/game/game/inspection/infoProviders/Quality.d.ts +0 -29
  1688. package/definitions/game/game/inspection/infoProviders/creature/Difficulty.d.ts +0 -25
  1689. package/definitions/game/game/inspection/infoProviders/stat/FerocityInfo.d.ts +0 -28
  1690. package/definitions/game/game/inspection/inspections/ListInspection.d.ts +0 -21
  1691. package/definitions/game/renderer/context/BaseRendererContext.d.ts +0 -24
  1692. package/definitions/game/renderer/context/RendererContext.d.ts +0 -30
  1693. package/definitions/game/renderer/fieldOfView/FieldOfViewDebugRenderer.d.ts +0 -23
  1694. package/definitions/game/renderer/particle/IParticleRenderer.d.ts +0 -16
  1695. package/definitions/game/renderer/particle/ParticleRenderer1.d.ts +0 -26
  1696. package/definitions/game/renderer/particle/ParticleRenderer2.d.ts +0 -28
  1697. package/definitions/game/resource/SpritePacker.d.ts +0 -37
  1698. package/definitions/game/ui/old/functional/FunctionalSortable.d.ts +0 -37
  1699. package/definitions/game/ui/old/functional/IFunctionalSortable.d.ts +0 -52
  1700. package/definitions/game/ui/screen/screens/game/static/stats/Attack.d.ts +0 -13
  1701. package/definitions/game/ui/screen/screens/game/static/stats/Defense.d.ts +0 -13
  1702. package/definitions/game/ui/screen/screens/game/static/stats/Ferocity.d.ts +0 -18
  1703. package/definitions/game/ui/screen/screens/game/static/stats/component/Stat.d.ts +0 -103
  1704. package/definitions/game/ui/screen/screens/game/static/stats/component/StatusEffects.d.ts +0 -27
  1705. package/definitions/game/ui/screen/screens/game/util/item/SpriteGlow.d.ts +0 -31
  1706. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStatusEffects.d.ts +0 -15
  1707. package/definitions/game/utilities/Debouncer.d.ts +0 -15
  1708. package/definitions/game/utilities/Log.d.ts +0 -209
  1709. package/definitions/game/utilities/WebWorkerHelpers.d.ts +0 -23
  1710. package/definitions/game/utilities/collection/sort/Sorter.d.ts +0 -43
  1711. package/definitions/game/utilities/object/Objects.d.ts +0 -49
  1712. package/definitions/game/utilities/promise/Async.d.ts +0 -19
  1713. package/definitions/game/utilities/prototype/Array.d.ts +0 -27
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright 2011-2023 Unlok
2
+ * Copyright 2011-2024 Unlok
3
3
  * https://www.unlok.ca
4
4
  *
5
5
  * Credits & Thanks:
@@ -8,71 +8,76 @@
8
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
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type { Music, SfxType } from "audio/IAudio";
12
- import type { Command, CommandCallback } from "command/ICommand";
13
- import type { BiomeType, IBiomeDescription } from "game/biome/IBiome";
14
- import type { DoodadTag, DoodadType, DoodadTypeGroup, IDoodadDescription, IDoodadGroupDescription } from "game/doodad/IDoodad";
15
- import type { ActionType, IActionDescription } from "game/entity/action/IAction";
16
- import type { UsableActionSet, usableActionSets } from "game/entity/action/usable/actions/UsableActionsMain";
17
- import type UsableActionRegistrar from "game/entity/action/usable/UsableActionRegistrar";
18
- import type { UsableActionGenerator } from "game/entity/action/usable/UsableActionRegistrar";
19
- import type { UsableActionType } from "game/entity/action/usable/UsableActionType";
20
- import type { ICorpseDescription } from "game/entity/creature/corpse/ICorpse";
21
- import type { CreatureType, ICreatureDescription } from "game/entity/creature/ICreature";
22
- import type { EntityTag, StatusType } from "game/entity/IEntity";
23
- import type { EquipType, InsulationWeight, SkillType } from "game/entity/IHuman";
24
- import type { Stat } from "game/entity/IStats";
25
- import type { NPCType } from "game/entity/npc/INPCs";
26
- import type { INPCClass } from "game/entity/npc/NPCS";
27
- import type { Source } from "game/entity/player/IMessageManager";
28
- import type { INoteDescription } from "game/entity/player/note/NoteManager";
29
- import type { QuestType } from "game/entity/player/quest/quest/IQuest";
30
- import type { Quest } from "game/entity/player/quest/quest/Quest";
31
- import type { QuestRequirementType } from "game/entity/player/quest/requirement/IRequirement";
32
- import type { QuestRequirement } from "game/entity/player/quest/requirement/Requirement";
33
- import type { ISkillDescription } from "game/entity/skill/ISkills";
34
- import type { IStatDescription } from "game/entity/StatDescriptions";
35
- import type { StatusEffectClass } from "game/entity/status/StatusEffect";
36
- import type { InspectType } from "game/inspection/IInspection";
37
- import type { InspectionClass } from "game/inspection/InspectionTypeMap";
38
- import type { IItemDescription, IItemGroupDescription, ItemTag, ItemType, ItemTypeGroup } from "game/item/IItem";
39
- import type { IMagicalPropertyDescription, MagicalPropertyType } from "game/magic/MagicalPropertyType";
40
- import type { ILoadingDescription } from "game/meta/Loading";
41
- import type { IPromptDescriptionBase, Prompt } from "game/meta/prompt/IPrompt";
42
- import type PromptDescriptionFactory from "game/meta/prompt/PromptDescriptionFactory";
43
- import type { TempType } from "game/temperature/ITemperature";
44
- import type { ITerrainDescription, OverlayType, TerrainType } from "game/tile/ITerrain";
45
- import type { ITileEventDescription, TileEventType } from "game/tile/ITileEvent";
46
- import type { ITerrainLootItem } from "game/tile/TerrainResources";
47
- import type { WorldZ } from "game/WorldZ";
48
- import type Dictionary from "language/Dictionary";
49
- import type InterruptChoice from "language/dictionary/InterruptChoice";
50
- import type Message from "language/dictionary/Message";
51
- import type Note from "language/dictionary/Note";
52
- import type Language from "language/Language";
53
- import type LanguageExtension from "language/LanguageExtension";
54
- import type { IRegistry } from "mod/BaseMod";
55
- import type InterModRegistry from "mod/InterModRegistry";
56
- import type { InterModRegistration } from "mod/InterModRegistry";
57
- import type { IPacketClass } from "multiplayer/packets/Packets";
58
- import type { ITerrainDecorationBase, TerrainDecoration } from "renderer/Decorations";
59
- import type { IOverlayDescription } from "renderer/Overlays";
60
- import type { TileLayerType } from "renderer/world/IWorldRenderer";
61
- import type Bindable from "ui/input/Bindable";
62
- import type { Binding } from "ui/input/Bindings";
63
- import type Dialog from "ui/screen/screens/game/component/Dialog";
64
- import type QuadrantComponent from "ui/screen/screens/game/component/QuadrantComponent";
65
- import type { DialogId, IDialogDescription } from "ui/screen/screens/game/Dialogs";
66
- import type { QuadrantComponentId } from "ui/screen/screens/game/IGameScreenApi";
67
- import type { IMenuBarButtonDescription, MenuBarButtonType } from "ui/screen/screens/game/static/menubar/IMenuBarButton";
68
- import type { IStatDisplayDescription } from "ui/screen/screens/game/static/stats/IStatDisplayDescription";
69
- import type { HelpArticle, IHelpArticle } from "ui/screen/screens/menu/menus/help/IHelpArticle";
70
- import type { ModOptionSectionInitializer } from "ui/screen/screens/menu/menus/options/TabMods";
11
+ import type { Music, SfxType } from "@wayward/game/audio/IAudio";
12
+ import type { Command, CommandCallback } from "@wayward/game/command/ICommand";
13
+ import type { BiomeType, IBiomeDescription } from "@wayward/game/game/biome/IBiome";
14
+ import type { DoodadTag, DoodadType, DoodadTypeExtra, DoodadTypeGroup, IDoodadDescription, IDoodadGroupDescription } from "@wayward/game/game/doodad/IDoodad";
15
+ import type { EntityTag } from "@wayward/game/game/entity/IEntity";
16
+ import type { EquipType, InsulationWeight, SkillType } from "@wayward/game/game/entity/IHuman";
17
+ import type { Stat } from "@wayward/game/game/entity/IStats";
18
+ import type { IStatDescription } from "@wayward/game/game/entity/StatDescriptions";
19
+ import type { ActionType, IActionDescription } from "@wayward/game/game/entity/action/IAction";
20
+ import type UsableActionRegistrar from "@wayward/game/game/entity/action/usable/UsableActionRegistrar";
21
+ import type { UsableActionGenerator } from "@wayward/game/game/entity/action/usable/UsableActionRegistrar";
22
+ import type { UsableActionType } from "@wayward/game/game/entity/action/usable/UsableActionType";
23
+ import type { UsableActionSet, usableActionSets } from "@wayward/game/game/entity/action/usable/actions/UsableActionsMain";
24
+ import type { CreatureType, ICreatureDescription, TileGroup } from "@wayward/game/game/entity/creature/ICreature";
25
+ import type { ICorpseDescription } from "@wayward/game/game/entity/creature/corpse/ICorpse";
26
+ import type { NPCType } from "@wayward/game/game/entity/npc/INPCs";
27
+ import type { INPCClass } from "@wayward/game/game/entity/npc/NPCS";
28
+ import type { Source } from "@wayward/game/game/entity/player/IMessageManager";
29
+ import type { INoteDescription } from "@wayward/game/game/entity/player/note/NoteManager";
30
+ import type { QuestType } from "@wayward/game/game/entity/player/quest/quest/IQuest";
31
+ import type { Quest } from "@wayward/game/game/entity/player/quest/quest/Quest";
32
+ import type { QuestRequirementType } from "@wayward/game/game/entity/player/quest/requirement/IRequirement";
33
+ import type { QuestRequirement } from "@wayward/game/game/entity/player/quest/requirement/Requirement";
34
+ import type { ISkillDescription } from "@wayward/game/game/entity/skill/ISkills";
35
+ import type { IStatusDescription, StatusType } from "@wayward/game/game/entity/status/IStatus";
36
+ import type { StatusClass } from "@wayward/game/game/entity/status/Status";
37
+ import type { InspectType } from "@wayward/game/game/inspection/IInspection";
38
+ import type { InspectionClass } from "@wayward/game/game/inspection/InspectionTypeMap";
39
+ import type { IItemDescription, IItemGroupDescription, ItemTag, ItemType, ItemTypeExtra, ItemTypeGroup } from "@wayward/game/game/item/IItem";
40
+ import type { IMagicalPropertyDescription } from "@wayward/game/game/magic/MagicalPropertyType";
41
+ import type MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
42
+ import type { ILoadingDescription } from "@wayward/game/game/meta/Loading";
43
+ import type { IPromptDescriptionBase, Prompt } from "@wayward/game/game/meta/prompt/IPrompt";
44
+ import type PromptDescriptionFactory from "@wayward/game/game/meta/prompt/PromptDescriptionFactory";
45
+ import type { TempType } from "@wayward/game/game/temperature/ITemperature";
46
+ import type { ITerrainDescription, OverlayType, TerrainType } from "@wayward/game/game/tile/ITerrain";
47
+ import type { ITileEventDescription, TileEventType } from "@wayward/game/game/tile/ITileEvent";
48
+ import type { ITerrainLootItem } from "@wayward/game/game/tile/TerrainResources";
49
+ import type Dictionary from "@wayward/game/language/Dictionary";
50
+ import type Language from "@wayward/game/language/Language";
51
+ import type LanguageExtension from "@wayward/game/language/LanguageExtension";
52
+ import type InterruptChoice from "@wayward/game/language/dictionary/InterruptChoice";
53
+ import type Message from "@wayward/game/language/dictionary/Message";
54
+ import type Note from "@wayward/game/language/dictionary/Note";
55
+ import type { IRegistry } from "@wayward/game/mod/BaseMod";
56
+ import type { ModRegistrationTime } from "@wayward/game/mod/BaseMod";
57
+ import type InterModRegistry from "@wayward/game/mod/InterModRegistry";
58
+ import type { InterModRegistration } from "@wayward/game/mod/InterModRegistry";
59
+ import type { ModInformation } from "@wayward/game/mod/ModInformation";
60
+ import type { IPacketClass } from "@wayward/game/multiplayer/packets/Packets";
61
+ import type { ITerrainDecorationBase, TerrainDecoration } from "@wayward/game/renderer/Decorations";
62
+ import type { IOverlayDescription } from "@wayward/game/renderer/Overlays";
63
+ import type { TileLayerType } from "@wayward/game/renderer/world/IWorldRenderer";
64
+ import type Bindable from "@wayward/game/ui/input/Bindable";
65
+ import type { Binding } from "@wayward/game/ui/input/Bindings";
66
+ import type { DialogId, IDialogDescription } from "@wayward/game/ui/screen/screens/game/Dialogs";
67
+ import type { QuadrantComponentId } from "@wayward/game/ui/screen/screens/game/IGameScreenApi";
68
+ import type Dialog from "@wayward/game/ui/screen/screens/game/component/Dialog";
69
+ import type QuadrantComponent from "@wayward/game/ui/screen/screens/game/component/QuadrantComponent";
70
+ import type { IMenuBarButtonDescription, MenuBarButtonType } from "@wayward/game/ui/screen/screens/game/static/menubar/IMenuBarButton";
71
+ import type { IStatDisplayDescription } from "@wayward/game/ui/screen/screens/game/static/stats/IStatDisplayDescription";
72
+ import type { HelpArticle, IHelpArticle } from "@wayward/game/ui/screen/screens/menu/menus/help/IHelpArticle";
73
+ import type { ModOptionSectionInitializer } from "@wayward/game/ui/screen/screens/menu/menus/options/TabMods";
74
+ import type WorldZ from "@wayward/utilities/game/WorldZ";
75
+ import Objects from "@wayward/utilities/object/Objects";
71
76
  export interface IModdable {
72
77
  /**
73
78
  * Do not provide or modify this value, only reference it. This is set by the modding system during the process of registration.
74
79
  */
75
- modIndex?: number;
80
+ mod?: ModInformation;
76
81
  }
77
82
  export declare const SYMBOL_MOD_REGISTRATIONS: unique symbol;
78
83
  export declare enum ModRegistrationType {
@@ -90,47 +95,49 @@ export declare enum ModRegistrationType {
90
95
  DoodadTag = 11,
91
96
  EntityTag = 12,
92
97
  EquipType = 13,
93
- HelpArticle = 14,
94
- InspectionType = 15,
95
- InterModRegistration = 16,
96
- InterModRegistry = 17,
97
- Interrupt = 18,
98
- InterruptChoice = 19,
99
- Item = 20,
100
- ItemExtra = 21,
101
- ItemGroup = 22,
102
- ItemTag = 23,
103
- Language = 24,
104
- LanguageExtension = 25,
105
- Load = 26,
106
- MagicalProperty = 27,
107
- MenuBarButton = 28,
108
- Message = 29,
109
- MessageSource = 30,
110
- MusicTrack = 31,
111
- Note = 32,
112
- NPC = 33,
113
- OptionsSection = 34,
114
- Overlay = 35,
115
- Override = 36,
116
- Packet = 37,
117
- Prompt = 38,
118
- QuadrantComponent = 39,
119
- Quest = 40,
120
- QuestRequirement = 41,
121
- Registry = 42,
122
- Skill = 43,
123
- SoundEffect = 44,
124
- Stat = 45,
125
- StatusEffect = 46,
126
- Terrain = 47,
127
- TerrainDecoration = 48,
128
- TileEvent = 49,
129
- TileLayerType = 50,
130
- UsableActions = 51,
131
- UsableActionType = 52,
132
- UsableActionTypePlaceholder = 53,
133
- WorldLayer = 54
98
+ GenericEnum = 14,
99
+ HelpArticle = 15,
100
+ InspectionType = 16,
101
+ InterModRegistration = 17,
102
+ InterModRegistry = 18,
103
+ Interrupt = 19,
104
+ InterruptChoice = 20,
105
+ Item = 21,
106
+ ItemExtra = 22,
107
+ ItemGroup = 23,
108
+ ItemTag = 24,
109
+ Language = 25,
110
+ LanguageExtension = 26,
111
+ Load = 27,
112
+ MagicalProperty = 28,
113
+ MenuBarButton = 29,
114
+ Message = 30,
115
+ MessageSource = 31,
116
+ MusicTrack = 32,
117
+ Note = 33,
118
+ NPC = 34,
119
+ OptionsSection = 35,
120
+ Overlay = 36,
121
+ Override = 37,
122
+ Packet = 38,
123
+ Prompt = 39,
124
+ QuadrantComponent = 40,
125
+ Quest = 41,
126
+ QuestRequirement = 42,
127
+ Registry = 43,
128
+ Skill = 44,
129
+ SoundEffect = 45,
130
+ Stat = 46,
131
+ Status = 47,
132
+ Terrain = 48,
133
+ TerrainDecoration = 49,
134
+ TileEvent = 50,
135
+ TileGroup = 51,
136
+ TileLayerType = 52,
137
+ UsableActions = 53,
138
+ UsableActionType = 54,
139
+ UsableActionTypePlaceholder = 55,
140
+ WorldLayer = 56
134
141
  }
135
142
  export interface ILanguageRegistration extends IBaseModRegistration {
136
143
  type: ModRegistrationType.Language;
@@ -145,6 +152,11 @@ export interface IInspectionTypeRegistration extends IBaseModRegistration {
145
152
  name: string;
146
153
  handlerClass: InspectionClass;
147
154
  }
155
+ export interface IGenericEnumRegistration extends IBaseModRegistration {
156
+ type: ModRegistrationType.GenericEnum;
157
+ enumObject: any;
158
+ name: string;
159
+ }
148
160
  export interface IMusicTrackRegistration extends IBaseModRegistration {
149
161
  type: ModRegistrationType.MusicTrack;
150
162
  name: string;
@@ -213,10 +225,10 @@ export interface IBindableRegistration extends IBaseModRegistration {
213
225
  name: string;
214
226
  defaultBindings: Binding[];
215
227
  }
216
- export interface IBiomeRegistration extends IBaseModRegistration {
228
+ export interface IBiomeRegistration<BiomeOptionsType = unknown> extends IBaseModRegistration {
217
229
  type: ModRegistrationType.Biome;
218
230
  name: string;
219
- description: IBiomeDescription;
231
+ description: IBiomeDescription<BiomeOptionsType>;
220
232
  }
221
233
  export interface IDictionaryRegistration extends IBaseModRegistration {
222
234
  type: ModRegistrationType.Dictionary;
@@ -230,9 +242,9 @@ export interface IRegistryRegistration extends IBaseModRegistration {
230
242
  type: ModRegistrationType.Registry;
231
243
  class: new (mod: any) => any;
232
244
  }
233
- export interface IBulkRegistration extends IBaseModRegistration, IInheritsRegistrationTime {
245
+ export interface IBulkRegistration extends IBaseModRegistration {
234
246
  type: ModRegistrationType.Bulk;
235
- registrations: any;
247
+ [SYMBOL_MOD_REGISTRATIONS]: any[];
236
248
  }
237
249
  export interface IDialogRegistration extends IBaseModRegistration {
238
250
  type: ModRegistrationType.Dialog;
@@ -260,10 +272,11 @@ export interface IStatRegistration extends IBaseModRegistration {
260
272
  name: string;
261
273
  description?: IStatDisplayDescription & IStatDescription;
262
274
  }
263
- export interface IStatusEffectRegistration extends IBaseModRegistration {
264
- type: ModRegistrationType.StatusEffect;
275
+ export interface IStatusRegistration extends IBaseModRegistration {
276
+ type: ModRegistrationType.Status;
265
277
  name: string;
266
- handlerClass: StatusEffectClass;
278
+ handlerClass: StatusClass;
279
+ description: IStatusDescription;
267
280
  }
268
281
  export interface IItemRegistrationDescription extends IItemDescription {
269
282
  groups?: ItemTypeGroup[];
@@ -293,6 +306,7 @@ export interface ITerrainRegistration extends IBaseModRegistration {
293
306
  description?: ITerrainRegistrationDescription;
294
307
  }
295
308
  export interface ITerrainDecorationRegistration extends IBaseModRegistration {
309
+ name: string;
296
310
  type: ModRegistrationType.TerrainDecoration;
297
311
  description?: ITerrainDecorationBase;
298
312
  }
@@ -300,6 +314,11 @@ export interface ITerrainRegistrationDescription extends ITerrainDescription {
300
314
  resources?: ITerrainLootItem[];
301
315
  defaultItem?: ItemType;
302
316
  }
317
+ export interface ITileGroupRegistration extends IBaseModRegistration {
318
+ type: ModRegistrationType.TileGroup;
319
+ name: string;
320
+ description: Set<TerrainType>;
321
+ }
303
322
  export interface IDoodadRegistration extends IBaseModRegistration {
304
323
  type: ModRegistrationType.Doodad;
305
324
  name: string;
@@ -420,36 +439,47 @@ export interface IOverrideDescription<OBJECT extends object, PROPERTY extends ke
420
439
  property: PROPERTY;
421
440
  value: OBJECT[PROPERTY];
422
441
  }
442
+ export type OverrideDecorator<OBJECT extends object, PROPERTY extends keyof OBJECT> = (time: ModRegistrationTime, overrider: () => IOverrideDescription<OBJECT, PROPERTY>) => <K extends string | number | symbol, T extends Record<K, OBJECT>>(target: T, key: K) => void;
423
443
  export interface IOverrideRegistration<OBJECT extends object, PROPERTY extends keyof OBJECT> extends IBaseModRegistration {
424
444
  type: ModRegistrationType.Override;
445
+ time: ModRegistrationTime;
425
446
  overrider: () => IOverrideDescription<OBJECT, PROPERTY>;
426
447
  }
427
- export interface IInheritsRegistrationTime {
428
- useRegistrationTime: ModRegistrationType;
429
- }
430
- export type ModRegistration = IActionRegistration | IBindableRegistration | IBiomeRegistration | IBulkRegistration | ICommandRegistration | ICreatureRegistration | IDialogRegistration | IDictionaryRegistration | IDoodadGroupRegistration | IDoodadRegistration | IDoodadTagRegistration | IEntityTagRegistration | IEquipTypeRegistration | IHelpArticleRegistration | IInspectionTypeRegistration | IInterModRegistration | IInterModRegistryRegistration | IInterruptChoiceRegistration | IInterruptRegistration | IItemGroupRegistration | IItemRegistration | IItemTagRegistration | ILanguageExtensionRegistration | ILanguageRegistration | ILoadRegistration | IMagicalPropertyRegistration | IMenuBarButtonRegistration | IMessageRegistration | IMessageSourceRegistration | IMusicTrackRegistration | INoteRegistration | INPCRegistration | IOptionsSectionRegistration | IOverlayRegistration | IOverrideRegistration<any, any> | IPacketRegistration | IPromptRegistration | IQuadrantComponentRegistration | IQuestRegistration | IQuestRequirementRegistration | IRegistryRegistration | ISkillRegistration | ISoundEffectRegistration | IStatRegistration | IStatusEffectRegistration | ITerrainDecorationRegistration | ITerrainRegistration | ITileEventRegistration | ITileLayerTypeRegistration | IUsableActionsRegistration | IUsableActionTypePlaceholderRegistration | IUsableActionTypeRegistration;
448
+ export type ModRegistration = IActionRegistration | IBindableRegistration | IBiomeRegistration | IBulkRegistration | ICommandRegistration | ICreatureRegistration | IDialogRegistration | IDictionaryRegistration | IDoodadExtraRegistration | IDoodadGroupRegistration | IDoodadRegistration | IDoodadTagRegistration | IEntityTagRegistration | IEquipTypeRegistration | IGenericEnumRegistration | IHelpArticleRegistration | IInspectionTypeRegistration | IInterModRegistration | IInterModRegistryRegistration | IInterruptChoiceRegistration | IInterruptRegistration | IItemExtraRegistration | IItemGroupRegistration | IItemRegistration | IItemTagRegistration | ILanguageExtensionRegistration | ILanguageRegistration | ILoadRegistration | IMagicalPropertyRegistration | IMenuBarButtonRegistration | IMessageRegistration | IMessageSourceRegistration | IMusicTrackRegistration | INoteRegistration | INPCRegistration | IOptionsSectionRegistration | IOverlayRegistration | IOverrideRegistration<any, any> | IPacketRegistration | IPromptRegistration | IQuadrantComponentRegistration | IQuestRegistration | IQuestRequirementRegistration | IRegistryRegistration | ISkillRegistration | ISoundEffectRegistration | IStatRegistration | IStatusRegistration | ITerrainDecorationRegistration | ITerrainRegistration | ITileEventRegistration | ITileGroupRegistration | ITileLayerTypeRegistration | IUsableActionsRegistration | IUsableActionTypePlaceholderRegistration | IUsableActionTypeRegistration;
431
449
  export declare const SYMBOL_SUPER_REGISTRY: unique symbol;
432
- declare module Register {
450
+ declare namespace Register {
433
451
  /**
434
452
  * Registers a class as a sub-registry. The class can contain its own `@Register` decorators, and they will be loaded by the higher-level registry.
435
453
  *
436
454
  * The decorated property will be injected with the constructed instance of the provided registry class.
437
455
  */
438
- export function registry(cls: new (upperRegistry: any) => any): <K extends string | number | symbol, T extends Record<K, object>>(target: T, key: K) => void;
456
+ function registry(cls: new (upperRegistry: any) => any): <K extends string | number | symbol, T extends Record<K, object>>(target: T, key: K) => void;
439
457
  /**
440
458
  * Registers a language.
441
459
  * @param instance The language instance.
442
460
  *
443
461
  * The decorated property will be injected with the provided language instance.
444
462
  */
445
- export function language<L extends Language>(instance: L): <K extends string | number | symbol, T extends Record<K, L>>(target: T, key: K) => void;
463
+ function language<L extends Language>(instance: L): <K extends string | number | symbol, T extends Record<K, L>>(target: T, key: K) => void;
446
464
  /**
447
465
  * Registers a language extension.
448
466
  * @param instance The language extension instance.
449
467
  *
450
468
  * The decorated property will be injected with the provided language extension instance.
451
469
  */
452
- export function languageExtension<L extends LanguageExtension>(instance: L): <K extends string | number | symbol, T extends Record<K, L>>(target: T, key: K) => void;
470
+ function languageExtension<L extends LanguageExtension>(instance: L): <K extends string | number | symbol, T extends Record<K, L>>(target: T, key: K) => void;
471
+ /**
472
+ * Registers into an enum that we haven't added explicit modding support for.
473
+ *
474
+ * # Caveats!
475
+ * - This will not work for enums associated with a descriptions/definitions record or map. **Only use it for enums that work on their own.**
476
+ * - If we ever change the import path of the enum, **previous registrations to it will not persist**, so any registrations will be assigned new IDs.
477
+ * - Any enums registered in this way will not work on servers.
478
+ *
479
+ * @param enumObject The enum object to register into.
480
+ * @param name The name of this mod registration in the enum.
481
+ */
482
+ function genericEnum<E>(enumObject: E, name: string): <K extends string | number | symbol, T extends Record<K, E[keyof E]>>(target: T, key: K) => void;
453
483
  /**
454
484
  * Registers a music track.
455
485
  * @param name The name of the music track.
@@ -457,7 +487,7 @@ declare module Register {
457
487
  *
458
488
  * The decorated property will be injected with the id of the registered music track.
459
489
  */
460
- export function musicTrack(name: string): <K extends string | number | symbol, T extends Record<K, Music>>(target: T, key: K) => void;
490
+ function musicTrack(name: string): <K extends string | number | symbol, T extends Record<K, Music>>(target: T, key: K) => void;
461
491
  /**
462
492
  * Registers a sound effect.
463
493
  * @param name The name of the sound effect.
@@ -465,21 +495,21 @@ declare module Register {
465
495
  *
466
496
  * The decorated property will be injected with the id of the registered sound effect.
467
497
  */
468
- export function soundEffect(name: string, variations?: number): <K extends string | number | symbol, T extends Record<K, SfxType>>(target: T, key: K) => void;
498
+ function soundEffect(name: string, variations?: number): <K extends string | number | symbol, T extends Record<K, SfxType>>(target: T, key: K) => void;
469
499
  /**
470
500
  * Registers a packet.
471
501
  * @param cls The packet class.
472
502
  *
473
503
  * The decorated property will be injected with the passed packet class.
474
504
  */
475
- export function packet<C extends IPacketClass>(cls: C): <K extends string | number | symbol, T extends Record<K, C>>(target: T, key: K) => void;
505
+ function packet<C extends IPacketClass>(cls: C): <K extends string | number | symbol, T extends Record<K, C>>(target: T, key: K) => void;
476
506
  /**
477
507
  * Registers an NPC.
478
508
  * @param cls The NPC class.
479
509
  *
480
510
  * The decorated property will be injected with the NPCType of the registered NPC.
481
511
  */
482
- export function npc<C extends INPCClass>(name: string, cls: C): <K extends string | number | symbol, T extends Record<K, NPCType>>(target: T, key: K) => void;
512
+ function npc<C extends INPCClass>(name: string, cls: C): <K extends string | number | symbol, T extends Record<K, NPCType>>(target: T, key: K) => void;
483
513
  /**
484
514
  * Registers a help article.
485
515
  * @param name The name of the help article.
@@ -487,7 +517,7 @@ declare module Register {
487
517
  *
488
518
  * The decorated property will be injected with the id of the registered help article.
489
519
  */
490
- export function helpArticle(name: string, description: IHelpArticle): <K extends string | number | symbol, T extends Record<K, HelpArticle>>(target: T, key: K) => void;
520
+ function helpArticle(name: string, description: IHelpArticle): <K extends string | number | symbol, T extends Record<K, HelpArticle>>(target: T, key: K) => void;
491
521
  /**
492
522
  * Registers a note.
493
523
  * @param name The name of the note.
@@ -495,7 +525,7 @@ declare module Register {
495
525
  *
496
526
  * The decorated property will be injected with the id of the registered note.
497
527
  */
498
- export function note(name: string, description?: INoteDescription): <K extends string | number | symbol, T extends Record<K, Note>>(target: T, key: K) => void;
528
+ function note(name: string, description?: INoteDescription): <K extends string | number | symbol, T extends Record<K, Note>>(target: T, key: K) => void;
499
529
  /**
500
530
  * Registers a skill.
501
531
  * @param name The name of the skill.
@@ -503,7 +533,7 @@ declare module Register {
503
533
  *
504
534
  * The decorated property will be injected with the id of the registered skill.
505
535
  */
506
- export function skill(name: string, description?: ISkillDescription): <K extends string | number | symbol, T extends Record<K, SkillType>>(target: T, key: K) => void;
536
+ function skill(name: string, description?: ISkillDescription): <K extends string | number | symbol, T extends Record<K, SkillType>>(target: T, key: K) => void;
507
537
  /**
508
538
  * Registers a stat.
509
539
  * @param name The name of the stat.
@@ -511,7 +541,7 @@ declare module Register {
511
541
  *
512
542
  * The decorated property will be injected with the id of the registered stat.
513
543
  */
514
- export function stat(name: string, description?: IStatDisplayDescription & IStatDescription): <K extends string | number | symbol, T extends Record<K, Stat>>(target: T, key: K) => void;
544
+ function stat(name: string, description?: IStatDisplayDescription & IStatDescription): <K extends string | number | symbol, T extends Record<K, Stat>>(target: T, key: K) => void;
515
545
  /**
516
546
  * Registers a status effect.
517
547
  * @param name The name of the status effect.
@@ -519,7 +549,7 @@ declare module Register {
519
549
  *
520
550
  * The decorated property will be injected with the id of the registered status effect.
521
551
  */
522
- export function statusEffect(name: string, handlerClass: StatusEffectClass): <K extends string | number | symbol, T extends Record<K, StatusType>>(target: T, key: K) => void;
552
+ function status(name: string, handlerClass: StatusClass, description: IStatusDescription): <K extends string | number | symbol, T extends Record<K, StatusType>>(target: T, key: K) => void;
523
553
  /**
524
554
  * Registers an item.
525
555
  * @param name The name of the item.
@@ -527,7 +557,7 @@ declare module Register {
527
557
  *
528
558
  * The decorated property will be injected with the id of the registered item.
529
559
  */
530
- export function item(name: string, description?: IItemRegistrationDescription): <K extends string | number | symbol, T extends Record<K, ItemType>>(target: T, key: K) => void;
560
+ function item(name: string, description?: IItemRegistrationDescription): <K extends string | number | symbol, T extends Record<K, ItemType>>(target: T, key: K) => void;
531
561
  /**
532
562
  * Registers a biome.
533
563
  * @param name The name of the biome.
@@ -535,7 +565,7 @@ declare module Register {
535
565
  *
536
566
  * The decorated property will be injected with the id of the registered biome.
537
567
  */
538
- export function biome(name: string, description: IBiomeDescription): <K extends string | number | symbol, T extends Record<K, BiomeType>>(target: T, key: K) => void;
568
+ function biome<BiomeOptionsType = unknown>(name: string, description: IBiomeDescription<BiomeOptionsType>): <K extends string | number | symbol, T extends Record<K, BiomeType>>(target: T, key: K) => void;
539
569
  /**
540
570
  * Registers a creature.
541
571
  * @param name The name of the creature.
@@ -543,7 +573,7 @@ declare module Register {
543
573
  *
544
574
  * The decorated property will be injected with the id of the registered creature.
545
575
  */
546
- export function creature(name: string, description: ICreatureDescription, corpseDescription?: ICorpseDescription): <K extends string | number | symbol, T extends Record<K, CreatureType>>(target: T, key: K) => void;
576
+ function creature(name: string, description: ICreatureDescription, corpseDescription?: ICorpseDescription): <K extends string | number | symbol, T extends Record<K, CreatureType>>(target: T, key: K) => void;
547
577
  /**
548
578
  * Registers a terrain.
549
579
  * @param name The name of the terrain.
@@ -551,14 +581,22 @@ declare module Register {
551
581
  *
552
582
  * The decorated property will be injected with the id of the registered terrain.
553
583
  */
554
- export function terrain(name: string, description?: ITerrainRegistrationDescription): <K extends string | number | symbol, T extends Record<K, TerrainType>>(target: T, key: K) => void;
584
+ function terrain(name: string, description?: ITerrainRegistrationDescription): <K extends string | number | symbol, T extends Record<K, TerrainType>>(target: T, key: K) => void;
585
+ /**
586
+ * Registers a tile group.
587
+ * @param name The name of the tile group.
588
+ * @param description The definition of the tile group.
589
+ *
590
+ * The decorated property will be injected with the id of the registered tile group.
591
+ */
592
+ function tileGroup(name: string, description: Set<TerrainType>): <K extends string | number | symbol, T extends Record<K, TileGroup>>(target: T, key: K) => void;
555
593
  /**
556
594
  * Registers a terrain decoration.
557
595
  * @param description The definition of the terrain decoration.
558
596
  *
559
597
  * The decorated property will be injected with the id of the registered terrain.
560
598
  */
561
- export function terrainDecoration(name: string, description: ITerrainDecorationBase): <K extends string | number | symbol, T extends Record<K, TerrainDecoration>>(target: T, key: K) => void;
599
+ function terrainDecoration(name: string, description: ITerrainDecorationBase): <K extends string | number | symbol, T extends Record<K, TerrainDecoration>>(target: T, key: K) => void;
562
600
  /**
563
601
  * Registers a doodad.
564
602
  * @param name The name of the doodad.
@@ -566,7 +604,7 @@ declare module Register {
566
604
  *
567
605
  * The decorated property will be injected with the id of the registered doodad.
568
606
  */
569
- export function doodad(name: string, description?: IDoodadDescription): <K extends string | number | symbol, T extends Record<K, DoodadType>>(target: T, key: K) => void;
607
+ function doodad(name: string, description?: IDoodadDescription): <K extends string | number | symbol, T extends Record<K, DoodadType>>(target: T, key: K) => void;
570
608
  /**
571
609
  * Registers a tile event.
572
610
  * @param name The name of the tile event.
@@ -574,7 +612,7 @@ declare module Register {
574
612
  *
575
613
  * The decorated property will be injected with the id of the registered tile event.
576
614
  */
577
- export function tileEvent(name: string, description?: ITileEventDescription): <K extends string | number | symbol, T extends Record<K, TileEventType>>(target: T, key: K) => void;
615
+ function tileEvent(name: string, description?: ITileEventDescription): <K extends string | number | symbol, T extends Record<K, TileEventType>>(target: T, key: K) => void;
578
616
  /**
579
617
  * Registers a dialog.
580
618
  * @param name The name of the dialog.
@@ -583,12 +621,12 @@ declare module Register {
583
621
  *
584
622
  * The decorated property will be injected with the id of the registered dialog.
585
623
  */
586
- export function dialog(name: string, description: IDialogDescription, cls: new (id: number) => Dialog): <K extends string | number | symbol, T extends Record<K, DialogId>>(target: T, key: K) => void;
624
+ function dialog(name: string, description: IDialogDescription, cls: new (id: number) => Dialog): <K extends string | number | symbol, T extends Record<K, DialogId>>(target: T, key: K) => void;
587
625
  /**
588
626
  * Registers a quadrant component.
589
627
  * @param name The name of this component.
590
628
  */
591
- export function quadrantComponent(name: string, cls: new (id: QuadrantComponentId) => QuadrantComponent): (target: any, key: string) => void;
629
+ function quadrantComponent(name: string, cls: new (id: QuadrantComponentId) => QuadrantComponent): (target: any, key: string) => void;
592
630
  /**
593
631
  * Registers a bindable.
594
632
  * @param name The name of the bindable.
@@ -598,7 +636,7 @@ declare module Register {
598
636
  *
599
637
  * The decorated property will be injected with the id of the registered note.
600
638
  */
601
- export function bindable(name: string, ...defaultBindings: Binding[]): <K extends string | number | symbol, T extends Record<K, Bindable>>(target: T, key: K) => void;
639
+ function bindable(name: string, ...defaultBindings: Binding[]): <K extends string | number | symbol, T extends Record<K, Bindable>>(target: T, key: K) => void;
602
640
  /**
603
641
  * Registers a dictionary.
604
642
  * @param name The name of the dictionary.
@@ -606,7 +644,7 @@ declare module Register {
606
644
  *
607
645
  * The decorated property will be injected with the id of the registered dictionary.
608
646
  */
609
- export function dictionary(name: string, dictionaryEnum: any): <K extends string | number | symbol, T extends Record<K, Dictionary>>(target: T, key: K) => void;
647
+ function dictionary(name: string, dictionaryEnum: any): <K extends string | number | symbol, T extends Record<K, Dictionary>>(target: T, key: K) => void;
610
648
  /**
611
649
  * Registers a message.
612
650
  * @param name The name of the message.
@@ -616,21 +654,21 @@ declare module Register {
616
654
  * Note: The method does not support passing a translated English string. To translate your message, create a language
617
655
  * file that extends English.
618
656
  */
619
- export function message(name: string): <K extends string | number | symbol, T extends Record<K, Message>>(target: T, key: K) => void;
657
+ function message(name: string): <K extends string | number | symbol, T extends Record<K, Message>>(target: T, key: K) => void;
620
658
  /**
621
659
  * Registers a prompt.
622
660
  * @param name The name of the prompt.
623
661
  *
624
662
  * The decorated property will be injected with the id of the registered prompt.
625
663
  */
626
- export function prompt<DESCRIPTION extends IPromptDescriptionBase<any[]>>(name: string, construct: PromptConstructorFunction<DESCRIPTION>): <K extends string | number | symbol, T extends Record<K, DESCRIPTION>>(target: T, key: K) => void;
664
+ function prompt<DESCRIPTION extends IPromptDescriptionBase<any[]>>(name: string, construct: PromptConstructorFunction<DESCRIPTION>): <K extends string | number | symbol, T extends Record<K, DESCRIPTION>>(target: T, key: K) => void;
627
665
  /**
628
666
  * Registers an interrupt choice.
629
667
  * @param name The name of the interrupt choice.
630
668
  *
631
669
  * The decorated property will be injected with the id of the registered interrupt choice.
632
670
  */
633
- export function interruptChoice(name: string): <K extends string | number | symbol, T extends Record<K, InterruptChoice>>(target: T, key: K) => void;
671
+ function interruptChoice(name: string): <K extends string | number | symbol, T extends Record<K, InterruptChoice>>(target: T, key: K) => void;
634
672
  /**
635
673
  * Registers a load type.
636
674
  * @param name The name of the load type.
@@ -638,89 +676,97 @@ declare module Register {
638
676
  *
639
677
  * The decorated property will be injected with the id of the registered load type.
640
678
  */
641
- export function load(name: string, description: ILoadingDescription<any[]>): <K extends string | number | symbol, T extends Record<K, Message>>(target: T, key: K) => void;
679
+ function load(name: string, description: ILoadingDescription<any[]>): <K extends string | number | symbol, T extends Record<K, Message>>(target: T, key: K) => void;
642
680
  /**
643
681
  * Registers a message source.
644
682
  * @param name The name of the message source.
645
683
  *
646
684
  * The decorated property will be injected with the id of the registered message source.
647
685
  */
648
- export function messageSource(name: string): <K extends string | number | symbol, T extends Record<K, Source>>(target: T, key: K) => void;
686
+ function messageSource(name: string): <K extends string | number | symbol, T extends Record<K, Source>>(target: T, key: K) => void;
649
687
  /**
650
688
  * Registers an overlay.
651
689
  * @param description The definition of the overlay.
652
690
  */
653
- export function overlay(name: string, description?: IOverlayDescription): <K extends string | number | symbol, T extends Record<K, OverlayType>>(target: T, key: K) => void;
691
+ function overlay(name: string, description?: IOverlayDescription): <K extends string | number | symbol, T extends Record<K, OverlayType>>(target: T, key: K) => void;
654
692
  /**
655
693
  * Registers an inspection type, which will appear in tile tooltips or the inspect dialog.
656
694
  * @param handlerClass The class for the handler of the inspection type.
657
695
  */
658
- export function inspectionType(name: string, handlerClass: InspectionClass): <K extends string | number | symbol, T extends Record<K, InspectType>>(target: T, key: K) => void;
696
+ function inspectionType(name: string, handlerClass: InspectionClass): <K extends string | number | symbol, T extends Record<K, InspectType>>(target: T, key: K) => void;
659
697
  /**
660
698
  * Registers a menu bar button.
661
699
  * @param description The definition of the menu bar button.
662
700
  */
663
- export function menuBarButton(name: string, description: IMenuBarButtonDescription): <K extends string | number | symbol, T extends Record<K, MenuBarButtonType>>(target: T, key: K) => void;
701
+ function menuBarButton(name: string, description: IMenuBarButtonDescription): <K extends string | number | symbol, T extends Record<K, MenuBarButtonType>>(target: T, key: K) => void;
664
702
  /**
665
703
  * Registers an item group.
666
704
  * @param description The definition of the item group.
667
705
  */
668
- export function itemGroup(name: string, description: IItemGroupDescription): <K extends string | number | symbol, T extends Record<K, ItemTypeGroup>>(target: T, key: K) => void;
706
+ function itemGroup(name: string, description: IItemGroupDescription): <K extends string | number | symbol, T extends Record<K, ItemTypeGroup>>(target: T, key: K) => void;
669
707
  /**
670
708
  * Registers a doodad group.
671
709
  * @param description The definition of the doodad group.
672
710
  */
673
- export function doodadGroup(name: string, description: IDoodadGroupDescription): <K extends string | number | symbol, T extends Record<K, DoodadTypeGroup>>(target: T, key: K) => void;
711
+ function doodadGroup(name: string, description: IDoodadGroupDescription): <K extends string | number | symbol, T extends Record<K, DoodadTypeGroup>>(target: T, key: K) => void;
674
712
  /**
675
713
  * Registers a world layer.
676
714
  */
677
- export function worldLayer(name: string): <K extends string | number | symbol, T extends Record<K, WorldZ>>(target: T, key: K) => void;
715
+ function worldLayer(name: string): <K extends string | number | symbol, T extends Record<K, WorldZ>>(target: T, key: K) => void;
678
716
  /**
679
717
  * Registers a world renderer layer.
680
718
  */
681
- export function tileLayer(name: string): <K extends string | number | symbol, T extends Record<K, TileLayerType>>(target: T, key: K) => void;
719
+ function tileLayer(name: string): <K extends string | number | symbol, T extends Record<K, TileLayerType>>(target: T, key: K) => void;
682
720
  /**
683
721
  * Registers a quest.
684
722
  * @param description The definition of the quest.
685
723
  */
686
- export function quest(name: string, description: Quest): <K extends string | number | symbol, T extends Record<K, QuestType>>(target: T, key: K) => void;
724
+ function quest(name: string, description: Quest): <K extends string | number | symbol, T extends Record<K, QuestType>>(target: T, key: K) => void;
687
725
  /**
688
726
  * Registers a quest requirement.
689
727
  * @param description The definition of the quest requirement.
690
728
  */
691
- export function questRequirement(name: string, description: QuestRequirement<any, any>): <K extends string | number | symbol, T extends Record<K, QuestRequirementType>>(target: T, key: K) => void;
729
+ function questRequirement(name: string, description: QuestRequirement<any, any>): <K extends string | number | symbol, T extends Record<K, QuestRequirementType>>(target: T, key: K) => void;
692
730
  /**
693
731
  * Registers an action.
694
732
  * @param description The definition of this action.
695
733
  */
696
- export function action(name: string, description?: IActionDescription): <K extends string | number | symbol, T extends Record<K, ActionType>>(target: T, key: K) => void;
734
+ function action(name: string, description?: IActionDescription): <K extends string | number | symbol, T extends Record<K, ActionType>>(target: T, key: K) => void;
697
735
  /**
698
736
  * Registers a magical property.
699
737
  * @param description The definition of this magical property.
700
738
  *
701
739
  * See — [Adding Magical Properties](https://github.com/WaywardGame/types/wiki/Adding-Magical-Properties)
702
740
  */
703
- export function magicalProperty(name: string, description: IMagicalPropertyDescription): <K extends string | number | symbol, T extends Record<K, MagicalPropertyType>>(target: T, key: K) => void;
741
+ function magicalProperty(name: string, description: IMagicalPropertyDescription): <K extends string | number | symbol, T extends Record<K, MagicalPropertyType>>(target: T, key: K) => void;
742
+ /**
743
+ * Registers an "extra"/displayable item type. **Not** a real item.
744
+ */
745
+ function itemExtra(name: string): <K extends string | number | symbol, T extends Record<K, ItemTypeExtra>>(target: T, key: K) => void;
746
+ /**
747
+ * Registers an "extra"/displayable doodad type. **Not** a real doodad.
748
+ */
749
+ function doodadExtra(name: string): <K extends string | number | symbol, T extends Record<K, DoodadTypeExtra>>(target: T, key: K) => void;
704
750
  /**
705
751
  * Registers an item tag.
706
752
  */
707
- export function itemTag(name: string): <K extends string | number | symbol, T extends Record<K, ItemTag>>(target: T, key: K) => void;
753
+ function itemTag(name: string): <K extends string | number | symbol, T extends Record<K, ItemTag>>(target: T, key: K) => void;
708
754
  /**
709
755
  * Registers a doodad tag.
710
756
  */
711
- export function doodadTag(name: string): <K extends string | number | symbol, T extends Record<K, DoodadTag>>(target: T, key: K) => void;
757
+ function doodadTag(name: string): <K extends string | number | symbol, T extends Record<K, DoodadTag>>(target: T, key: K) => void;
712
758
  /**
713
759
  * Registers an entity tag.
714
760
  */
715
- export function entityTag(name: string): <K extends string | number | symbol, T extends Record<K, EntityTag>>(target: T, key: K) => void;
761
+ function entityTag(name: string): <K extends string | number | symbol, T extends Record<K, EntityTag>>(target: T, key: K) => void;
716
762
  /**
717
763
  * Registers a "usable" action generator — actions that appear in the UI, and can be slotted in the action bar.
718
764
  * @param set Where to append the usable actions
719
765
  * @param registrationHandler The handler that will register the new actions
720
766
  */
721
- export function usableActions<SET extends UsableActionSet>(name: string, set: SET, registrationHandler: (registrar: UsableActionRegistrar, ...args: (typeof usableActionSets)[SET] extends UsableActionGenerator<infer ARGS> ? ARGS : []) => any): <K extends string | number | symbol, T extends Record<K, UsableActionGenerator<[]>>>(target: T, key: K) => void;
767
+ function usableActions<SET extends UsableActionSet>(name: string, set: SET, registrationHandler: (registrar: UsableActionRegistrar, ...args: (typeof usableActionSets)[SET] extends UsableActionGenerator<infer ARGS> ? ARGS : []) => any): <K extends string | number | symbol, T extends Record<K, UsableActionGenerator>>(target: T, key: K) => void;
722
768
  /**
723
- * **Trying to register an action with the UI?** You may be looking for `@Register.`{@link usableActions}
769
+ * **Trying to register an action with the UI?** You may be looking for {@link usableActions `@Register.usableActions`}
724
770
  *
725
771
  * Registers a "usable" action type. This is solely used for generating an ID that can be associated with custom UsableActions.
726
772
  * A custom UsableActionType provides an ID used for translation, icons, etc.
@@ -731,9 +777,9 @@ declare module Register {
731
777
  * - If your definition doesn't have a custom `icon` provided, it will automatically attempt to use the icon at
732
778
  * `<your mod directory>/static/image/ui/icons/action/mod<your mod name><this registration name>.png`.
733
779
  */
734
- export function usableActionType(name: string): <K extends string | number | symbol, T extends Record<K, UsableActionType>>(target: T, key: K) => void;
780
+ function usableActionType(name: string): <K extends string | number | symbol, T extends Record<K, UsableActionType>>(target: T, key: K) => void;
735
781
  /**
736
- * **Trying to register an action with the UI?** You may be looking for `@Register.`{@link usableActions}
782
+ * **Trying to register an action with the UI?** You may be looking for {@link usableActions `@Register.usableActions`}
737
783
  *
738
784
  * Registers a "usable" action *placeholder* type. This is solely used for generating an ID that can be used in `UsableAction`s.
739
785
  * A custom UsableActionTypePlaceholder provides an ID that can be used for icons.
@@ -741,14 +787,14 @@ declare module Register {
741
787
  * IE: If a UsableAction definition's `icon` property is this placeholder ID's name, it will automatically attempt to use the icon at
742
788
  * `<your mod directory>/static/image/ui/icons/action/mod<your mod name><this registration name>.png`.
743
789
  */
744
- export function usableActionTypePlaceholder(name: string): <K extends string | number | symbol, T extends Record<K, UsableActionType>>(target: T, key: K) => void;
790
+ function usableActionTypePlaceholder(name: string): <K extends string | number | symbol, T extends Record<K, UsableActionType>>(target: T, key: K) => void;
745
791
  /**
746
792
  * Registers an equip slot.
747
793
  * @param description The definition of the equip slot.
748
794
  */
749
- export function equipType(name: string, description: IEquipTypeDescription): <K extends string | number | symbol, T extends Record<K, EquipType>>(target: T, key: K) => void;
750
- export function interModRegistry<V>(name: string): <K extends string | number | symbol, T extends Record<K, InterModRegistry<V>>>(target: T, key: K) => void;
751
- export function interModRegistration<V>(modName: string, registryName: string, value: V): <K extends string | number | symbol, T extends Record<K, InterModRegistration<V>>>(target: T, key: K) => void;
795
+ function equipType(name: string, description: IEquipTypeDescription): <K extends string | number | symbol, T extends Record<K, EquipType>>(target: T, key: K) => void;
796
+ function interModRegistry<V>(name: string): <K extends string | number | symbol, T extends Record<K, InterModRegistry<V>>>(target: T, key: K) => void;
797
+ function interModRegistration<V>(modName: string, registryName: string, value: V): <K extends string | number | symbol, T extends Record<K, InterModRegistration<V>>>(target: T, key: K) => void;
752
798
  /**
753
799
  * Register custom values that will replace default values in a vanilla object.
754
800
  *
@@ -765,8 +811,7 @@ declare module Register {
765
811
  * public itemDescriptionLogDismantle: IDismantleDescription;
766
812
  * ```
767
813
  */
768
- export function override<OBJECT extends object, PROPERTY extends keyof OBJECT>(overrider: () => IOverrideDescription<OBJECT, PROPERTY>): <K extends string | number | symbol, T extends Record<K, OBJECT>>(target: T, key: K) => void;
769
- type ExtractRegisteredType<F> = F extends (...args: any) => infer F2 ? F2 extends (t: infer T, k: infer K) => any ? T[Extract<K, keyof T>] : never : never;
814
+ function override<OBJECT extends object, PROPERTY extends keyof OBJECT>(time: ModRegistrationTime.Initialize | ModRegistrationTime.Load, overrider: () => IOverrideDescription<OBJECT, PROPERTY>): <K extends string | number | symbol, T extends Record<K, OBJECT>>(target: T, key: K) => void;
770
815
  /**
771
816
  * Registers any number of registrations of a single type. Any other registration type can be used.
772
817
  *
@@ -785,21 +830,20 @@ declare module Register {
785
830
  * }
786
831
  * ```
787
832
  */
788
- export function bulk<REG_TYPE extends keyof typeof Register, REG extends AnyFunction = (typeof Register)[REG_TYPE]>(type: REG_TYPE, ...entries: Array<Parameters<REG>>): <K extends string | number | symbol, T extends Record<K, ExtractRegisteredType<REG>[]>>(target: T, key: K) => void;
833
+ function bulk<REG_TYPE extends keyof typeof Register, REG extends AnyFunction = (typeof Register)[REG_TYPE]>(type: REG_TYPE, ...entries: Array<Parameters<NoInfer<REG>>>): <K extends string | number | symbol, T extends Record<K, Array<REG extends (...args: any) => infer F2 ? F2 extends (t: infer T, k: infer K) => any ? T[Extract<K, keyof T>] : never : never>>>(target: T, key: K) => void;
789
834
  /**
790
835
  * Registers a command.
791
836
  * @param name The name of this command (what players will type to use it, eg: `/heal`).
792
837
  *
793
838
  * This decorator should be used on a valid `CommandCallback` method.
794
839
  */
795
- export function command(name: string): (target: any, key: string, descriptor: TypedPropertyDescriptor<CommandCallback>) => void;
840
+ function command(name: string): (target: any, key: string, descriptor: TypedPropertyDescriptor<CommandCallback>) => void;
796
841
  /**
797
842
  * Registers an options section.
798
843
  *
799
844
  * This decorator should be used on a valid `ModOptionSectionInitializer` method.
800
845
  */
801
- export function optionsSection(target: any, key: string, descriptor: TypedPropertyDescriptor<ModOptionSectionInitializer>): void;
802
- export {};
846
+ function optionsSection(target: any, key: string, descriptor: TypedPropertyDescriptor<ModOptionSectionInitializer>): void;
803
847
  }
804
848
  export default Register;
805
849
  export declare const SYMBOL_REGISTRATION_ID: unique symbol;
@@ -859,16 +903,26 @@ declare class RegistryRegisteredFactory<H> {
859
903
  * ```
860
904
  */
861
905
  export declare function Registry<H>(id?: string): RegistryRegisteredFactory<H>;
862
- export declare module Registry {
906
+ export declare namespace Registry {
863
907
  /**
864
908
  * Returns the ID of a registered action or command callback which was decorated with its respective `@Register` decorator.
865
909
  * @param method An action or command callback method
866
910
  */
867
911
  function functionId<M extends AnyFunction>(method: M): Command;
912
+ interface IRegistrationsObject {
913
+ _isRegistrationsObject: boolean;
914
+ _registrationsDirty: boolean;
915
+ _registries: IRegistry | Set<IRegistry>;
916
+ }
917
+ namespace IRegistrationsObject {
918
+ function is(value: unknown): value is IRegistrationsObject;
919
+ }
920
+ function makeRegistrationsMap<MAP extends Map<K, V>, K, V>(map: MAP, registries: IRegistry | Set<IRegistry>): MAP & IRegistrationsObject;
921
+ function makeRegistrationsSet<SET extends Set<T>, T>(set: SET, registries: IRegistry | Set<IRegistry>): SET & IRegistrationsObject;
868
922
  /**
869
923
  * Used internally for `Registry<H, T>.get(key)`
870
924
  */
871
- class Registered {
925
+ class Registered implements Objects.ICloneable {
872
926
  readonly mod?: string;
873
927
  readonly type: RegistryRegisteredIntermediateType;
874
928
  readonly path: PropertyKey[];
@@ -887,7 +941,9 @@ export declare module Registry {
887
941
  * - If the type is a method, and an ID is returned by `Registry.id(registry[property])`, the ID will be returned.
888
942
  */
889
943
  getRegistrationId<T = any>(registry: IRegistry): T | undefined;
944
+ getFirstRegistrationId<T = any>(registries: IRegistry | Set<IRegistry>): T | undefined;
890
945
  initializeProperty<O extends object, K extends keyof O>(object: O, key: K, registries: IRegistry | Set<IRegistry>): void;
946
+ [Objects.SYMBOL_CLONE](clone: <T>(value: T) => T): this;
891
947
  }
892
948
  }
893
949
  export interface IBaseModRegistration {