@wayward/types 2.14.0 → 2.14.1-beta.dev.20241215.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/definitions/cplusplus/index.d.ts +2 -0
  2. package/definitions/game/game/Game.d.ts +1 -1
  3. package/definitions/game/game/IObject.d.ts +4 -0
  4. package/definitions/game/game/biome/template/Template.d.ts +3 -2
  5. package/definitions/game/game/deity/Deity.d.ts +1 -0
  6. package/definitions/game/game/doodad/Doodad.d.ts +1 -1
  7. package/definitions/game/game/doodad/IDoodad.d.ts +2 -0
  8. package/definitions/game/game/entity/CombatStrengthManager.d.ts +6 -5
  9. package/definitions/game/game/entity/Entity.d.ts +1 -1
  10. package/definitions/game/game/entity/EntityMovable.d.ts +3 -1
  11. package/definitions/game/game/entity/Human.d.ts +2 -2
  12. package/definitions/game/game/entity/IEntity.d.ts +1 -0
  13. package/definitions/game/game/entity/IHuman.d.ts +0 -1
  14. package/definitions/game/game/entity/action/Action.d.ts +2 -6
  15. package/definitions/game/game/entity/action/ActionExecutor.d.ts +1 -1
  16. package/definitions/game/game/entity/action/ActionsRegistration.d.ts +17 -8
  17. package/definitions/game/game/entity/action/IAction.d.ts +16 -11
  18. package/definitions/game/game/entity/action/actions/{Sacrifice.d.ts → AscendDescend.d.ts} +1 -8
  19. package/definitions/game/game/entity/action/actions/CageCreature.d.ts +1 -1
  20. package/definitions/game/game/entity/action/actions/ClearMessages.d.ts +1 -1
  21. package/definitions/game/game/entity/action/actions/Consecrate.d.ts +43 -0
  22. package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
  23. package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
  24. package/definitions/game/game/entity/action/actions/Dismantle.d.ts +1 -1
  25. package/definitions/game/game/entity/action/actions/Drop.d.ts +1 -1
  26. package/definitions/game/game/entity/action/actions/Eat.d.ts +1 -1
  27. package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +1 -1
  28. package/definitions/game/game/entity/action/actions/Harvest.d.ts +2 -1
  29. package/definitions/game/game/entity/action/actions/Ignite.d.ts +1 -1
  30. package/definitions/game/game/entity/action/actions/Plant.d.ts +2 -1
  31. package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
  32. package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
  33. package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
  34. package/definitions/game/game/entity/action/actions/Stack.d.ts +2 -2
  35. package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
  36. package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +2 -1
  37. package/definitions/game/game/entity/action/usable/UsableAction.d.ts +3 -1
  38. package/definitions/game/game/entity/action/usable/UsableActionTranslator.d.ts +6 -6
  39. package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +3 -1
  40. package/definitions/game/game/entity/action/usable/actions/UsableActionsDynamic.d.ts +3 -0
  41. package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
  42. package/definitions/game/game/entity/ai/AI.d.ts +7 -7
  43. package/definitions/game/game/entity/creature/zone/CreatureZone.d.ts +4 -3
  44. package/definitions/game/game/entity/creature/zone/CreatureZoneManager.d.ts +2 -2
  45. package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +29 -1
  46. package/definitions/game/game/entity/creature/zone/zones/arid/AridCreatures.d.ts +12 -0
  47. package/definitions/game/game/entity/creature/zone/zones/arid/AridDoodadReplacements.d.ts +12 -0
  48. package/definitions/game/game/entity/creature/zone/zones/arid/AridGuardians.d.ts +12 -0
  49. package/definitions/game/game/entity/creature/zone/zones/arid/AridTileReplacements.d.ts +12 -0
  50. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalCreatures.d.ts +12 -0
  51. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalDoodadReplacements.d.ts +12 -0
  52. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalGuardians.d.ts +12 -0
  53. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalTileReplacements.d.ts +12 -0
  54. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapCreatures.d.ts +12 -0
  55. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapDoodadReplacements.d.ts +12 -0
  56. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapGuardians.d.ts +12 -0
  57. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapTileReplacements.d.ts +12 -0
  58. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicCreatures.d.ts +12 -0
  59. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicDoodadReplacements.d.ts +12 -0
  60. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicGuardians.d.ts +12 -0
  61. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicTileReplacements.d.ts +12 -0
  62. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsCreatures.d.ts +12 -0
  63. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsDoodadReplacements.d.ts +12 -0
  64. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsGuardians.d.ts +12 -0
  65. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsTileReplacements.d.ts +12 -0
  66. package/definitions/game/game/entity/flowfield/FlowFieldManager.d.ts +1 -1
  67. package/definitions/game/game/entity/player/IPlayer.d.ts +3 -4
  68. package/definitions/game/game/entity/player/quest/quest/Quest.d.ts +1 -0
  69. package/definitions/game/game/entity/status/IStatus.d.ts +3 -0
  70. package/definitions/game/game/inspection/InfoProvider.d.ts +3 -0
  71. package/definitions/game/game/inspection/Inspection.d.ts +1 -0
  72. package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +1 -2
  73. package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +5 -8
  74. package/definitions/game/game/island/IIsland.d.ts +1 -1
  75. package/definitions/game/game/island/Island.d.ts +1 -1
  76. package/definitions/game/game/island/automation/Automation.d.ts +12 -3
  77. package/definitions/game/game/island/automation/AutomationStep.d.ts +1 -0
  78. package/definitions/game/game/island/automation/IAutomation.d.ts +103 -8
  79. package/definitions/game/game/island/automation/steps/ExecuteAction.d.ts +1 -1
  80. package/definitions/game/game/item/IItem.d.ts +25 -4
  81. package/definitions/game/game/item/IItemManager.d.ts +7 -3
  82. package/definitions/game/game/item/Item.d.ts +1 -0
  83. package/definitions/game/game/item/ItemFinder.d.ts +1 -0
  84. package/definitions/game/game/item/ItemManager.d.ts +6 -6
  85. package/definitions/game/game/magic/MagicalPropertyManager.d.ts +1 -3
  86. package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
  87. package/definitions/game/game/meta/prompt/IPrompt.d.ts +85 -83
  88. package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +2 -0
  89. package/definitions/game/game/milestones/MilestoneDefinition.d.ts +4 -4
  90. package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +6 -2
  91. package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +8 -2
  92. package/definitions/game/game/reference/IReferenceManager.d.ts +2 -2
  93. package/definitions/game/game/tile/Tile.d.ts +6 -4
  94. package/definitions/game/game/tile/TileEventManager.d.ts +5 -0
  95. package/definitions/game/language/DictionaryMap.d.ts +8 -8
  96. package/definitions/game/language/Translation.d.ts +9 -4
  97. package/definitions/game/language/dictionary/Message.d.ts +829 -848
  98. package/definitions/game/language/dictionary/Misc.d.ts +68 -69
  99. package/definitions/game/language/dictionary/Note.d.ts +1 -2
  100. package/definitions/game/language/dictionary/UiTranslation.d.ts +906 -924
  101. package/definitions/game/language/english/ui/RunekeeperDomains.d.ts +1 -1
  102. package/definitions/game/language/impl/TranslationImpl.d.ts +1 -0
  103. package/definitions/game/multiplayer/IMultiplayer.d.ts +68 -67
  104. package/definitions/game/renderer/IRenderer.d.ts +26 -24
  105. package/definitions/game/renderer/notifier/INotifier.d.ts +3 -1
  106. package/definitions/game/save/data/ISaveDataGlobal.d.ts +3 -0
  107. package/definitions/game/save/serializer/Serializer.d.ts +2 -1
  108. package/definitions/game/save/upgrade/UpgradeVersion.d.ts +3 -1
  109. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241129.d.ts +12 -0
  110. package/definitions/game/steamworks/Steamworks.d.ts +7 -0
  111. package/definitions/game/ui/ServerJoinHandler.d.ts +1 -0
  112. package/definitions/game/ui/Ui.d.ts +1 -0
  113. package/definitions/game/ui/component/Component.d.ts +2 -1
  114. package/definitions/game/ui/input/Bindable.d.ts +222 -222
  115. package/definitions/game/ui/screen/screens/GameScreen.d.ts +3 -4
  116. package/definitions/game/ui/screen/screens/game/DialogMap.d.ts +2 -0
  117. package/definitions/game/ui/screen/screens/game/Dialogs.d.ts +2 -1
  118. package/definitions/game/ui/screen/screens/game/component/Dialog.d.ts +1 -0
  119. package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +2 -0
  120. package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +3 -3
  121. package/definitions/game/ui/screen/screens/game/dialog/AltarDialog.d.ts +38 -0
  122. package/definitions/game/ui/screen/screens/game/dialog/ContainerDialog.d.ts +1 -0
  123. package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +2 -1
  124. package/definitions/game/ui/screen/screens/game/static/actions/ActionsSelector.d.ts +2 -1
  125. package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +3 -1
  126. package/definitions/game/ui/screen/screens/menu/menus/options/TabDeveloper.d.ts +3 -2
  127. package/definitions/game/ui/util/ComponentManipulator.d.ts +5 -4
  128. package/definitions/game/utilities/Version.d.ts +1 -1
  129. package/definitions/game/utilities/WebWorker.d.ts +4 -1
  130. package/definitions/game/utilities/math/Direction.d.ts +1 -1
  131. package/definitions/hosts/electron/main/ipc/handlers/electron/electron.d.ts +1 -0
  132. package/definitions/hosts/shared/globals.d.ts +2 -2
  133. package/definitions/hosts/shared/interfaces.d.ts +10 -0
  134. package/definitions/hosts/shared/ipc/electron.d.ts +1 -0
  135. package/definitions/matchmakingserver/dedicatedServer.d.ts +2 -1
  136. package/definitions/matchmakingserver/shared.d.ts +1 -38
  137. package/definitions/test/core/applicationInteractions.d.ts +4 -0
  138. package/definitions/test/core/applicationManager.d.ts +5 -4
  139. package/definitions/test/interfaces.d.ts +0 -63
  140. package/definitions/test/testRunner.d.ts +2 -2
  141. package/definitions/utilities/Errors.d.ts +1 -0
  142. package/definitions/utilities/enum/IEnum.d.ts +1 -1
  143. package/definitions/utilities/object/Objects.d.ts +5 -15
  144. package/package.json +1 -1
  145. package/definitions/game/game/entity/creature/zone/GuardianZones.d.ts +0 -16
  146. /package/definitions/game/save/upgrade/versions/beta2.14.0/{beta2.14.0-dev20240927.d.ts → beta2.14.0-dev20241024.d.ts} +0 -0
@@ -30,228 +30,228 @@ declare enum Bindable {
30
30
  GameFaceDown = 11,
31
31
  GameFaceRight = 12,
32
32
  GameIdle = 13,
33
- GameItemMove = 14,
34
- GameItemMoveAll = 15,
35
- GameItemMoveAllByQuality = 16,
36
- GameItemMoveToActionSlotAutoUse = 17,
37
- GameItemMenu = 18,
38
- GameItemQuickMove = 19,
39
- GameItemQuickMoveAll = 20,
40
- GameItemQuickMoveAllByQuality = 21,
41
- GameItemDrop = 22,
42
- GameItemDropAll = 23,
43
- GameItemDropAllByQuality = 24,
44
- GameItemEquipToggle = 25,
45
- GameItemProtectToggle = 26,
46
- GameItemOpen = 27,
47
- GameItemToggleStacked = 28,
48
- GameItemToggleStackOpen = 29,
49
- GameInspect = 30,
50
- GameInspectItem = 31,
51
- GameZoomIn = 32,
52
- GameZoomOut = 33,
53
- GamePause = 34,
54
- GameSave = 35,
55
- GameFullscreen = 36,
56
- GameScreenshotMode = 37,
57
- GameActionBarConfigure = 38,
58
- GameActionBarUseSlottedItem = 39,
59
- GameActionBarCopy = 40,
60
- GameActionBarToggleUseWhenMoving = 41,
61
- GameActionBarToggleAllUseWhenMoving = 42,
62
- GameActionBarClear = 43,
63
- GameActionBarToggleUseHistory = 44,
64
- GameActions = 45,
65
- GameActionsItems = 46,
66
- GameActionsInFront = 47,
67
- GameActionsItemsInFront = 48,
68
- GameActionEquip = 49,
69
- GameActionEquipLeft = 50,
70
- GameActionEquipRight = 51,
71
- GameActionUnequip = 52,
72
- GameActionCloseContainer = 53,
73
- GameActionOpenContainer = 54,
74
- GameActionButcher = 55,
75
- GameActionHarvest = 56,
76
- GameActionChop = 57,
77
- GameActionMine = 58,
78
- GameActionMelee = 59,
79
- GameActionGatherLiquid = 60,
80
- GameActionAttachContainer = 61,
81
- GameActionDetachContainer = 62,
82
- GameActionSwapWithArmorStand = 63,
83
- GameActionEquipFromArmorStand = 64,
84
- GameActionTakeFromArmorStand = 65,
85
- GameActionRotate = 66,
86
- GameActionDumpItems = 67,
87
- GameActionDisplayItem = 68,
88
- GameActionDisplayLeft = 69,
89
- GameActionDisplayRight = 70,
90
- GameActionKneel = 71,
91
- GameActionPour = 72,
92
- GameActionPourOnYourself = 73,
93
- GameActionDrink = 74,
94
- GameActionBuild = 75,
95
- GameActionCraft = 76,
96
- GameActionDisassemble = 77,
97
- GameActionDismantle = 78,
98
- GameActionOffer = 79,
99
- GameActionRepair = 80,
100
- GameActionThrow = 81,
101
- GameActionRename = 82,
102
- GameActionStartFire = 83,
103
- GameActionExtinguish = 84,
104
- GameActionDrop = 85,
105
- GameActionDropAll = 86,
106
- GameActionDropAllOfSameQuality = 87,
107
- GameActionDig = 88,
108
- GameActionTill = 89,
109
- GameActionPackGround = 90,
110
- GameActionEat = 91,
111
- GameActionCast = 92,
112
- GameActionRest = 93,
113
- GameActionSleep = 94,
114
- GameActionCure = 95,
115
- GameActionLockpick = 96,
116
- GameActionUseVehicle = 97,
117
- GameActionDismount = 98,
118
- GameActionGrasp = 99,
119
- GameActionAbsorb = 100,
120
- GameActionExude = 101,
121
- GameActionIgnite = 102,
122
- GameActionSetDown = 103,
123
- GameActionRubClockwise = 104,
124
- GameActionRubCounterclockwise = 105,
125
- GameActionRead = 106,
126
- GameActionLearn = 107,
127
- GameActionOpenBottle = 108,
128
- GameActionSqueeze = 109,
129
- GameActionGatherWithHands = 110,
130
- GameActionHarvestWithHands = 111,
131
- GameActionDigWithHands = 112,
132
- GameActionTillWithHands = 113,
133
- GameActionPickUpExcrementWithHands = 114,
134
- GameActionCageCreature = 115,
135
- GameActionPickUpItem = 116,
136
- GameActionPickUpAllItems = 117,
137
- GameActionPickUpDoodad = 118,
138
- GameActionTame = 119,
139
- GameActionRelease = 120,
140
- GameActionUncage = 121,
141
- GameActionPet = 122,
142
- GameActionHitch = 123,
143
- GameActionUnhitch = 124,
144
- GameActionToggleHitch = 125,
145
- GameActionCommandCreature = 126,
146
- GameActionCreatureFollowCloseAi = 127,
147
- GameActionCreatureFollowFarAi = 128,
148
- GameActionCreatureStayAi = 129,
149
- GameActionCreatureDefendAi = 130,
150
- GameActionCreatureAttackAi = 131,
151
- GameActionJump = 132,
152
- GameActionAttack = 133,
153
- GameActionPlant = 134,
154
- GameActionPlaceDown = 135,
155
- GameActionTrade = 136,
156
- GameActionShipToIsland = 137,
157
- GameActionShoot = 138,
158
- GameActionFire = 139,
159
- GameActionProtect = 140,
160
- GameActionUnprotect = 141,
161
- GameActionSmotherFire = 142,
162
- GameActionStokeFire = 143,
163
- GameActionHeal = 144,
164
- GameActionHealOther = 145,
165
- GameActionTestDepth = 146,
166
- GameActionReadMap = 147,
167
- GameActionPreserve = 148,
168
- GameActionReinforce = 149,
169
- GameActionTellTime = 150,
170
- GameActionEnchant = 151,
171
- GameActionSailToCivilization = 152,
172
- GameActionTeleport = 153,
173
- GameActionDrawMap = 154,
174
- GameActionApply = 155,
175
- GameActionRefine = 156,
176
- GameActionTransmogrify = 157,
177
- GameActionNavigate = 158,
178
- GameActionUpgrade = 159,
179
- GameActionEnhance = 160,
180
- GameActionAlter = 161,
181
- GameActionSummon = 162,
182
- GameActionInvoke = 163,
183
- GameActionExudeWithItem = 164,
184
- GameActionAbsorbWithItem = 165,
185
- GameActionIgniteWithItem = 166,
186
- GameActionAddFuelWithItem = 167,
187
- GameActionPreserveWithItem = 168,
188
- GameActionRefineWithItem = 169,
189
- GameActionAlterWithItem = 170,
190
- GameActionUpgradeWithItem = 171,
191
- GameActionTransmogrifyWithItem = 172,
192
- GameActionEnchantWithItem = 173,
193
- GameActionEnhanceWithItem = 174,
194
- GameActionReinforceWithItem = 175,
195
- GameActionRepairWithItem = 176,
196
- GameActionItemMove = 177,
197
- GameActionItemMoveAll = 178,
198
- GameActionItemMoveAllOfSameQuality = 179,
199
- GameActionItemMoveToInventory = 180,
200
- GameActionTradeBuyFromTrader = 181,
201
- GameActionTradeSellToTrader = 182,
202
- GameActionItemMoveToActiveContainer = 183,
203
- GameActionItemMoveToFacingContainer = 184,
204
- GameActionMoveContents = 185,
205
- GameActionOpenDoor = 186,
206
- GameActionCloseDoor = 187,
207
- DialogCloseAll = 188,
208
- DialogOptions = 189,
209
- DialogHelp = 190,
210
- DialogMilestones = 191,
211
- DialogNotes = 192,
212
- DialogMessages = 193,
213
- DialogMessagesChatFocus = 194,
214
- DialogInventory = 195,
215
- DialogCrafting = 196,
216
- DialogDismantle = 197,
217
- DialogEquipment = 198,
218
- DialogSkills = 199,
219
- DialogQuests = 200,
220
- DialogIslands = 201,
221
- HudToggleMenuBar = 202,
222
- HudToggleActionBar = 203,
223
- HudToggleMessages = 204,
224
- HudToggleStats = 205,
225
- MenuEnter = 206,
226
- MenuSubmit = 207,
227
- MenuNext = 208,
228
- MenuPrevious = 209,
229
- MenuUp = 210,
230
- MenuDown = 211,
231
- MenuLeft = 212,
232
- MenuRight = 213,
233
- MenuCancel = 214,
234
- MenuNextOption = 215,
235
- TooltipMoreInformation = 216,
236
- TooltipToggle = 217,
237
- MenuPreviousOption = 218,
238
- MenuContextMenu = 219,
239
- MenuSelect = 220,
240
- DeveloperInterfaceScaleUp = 221,
241
- DeveloperInterfaceScaleDown = 222,
242
- DeveloperToggleDeveloperMode = 223,
243
- DeveloperToggleDeveloperTools = 224,
244
- DeveloperReloadGame = 225,
245
- DeveloperReloadWithoutSavingGame = 226,
246
- DeveloperReloadAndContinueGame = 227,
247
- DeveloperReloadWithoutSavingAndContinueGame = 228,
248
- DeveloperReloadStylesheets = 229,
249
- DeveloperReloadTextures = 230,
250
- GameActionReshape = 231,
251
- GameActionReshapeWithItem = 232,
252
- GameActionCreatureHeelAi = 233,
253
- GameActionOpenTileContainer = 234,
254
- GameActionCommandCreatureAll = 235
33
+ GameAscendDescend = 14,
34
+ GameItemMove = 15,
35
+ GameItemMoveAll = 16,
36
+ GameItemMoveAllByQuality = 17,
37
+ GameItemMoveToActionSlotAutoUse = 18,
38
+ GameItemMenu = 19,
39
+ GameItemQuickMove = 20,
40
+ GameItemQuickMoveAll = 21,
41
+ GameItemQuickMoveAllByQuality = 22,
42
+ GameItemDrop = 23,
43
+ GameItemDropAll = 24,
44
+ GameItemDropAllByQuality = 25,
45
+ GameItemEquipToggle = 26,
46
+ GameItemProtectToggle = 27,
47
+ GameItemOpen = 28,
48
+ GameItemToggleStacked = 29,
49
+ GameItemToggleStackOpen = 30,
50
+ GameInspect = 31,
51
+ GameInspectItem = 32,
52
+ GameZoomIn = 33,
53
+ GameZoomOut = 34,
54
+ GamePause = 35,
55
+ GameSave = 36,
56
+ GameFullscreen = 37,
57
+ GameScreenshotMode = 38,
58
+ GameActionBarConfigure = 39,
59
+ GameActionBarUseSlottedItem = 40,
60
+ GameActionBarCopy = 41,
61
+ GameActionBarToggleUseWhenMoving = 42,
62
+ GameActionBarToggleAllUseWhenMoving = 43,
63
+ GameActionBarClear = 44,
64
+ GameActionBarToggleUseHistory = 45,
65
+ GameActions = 46,
66
+ GameActionsItems = 47,
67
+ GameActionsInFront = 48,
68
+ GameActionsItemsInFront = 49,
69
+ GameActionAltarConsecrate = 50,
70
+ GameActionAltarInvoke = 51,
71
+ GameActionAltarKneel = 52,
72
+ GameActionArmorStandDisplayItem = 53,
73
+ GameActionArmorStandDisplayLeft = 54,
74
+ GameActionArmorStandDisplayRight = 55,
75
+ GameActionArmorStandEquip = 56,
76
+ GameActionArmorStandSwap = 57,
77
+ GameActionArmorStandTake = 58,
78
+ GameActionAttackClose = 59,
79
+ GameActionAttackCloseMelee = 60,
80
+ GameActionAttackRangeFire = 61,
81
+ GameActionAttackRangeShoot = 62,
82
+ GameActionAttackRangeThrow = 63,
83
+ GameActionBuild = 64,
84
+ GameActionBuildPlaceDown = 65,
85
+ GameActionBuildSetDown = 66,
86
+ GameActionCage = 67,
87
+ GameActionCageUncage = 68,
88
+ GameActionCast = 69,
89
+ GameActionCommandCreature = 70,
90
+ GameActionCommandCreatureAll = 71,
91
+ GameActionCommandSetAiAttack = 72,
92
+ GameActionCommandSetAiDefend = 73,
93
+ GameActionCommandSetAiFollowClose = 74,
94
+ GameActionCommandSetAiFollowFar = 75,
95
+ GameActionCommandSetAiHeel = 76,
96
+ GameActionCommandSetAiStay = 77,
97
+ GameActionConsumeApply = 78,
98
+ GameActionConsumeCure = 79,
99
+ GameActionConsumeDrink = 80,
100
+ GameActionConsumeEat = 81,
101
+ GameActionConsumeHeal = 82,
102
+ GameActionConsumeHealOther = 83,
103
+ GameActionContainerOpenTile = 84,
104
+ GameActionCraftingCraft = 85,
105
+ GameActionCraftingDisassemble = 86,
106
+ GameActionCraftingDismantle = 87,
107
+ GameActionDoorClose = 88,
108
+ GameActionDoorOpen = 89,
109
+ GameActionEquip = 90,
110
+ GameActionEquipLeft = 91,
111
+ GameActionEquipRight = 92,
112
+ GameActionEquipUnequip = 93,
113
+ GameActionFireAddFuelWithItem = 94,
114
+ GameActionFireExtinguish = 95,
115
+ GameActionFireIgnite = 96,
116
+ GameActionFireIgniteWithItem = 97,
117
+ GameActionFireSmother = 98,
118
+ GameActionFireStart = 99,
119
+ GameActionFireStoke = 100,
120
+ GameActionGatherButcher = 101,
121
+ GameActionGatherChop = 102,
122
+ GameActionGatherDig = 103,
123
+ GameActionGatherDigWithHands = 104,
124
+ GameActionGatherGatherWithHands = 105,
125
+ GameActionGatherHarvest = 106,
126
+ GameActionGatherHarvestWithHands = 107,
127
+ GameActionGatherMine = 108,
128
+ GameActionGrasp = 109,
129
+ GameActionHitch = 110,
130
+ GameActionHitchToggle = 111,
131
+ GameActionHitchUnhitch = 112,
132
+ GameActionImproveBasicEnhance = 113,
133
+ GameActionImproveBasicEnhanceWithItem = 114,
134
+ GameActionImproveBasicPreserve = 115,
135
+ GameActionImproveBasicPreserveWithItem = 116,
136
+ GameActionImproveBasicRefine = 117,
137
+ GameActionImproveBasicRefineWithItem = 118,
138
+ GameActionImproveBasicReinforce = 119,
139
+ GameActionImproveBasicReinforceWithItem = 120,
140
+ GameActionImproveBasicRepair = 121,
141
+ GameActionImproveBasicRepairWithItem = 122,
142
+ GameActionImproveBasicReshape = 123,
143
+ GameActionImproveBasicReshapeWithItem = 124,
144
+ GameActionImproveMagicAbsorb = 125,
145
+ GameActionImproveMagicAbsorbWithItem = 126,
146
+ GameActionImproveMagicAlter = 127,
147
+ GameActionImproveMagicAlterWithItem = 128,
148
+ GameActionImproveMagicEnchant = 129,
149
+ GameActionImproveMagicEnchantWithItem = 130,
150
+ GameActionImproveMagicExude = 131,
151
+ GameActionImproveMagicExudeWithItem = 132,
152
+ GameActionImproveMagicTransmogrify = 133,
153
+ GameActionImproveMagicTransmogrifyWithItem = 134,
154
+ GameActionImproveMagicUpgrade = 135,
155
+ GameActionImproveMagicUpgradeWithItem = 136,
156
+ GameActionItemContainerDumpItems = 137,
157
+ GameActionItemContainerMoveContents = 138,
158
+ GameActionItemContainerStateClose = 139,
159
+ GameActionItemContainerStateOpen = 140,
160
+ GameActionItemDestinationActiveContainer = 141,
161
+ GameActionItemDestinationFacingContainer = 142,
162
+ GameActionItemDestinationInventory = 143,
163
+ GameActionItemDrop = 144,
164
+ GameActionItemDropAll = 145,
165
+ GameActionItemDropAllOfSameQuality = 146,
166
+ GameActionItemMove = 147,
167
+ GameActionItemMoveAll = 148,
168
+ GameActionItemMoveAllOfSameQuality = 149,
169
+ GameActionItemPickUpAllItems = 150,
170
+ GameActionItemPickUpItem = 151,
171
+ GameActionJump = 152,
172
+ GameActionLearn = 153,
173
+ GameActionLiquidGather = 154,
174
+ GameActionLiquidPour = 155,
175
+ GameActionLiquidPourOnYourself = 156,
176
+ GameActionLockpick = 157,
177
+ GameActionMapDraw = 158,
178
+ GameActionMapRead = 159,
179
+ GameActionNavigate = 160,
180
+ GameActionOpenBottle = 161,
181
+ GameActionPickUpDoodad = 162,
182
+ GameActionPickUpExcrementWithHands = 163,
183
+ GameActionPlant = 164,
184
+ GameActionProtect = 165,
185
+ GameActionProtectUnprotect = 166,
186
+ GameActionRead = 167,
187
+ GameActionRename = 168,
188
+ GameActionRest = 169,
189
+ GameActionRestSleep = 170,
190
+ GameActionRotate = 171,
191
+ GameActionSqueeze = 172,
192
+ GameActionStillAttachContainer = 173,
193
+ GameActionStillDetachContainer = 174,
194
+ GameActionSummon = 175,
195
+ GameActionTame = 176,
196
+ GameActionTameOffer = 177,
197
+ GameActionTamePet = 178,
198
+ GameActionTameRelease = 179,
199
+ GameActionTeleport = 180,
200
+ GameActionTellTime = 181,
201
+ GameActionTestDepth = 182,
202
+ GameActionTill = 183,
203
+ GameActionTillUntill = 184,
204
+ GameActionTillWithHands = 185,
205
+ GameActionTrade = 186,
206
+ GameActionTradeBuyFromTrader = 187,
207
+ GameActionTradeSellToTrader = 188,
208
+ GameActionTravelSailToCivilization = 189,
209
+ GameActionTravelShipToIsland = 190,
210
+ GameActionVehicleRide = 191,
211
+ GameActionVehicleUnride = 192,
212
+ DialogCloseAll = 193,
213
+ DialogOptions = 194,
214
+ DialogHelp = 195,
215
+ DialogMilestones = 196,
216
+ DialogNotes = 197,
217
+ DialogMessages = 198,
218
+ DialogMessagesChatFocus = 199,
219
+ DialogInventory = 200,
220
+ DialogCrafting = 201,
221
+ DialogDismantle = 202,
222
+ DialogEquipment = 203,
223
+ DialogSkills = 204,
224
+ DialogQuests = 205,
225
+ DialogIslands = 206,
226
+ HudToggleMenuBar = 207,
227
+ HudToggleActionBar = 208,
228
+ HudToggleMessages = 209,
229
+ HudToggleStats = 210,
230
+ TooltipMoreInformation = 211,
231
+ TooltipToggle = 212,
232
+ MenuEnter = 213,
233
+ MenuSubmit = 214,
234
+ MenuNext = 215,
235
+ MenuPrevious = 216,
236
+ MenuUp = 217,
237
+ MenuDown = 218,
238
+ MenuLeft = 219,
239
+ MenuRight = 220,
240
+ MenuCancel = 221,
241
+ MenuNextOption = 222,
242
+ MenuPreviousOption = 223,
243
+ MenuContextMenu = 224,
244
+ MenuSelect = 225,
245
+ DeveloperInterfaceScaleUp = 226,
246
+ DeveloperInterfaceScaleDown = 227,
247
+ DeveloperToggleDeveloperMode = 228,
248
+ DeveloperToggleDeveloperTools = 229,
249
+ DeveloperReloadGame = 230,
250
+ DeveloperReloadWithoutSavingGame = 231,
251
+ DeveloperReloadAndContinueGame = 232,
252
+ DeveloperReloadWithoutSavingAndContinueGame = 233,
253
+ DeveloperReloadStylesheets = 234,
254
+ DeveloperReloadTextures = 235
255
255
  }
256
256
  export default Bindable;
257
257
  export declare enum BindableType {
@@ -33,7 +33,7 @@ import WorldTooltipHandler from "@wayward/game/ui/screen/screens/game/WorldToolt
33
33
  import ContainerBucket from "@wayward/game/ui/screen/screens/game/component/ContainerBucket";
34
34
  import { Quadrant } from "@wayward/game/ui/screen/screens/game/component/IQuadrantComponent";
35
35
  import type QuadrantComponent from "@wayward/game/ui/screen/screens/game/component/QuadrantComponent";
36
- import type ContainerDialog from "@wayward/game/ui/screen/screens/game/dialog/ContainerDialog";
36
+ import ContainerDialog from "@wayward/game/ui/screen/screens/game/dialog/ContainerDialog";
37
37
  import type ActionBar from "@wayward/game/ui/screen/screens/game/static/ActionBar";
38
38
  import MenuBar from "@wayward/game/ui/screen/screens/game/static/MenuBar";
39
39
  import type Messages from "@wayward/game/ui/screen/screens/game/static/Messages";
@@ -51,9 +51,7 @@ export declare enum GameScreenClasses {
51
51
  PauseIcon_Visible = "pause-icon--visible",
52
52
  PauseIcon_Overlay = "pause-icon--overlay"
53
53
  }
54
- export type IDialogStates = {
55
- [key in `${DialogId}` | `${DialogId},${string}`]: boolean;
56
- };
54
+ export type IDialogStates = Record<`${DialogId}` | `${DialogId},${string}`, boolean>;
57
55
  declare global {
58
56
  let gameScreen: GameScreen | undefined;
59
57
  }
@@ -154,6 +152,7 @@ export default class GameScreen extends Screen {
154
152
  protected onDie(player: Player, showingGameEndScreen?: boolean): void;
155
153
  protected onRespawn(): void;
156
154
  protected onEntityMoved(object: EntityMovable, lastTile: Tile, tile: Tile): void;
155
+ protected onAscendDescend(api: IBindHandlerApi): boolean;
157
156
  protected onZoom(api: IBindHandlerApi): boolean;
158
157
  protected onInspect(api: IBindHandlerApi): boolean;
159
158
  protected onScreenshotMode(): boolean;
@@ -8,6 +8,7 @@
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 AltarDialog from "@wayward/game/ui/screen/screens/game/dialog/AltarDialog";
11
12
  import BookDialog from "@wayward/game/ui/screen/screens/game/dialog/BookDialog";
12
13
  import ContainerDialog from "@wayward/game/ui/screen/screens/game/dialog/ContainerDialog";
13
14
  import CraftingDialog from "@wayward/game/ui/screen/screens/game/dialog/CraftingDialog";
@@ -26,6 +27,7 @@ import QuickSettingsDialog from "@wayward/game/ui/screen/screens/game/dialog/Qui
26
27
  import SkillsDialog from "@wayward/game/ui/screen/screens/game/dialog/SkillsDialog";
27
28
  import TradeDialog from "@wayward/game/ui/screen/screens/game/dialog/TradeDialog";
28
29
  declare const dialogMap: {
30
+ 17: typeof AltarDialog;
29
31
  6: typeof BookDialog;
30
32
  15: typeof ContainerDialog;
31
33
  9: typeof CraftingDialog;
@@ -27,7 +27,8 @@ export declare enum DialogId {
27
27
  IslandsShipping = 13,
28
28
  Inventory = 14,
29
29
  Container = 15,
30
- Trade = 16
30
+ Trade = 16,
31
+ Altar = 17
31
32
  }
32
33
  export declare enum Edge {
33
34
  Top = 0,
@@ -134,6 +134,7 @@ declare abstract class Dialog extends Component implements IDialog {
134
134
  private readonly activeReasons;
135
135
  private readonly pinReasons;
136
136
  protected readonly scrollableHandler: void;
137
+ order: number;
137
138
  private loaded?;
138
139
  private get visiblePanel();
139
140
  get square(): boolean;
@@ -120,6 +120,8 @@ export interface IItemComponentHandlerDescription {
120
120
  getStackItems?(): readonly Item[];
121
121
  getStackDisplayItem?(): Item | undefined;
122
122
  getDisplayItem?(): Item | undefined;
123
+ getDurability?(): number;
124
+ getCooldown?(): number;
123
125
  isDamaged?(): boolean;
124
126
  isDecayed?(): boolean;
125
127
  }
@@ -77,7 +77,8 @@ export default class ContainerBucketItemList extends Component implements ISorta
77
77
  readonly sortable: Sortable;
78
78
  private containerRef?;
79
79
  get container(): IContainer | undefined;
80
- isStacked(type?: ItemType): boolean | undefined;
80
+ isStacked(type?: ItemType): boolean;
81
+ isStacked(item?: Item): boolean;
81
82
  getStackedItems(type?: ItemType): Item[];
82
83
  getStackIndex(type?: ItemType): number | undefined;
83
84
  constructor(container?: IContainer);
@@ -99,7 +100,7 @@ export default class ContainerBucketItemList extends Component implements ISorta
99
100
  private removeItemStackComponent;
100
101
  refresh(initial?: boolean): void;
101
102
  willAccept(item: Item | ItemType): boolean;
102
- protected getOrderedContainerItems(): Item[];
103
+ protected getOrderedContainerItems(): readonly Item[];
103
104
  private getHovered;
104
105
  protected onItemMenu(): boolean;
105
106
  onItemEquipToggle(): boolean;
@@ -137,7 +138,6 @@ export default class ContainerBucketItemList extends Component implements ISorta
137
138
  private itemIdsInElements?;
138
139
  private getItemIdsInElements;
139
140
  private getItemElementId;
140
- private itemListDiffers;
141
141
  private getItemComponentElements;
142
142
  private regenerate;
143
143
  private transfer;
@@ -0,0 +1,38 @@
1
+ /*!
2
+ * Copyright 2011-2024 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type { IContainer } from "@wayward/game/game/item/IItem";
12
+ import type Item from "@wayward/game/game/item/Item";
13
+ import type ItemManager from "@wayward/game/game/item/ItemManager";
14
+ import Button from "@wayward/game/ui/component/Button";
15
+ import Component from "@wayward/game/ui/component/Component";
16
+ import ContainerDialog from "@wayward/game/ui/screen/screens/game/dialog/ContainerDialog";
17
+ import { DialogId } from "@wayward/game/ui/screen/screens/game/Dialogs";
18
+ export declare enum AltarDialogClasses {
19
+ Body_ConsecrateDisabled = "altar-dialog-body--consecrate-disabled",
20
+ Bucket = "altar-dialog-bucket",
21
+ ConsecrateButton = "altar-dialog-consecrate-button",
22
+ ConsecrateButtonDisabled = "altar-dialog-consecrate-button--disabled",
23
+ ResultArrow = "altar-dialog-result-arrow",
24
+ Projection = "altar-dialog-projection",
25
+ ProjectionItem = "altar-dialog-projection-item"
26
+ }
27
+ export default class AltarDialog extends ContainerDialog {
28
+ readonly consecrateButton: Button;
29
+ readonly resultArrow: Component<HTMLElement>;
30
+ readonly projection: Component<HTMLElement>;
31
+ constructor(id?: DialogId, subId?: string);
32
+ setContainer(container: IContainer): this;
33
+ protected onContainerChange(item: Item, container: IContainer, oldContainer?: IContainer): void;
34
+ protected onContainerUpdateOrder(man: ItemManager, container: IContainer): void;
35
+ protected itemChange(item: Item): void;
36
+ private refreshProjection;
37
+ private onConsecrate;
38
+ }
@@ -34,6 +34,7 @@ export default class ContainerDialog extends Dialog {
34
34
  constructor(id?: DialogId, subId?: string);
35
35
  setContainer(container: IContainer): this;
36
36
  protected resolveContainer(): (Tile & ITileContainer) | (Entity & IContainer) | undefined;
37
+ protected shouldSkipSetContainerOnAppend(): boolean;
37
38
  protected onAppend1(): void;
38
39
  getName(): TranslationImpl | undefined;
39
40
  protected onTickEnd(): void;
@@ -117,7 +117,8 @@ export declare class ActionSlot extends Button implements IRefreshable, ItemSlot
117
117
  getAction(): UsableAction<IUsableActionRequirements, IUsableActionDefinition> | undefined;
118
118
  getActionId(): ActionId | undefined;
119
119
  getInternalActionType(): ActionType | undefined;
120
- getUsing(): IUsableActionPossibleUsing | undefined;
120
+ private usingCache?;
121
+ getUsing(fresh?: true): IUsableActionPossibleUsing | undefined;
121
122
  private getBindingText;
122
123
  }
123
124
  declare class ActionSlotSlottedContainer extends ItemComponent {
@@ -13,6 +13,7 @@ import type UsableAction from "@wayward/game/game/entity/action/usable/UsableAct
13
13
  import Component from "@wayward/game/ui/component/Component";
14
14
  import Input from "@wayward/game/ui/component/Input";
15
15
  import type { IBindHandlerApi } from "@wayward/game/ui/input/Bind";
16
+ import type ActionsConfigurationDrawer from "@wayward/game/ui/screen/screens/game/static/actions/ActionsDrawer";
16
17
  import ActionsList from "@wayward/game/ui/screen/screens/game/static/actions/ActionsList";
17
18
  import SelectionHandler from "@wayward/game/ui/screen/screens/menu/component/SelectionHandler";
18
19
  import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
@@ -46,7 +47,7 @@ export default class ActionsSelector extends Component {
46
47
  get action(): UsableAction<IUsableActionRequirements, IUsableActionDefinition> | undefined;
47
48
  private readonly host;
48
49
  private using?;
49
- constructor(host: Component);
50
+ constructor(host: ActionsConfigurationDrawer);
50
51
  listen(): this;
51
52
  unlisten(): this;
52
53
  setSlot(number: number, action: UsableAction | undefined, using: IUsableActionPossibleUsing): void;
@@ -14,6 +14,7 @@ import { UsableActionDisplayContext } from "@wayward/game/game/entity/action/usa
14
14
  import type UsableAction from "@wayward/game/game/entity/action/usable/UsableAction";
15
15
  import { InfoDisplayLevel } from "@wayward/game/game/inspection/IInfoProvider";
16
16
  import { InfoProviderContext } from "@wayward/game/game/inspection/InfoProviderContext";
17
+ import { ContainerReference } from "@wayward/game/game/item/IItem";
17
18
  import type Item from "@wayward/game/game/item/Item";
18
19
  import type { Reference, ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
19
20
  import type { Modifier } from "@wayward/game/ui/input/IInput";
@@ -28,10 +29,11 @@ export interface IActionBarSlotData {
28
29
  useHovered?: true;
29
30
  useOnHoveredTile?: true;
30
31
  actionId?: ActionId;
31
- using?: Omit<IUsableActionPossibleUsing, "item" | "doodad" | "vehicle" | "creature" | "npc" | "fromTile" | "targetTile"> & {
32
+ using?: Omit<IUsableActionPossibleUsing, "item" | "doodad" | "vehicle" | "creature" | "npc" | "fromTile" | "targetTile" | "container"> & {
32
33
  fromTile?: number;
33
34
  targetTile?: number;
34
35
  item?: Reference<ReferenceType.Item>;
36
+ container?: ContainerReference;
35
37
  doodad?: Reference<ReferenceType.Doodad>;
36
38
  vehicle?: Reference<ReferenceType.Doodad>;
37
39
  creature?: Reference<ReferenceType.Creature>;