@wayward/types 2.14.0 → 2.14.1-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 (165) 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/arid/mapGen/2.14.1.d.ts +12 -0
  5. package/definitions/game/game/biome/coastal/Coastal.d.ts +1 -1
  6. package/definitions/game/game/biome/coastal/mapGen/2.14.1.d.ts +12 -0
  7. package/definitions/game/game/biome/iceCap/mapGen/2.14.1.d.ts +12 -0
  8. package/definitions/game/game/biome/template/Template.d.ts +3 -2
  9. package/definitions/game/game/biome/volcanic/mapGen/2.14.1.d.ts +12 -0
  10. package/definitions/game/game/biome/wetlands/mapGen/2.14.1.d.ts +12 -0
  11. package/definitions/game/game/deity/Deity.d.ts +1 -0
  12. package/definitions/game/game/deity/IDeities.d.ts +7 -0
  13. package/definitions/game/game/doodad/Doodad.d.ts +1 -1
  14. package/definitions/game/game/doodad/IDoodad.d.ts +2 -0
  15. package/definitions/game/game/entity/CombatStrengthManager.d.ts +6 -5
  16. package/definitions/game/game/entity/Entity.d.ts +1 -1
  17. package/definitions/game/game/entity/EntityMovable.d.ts +3 -1
  18. package/definitions/game/game/entity/Human.d.ts +2 -2
  19. package/definitions/game/game/entity/IEntity.d.ts +1 -0
  20. package/definitions/game/game/entity/IHuman.d.ts +0 -3
  21. package/definitions/game/game/entity/action/Action.d.ts +2 -6
  22. package/definitions/game/game/entity/action/ActionExecutor.d.ts +1 -1
  23. package/definitions/game/game/entity/action/ActionsRegistration.d.ts +17 -8
  24. package/definitions/game/game/entity/action/IAction.d.ts +16 -11
  25. package/definitions/game/game/entity/action/actions/{Sacrifice.d.ts → AscendDescend.d.ts} +1 -8
  26. package/definitions/game/game/entity/action/actions/CageCreature.d.ts +1 -1
  27. package/definitions/game/game/entity/action/actions/ClearMessages.d.ts +1 -1
  28. package/definitions/game/game/entity/action/actions/Consecrate.d.ts +43 -0
  29. package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
  30. package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
  31. package/definitions/game/game/entity/action/actions/Dismantle.d.ts +1 -1
  32. package/definitions/game/game/entity/action/actions/Drop.d.ts +1 -1
  33. package/definitions/game/game/entity/action/actions/Eat.d.ts +1 -1
  34. package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +1 -1
  35. package/definitions/game/game/entity/action/actions/Harvest.d.ts +2 -1
  36. package/definitions/game/game/entity/action/actions/Ignite.d.ts +1 -1
  37. package/definitions/game/game/entity/action/actions/Plant.d.ts +2 -1
  38. package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
  39. package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
  40. package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
  41. package/definitions/game/game/entity/action/actions/Stack.d.ts +2 -2
  42. package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
  43. package/definitions/game/game/entity/action/actions/moveItem/MoveItemFilterArgument.d.ts +1 -0
  44. package/definitions/game/game/entity/action/actions/moveItem/MoveItemOptionsArgument.d.ts +1 -0
  45. package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +2 -1
  46. package/definitions/game/game/entity/action/usable/UsableAction.d.ts +3 -1
  47. package/definitions/game/game/entity/action/usable/UsableActionTranslator.d.ts +6 -6
  48. package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +3 -1
  49. package/definitions/game/game/entity/action/usable/actions/UsableActionsDynamic.d.ts +3 -0
  50. package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
  51. package/definitions/game/game/entity/ai/AI.d.ts +7 -7
  52. package/definitions/game/game/entity/creature/Creature.d.ts +1 -0
  53. package/definitions/game/game/entity/creature/zone/CreatureZone.d.ts +4 -3
  54. package/definitions/game/game/entity/creature/zone/CreatureZoneManager.d.ts +2 -2
  55. package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +29 -1
  56. package/definitions/game/game/entity/creature/zone/zones/arid/AridCreatures.d.ts +12 -0
  57. package/definitions/game/game/entity/creature/zone/zones/arid/AridDoodadReplacements.d.ts +12 -0
  58. package/definitions/game/game/entity/creature/zone/zones/arid/AridGuardians.d.ts +12 -0
  59. package/definitions/game/game/entity/creature/zone/zones/arid/AridTileReplacements.d.ts +12 -0
  60. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalCreatures.d.ts +12 -0
  61. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalDoodadReplacements.d.ts +12 -0
  62. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalGuardians.d.ts +12 -0
  63. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalTileReplacements.d.ts +12 -0
  64. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapCreatures.d.ts +12 -0
  65. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapDoodadReplacements.d.ts +12 -0
  66. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapGuardians.d.ts +12 -0
  67. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapTileReplacements.d.ts +12 -0
  68. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicCreatures.d.ts +12 -0
  69. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicDoodadReplacements.d.ts +12 -0
  70. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicGuardians.d.ts +12 -0
  71. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicTileReplacements.d.ts +12 -0
  72. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsCreatures.d.ts +12 -0
  73. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsDoodadReplacements.d.ts +12 -0
  74. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsGuardians.d.ts +12 -0
  75. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsTileReplacements.d.ts +12 -0
  76. package/definitions/game/game/entity/flowfield/FlowFieldManager.d.ts +1 -1
  77. package/definitions/game/game/entity/player/IPlayer.d.ts +3 -4
  78. package/definitions/game/game/entity/player/Player.d.ts +3 -0
  79. package/definitions/game/game/entity/player/quest/quest/Quest.d.ts +1 -0
  80. package/definitions/game/game/entity/status/IStatus.d.ts +3 -0
  81. package/definitions/game/game/inspection/InfoProvider.d.ts +3 -0
  82. package/definitions/game/game/inspection/Inspection.d.ts +1 -0
  83. package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +1 -2
  84. package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +5 -8
  85. package/definitions/game/game/island/IIsland.d.ts +1 -1
  86. package/definitions/game/game/island/Island.d.ts +1 -1
  87. package/definitions/game/game/island/automation/Automation.d.ts +12 -3
  88. package/definitions/game/game/island/automation/AutomationStep.d.ts +1 -0
  89. package/definitions/game/game/island/automation/IAutomation.d.ts +103 -8
  90. package/definitions/game/game/island/automation/steps/ExecuteAction.d.ts +1 -1
  91. package/definitions/game/game/item/IItem.d.ts +26 -5
  92. package/definitions/game/game/item/IItemManager.d.ts +7 -3
  93. package/definitions/game/game/item/Item.d.ts +1 -0
  94. package/definitions/game/game/item/ItemFinder.d.ts +1 -0
  95. package/definitions/game/game/item/ItemManager.d.ts +6 -6
  96. package/definitions/game/game/magic/MagicalPropertyManager.d.ts +1 -3
  97. package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
  98. package/definitions/game/game/mapgen/version/2.14.1.d.ts +19 -0
  99. package/definitions/game/game/meta/prompt/IPrompt.d.ts +85 -83
  100. package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +2 -0
  101. package/definitions/game/game/milestones/MilestoneDefinition.d.ts +4 -4
  102. package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +6 -2
  103. package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +8 -2
  104. package/definitions/game/game/reference/IReferenceManager.d.ts +2 -2
  105. package/definitions/game/game/tile/Tile.d.ts +6 -4
  106. package/definitions/game/game/tile/TileEventManager.d.ts +5 -0
  107. package/definitions/game/language/DictionaryMap.d.ts +8 -8
  108. package/definitions/game/language/Translation.d.ts +9 -4
  109. package/definitions/game/language/dictionary/Message.d.ts +829 -848
  110. package/definitions/game/language/dictionary/Misc.d.ts +68 -69
  111. package/definitions/game/language/dictionary/Note.d.ts +1 -2
  112. package/definitions/game/language/dictionary/UiTranslation.d.ts +902 -924
  113. package/definitions/game/language/english/ui/RunekeeperDomains.d.ts +1 -1
  114. package/definitions/game/language/impl/TranslationImpl.d.ts +1 -0
  115. package/definitions/game/multiplayer/IMultiplayer.d.ts +68 -68
  116. package/definitions/game/renderer/IRenderer.d.ts +26 -24
  117. package/definitions/game/renderer/fieldOfView/FieldOfView.d.ts +6 -0
  118. package/definitions/game/renderer/notifier/INotifier.d.ts +3 -1
  119. package/definitions/game/save/data/ISaveDataGlobal.d.ts +3 -2
  120. package/definitions/game/save/serializer/Serializer.d.ts +2 -1
  121. package/definitions/game/save/upgrade/UpgradeVersion.d.ts +3 -1
  122. package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241129.d.ts +12 -0
  123. package/definitions/game/steamworks/Steamworks.d.ts +7 -0
  124. package/definitions/game/ui/ServerJoinHandler.d.ts +1 -0
  125. package/definitions/game/ui/Ui.d.ts +1 -0
  126. package/definitions/game/ui/component/Component.d.ts +2 -1
  127. package/definitions/game/ui/input/Bind.d.ts +21 -14
  128. package/definitions/game/ui/input/Bindable.d.ts +224 -222
  129. package/definitions/game/ui/input/IInput.d.ts +19 -0
  130. package/definitions/game/ui/screen/screens/GameScreen.d.ts +3 -4
  131. package/definitions/game/ui/screen/screens/game/DialogMap.d.ts +2 -0
  132. package/definitions/game/ui/screen/screens/game/Dialogs.d.ts +2 -1
  133. package/definitions/game/ui/screen/screens/game/component/Dialog.d.ts +1 -0
  134. package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +3 -0
  135. package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +8 -3
  136. package/definitions/game/ui/screen/screens/game/dialog/AltarDialog.d.ts +38 -0
  137. package/definitions/game/ui/screen/screens/game/dialog/ContainerDialog.d.ts +1 -0
  138. package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +1 -0
  139. package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +3 -1
  140. package/definitions/game/ui/screen/screens/game/static/actions/ActionsSelector.d.ts +2 -1
  141. package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +3 -1
  142. package/definitions/game/ui/screen/screens/menu/menus/options/TabDeveloper.d.ts +3 -2
  143. package/definitions/game/ui/util/ComponentManipulator.d.ts +5 -4
  144. package/definitions/game/utilities/Version.d.ts +1 -1
  145. package/definitions/game/utilities/WebWorker.d.ts +4 -1
  146. package/definitions/game/utilities/math/Direction.d.ts +1 -1
  147. package/definitions/hosts/electron/main/ipc/handlers/electron/electron.d.ts +1 -0
  148. package/definitions/hosts/shared/globals.d.ts +2 -2
  149. package/definitions/hosts/shared/interfaces.d.ts +10 -0
  150. package/definitions/hosts/shared/ipc/electron.d.ts +1 -0
  151. package/definitions/launcher/utilities/EventManager.d.ts +1 -3
  152. package/definitions/matchmakingserver/dedicatedServer.d.ts +2 -1
  153. package/definitions/matchmakingserver/directoryConnection.d.ts +1 -0
  154. package/definitions/matchmakingserver/globalServerDirectory.d.ts +1 -0
  155. package/definitions/matchmakingserver/shared.d.ts +1 -38
  156. package/definitions/test/core/applicationInteractions.d.ts +4 -0
  157. package/definitions/test/core/applicationManager.d.ts +5 -4
  158. package/definitions/test/interfaces.d.ts +0 -63
  159. package/definitions/test/testRunner.d.ts +2 -2
  160. package/definitions/utilities/Errors.d.ts +1 -0
  161. package/definitions/utilities/enum/IEnum.d.ts +1 -1
  162. package/definitions/utilities/object/Objects.d.ts +5 -15
  163. package/package.json +1 -1
  164. package/definitions/game/game/entity/creature/zone/GuardianZones.d.ts +0 -16
  165. /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,230 @@ 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
+ GameItemQuickMoveFromStack = 23,
43
+ GameItemQuickMoveToStack = 24,
44
+ GameItemDrop = 25,
45
+ GameItemDropAll = 26,
46
+ GameItemDropAllByQuality = 27,
47
+ GameItemEquipToggle = 28,
48
+ GameItemProtectToggle = 29,
49
+ GameItemOpen = 30,
50
+ GameItemToggleStacked = 31,
51
+ GameItemToggleStackOpen = 32,
52
+ GameInspect = 33,
53
+ GameInspectItem = 34,
54
+ GameZoomIn = 35,
55
+ GameZoomOut = 36,
56
+ GamePause = 37,
57
+ GameSave = 38,
58
+ GameFullscreen = 39,
59
+ GameScreenshotMode = 40,
60
+ GameActionBarConfigure = 41,
61
+ GameActionBarUseSlottedItem = 42,
62
+ GameActionBarCopy = 43,
63
+ GameActionBarToggleUseWhenMoving = 44,
64
+ GameActionBarToggleAllUseWhenMoving = 45,
65
+ GameActionBarClear = 46,
66
+ GameActionBarToggleUseHistory = 47,
67
+ GameActions = 48,
68
+ GameActionsItems = 49,
69
+ GameActionsInFront = 50,
70
+ GameActionsItemsInFront = 51,
71
+ GameActionAltarConsecrate = 52,
72
+ GameActionAltarInvoke = 53,
73
+ GameActionAltarKneel = 54,
74
+ GameActionArmorStandDisplayItem = 55,
75
+ GameActionArmorStandDisplayLeft = 56,
76
+ GameActionArmorStandDisplayRight = 57,
77
+ GameActionArmorStandEquip = 58,
78
+ GameActionArmorStandSwap = 59,
79
+ GameActionArmorStandTake = 60,
80
+ GameActionAttackClose = 61,
81
+ GameActionAttackCloseMelee = 62,
82
+ GameActionAttackRangeFire = 63,
83
+ GameActionAttackRangeShoot = 64,
84
+ GameActionAttackRangeThrow = 65,
85
+ GameActionBuild = 66,
86
+ GameActionBuildPlaceDown = 67,
87
+ GameActionBuildSetDown = 68,
88
+ GameActionCage = 69,
89
+ GameActionCageUncage = 70,
90
+ GameActionCast = 71,
91
+ GameActionCommandCreature = 72,
92
+ GameActionCommandCreatureAll = 73,
93
+ GameActionCommandSetAiAttack = 74,
94
+ GameActionCommandSetAiDefend = 75,
95
+ GameActionCommandSetAiFollowClose = 76,
96
+ GameActionCommandSetAiFollowFar = 77,
97
+ GameActionCommandSetAiHeel = 78,
98
+ GameActionCommandSetAiStay = 79,
99
+ GameActionConsumeApply = 80,
100
+ GameActionConsumeCure = 81,
101
+ GameActionConsumeDrink = 82,
102
+ GameActionConsumeEat = 83,
103
+ GameActionConsumeHeal = 84,
104
+ GameActionConsumeHealOther = 85,
105
+ GameActionContainerOpenTile = 86,
106
+ GameActionCraftingCraft = 87,
107
+ GameActionCraftingDisassemble = 88,
108
+ GameActionCraftingDismantle = 89,
109
+ GameActionDoorClose = 90,
110
+ GameActionDoorOpen = 91,
111
+ GameActionEquip = 92,
112
+ GameActionEquipLeft = 93,
113
+ GameActionEquipRight = 94,
114
+ GameActionEquipUnequip = 95,
115
+ GameActionFireAddFuelWithItem = 96,
116
+ GameActionFireExtinguish = 97,
117
+ GameActionFireIgnite = 98,
118
+ GameActionFireIgniteWithItem = 99,
119
+ GameActionFireSmother = 100,
120
+ GameActionFireStart = 101,
121
+ GameActionFireStoke = 102,
122
+ GameActionGatherButcher = 103,
123
+ GameActionGatherChop = 104,
124
+ GameActionGatherDig = 105,
125
+ GameActionGatherDigWithHands = 106,
126
+ GameActionGatherGatherWithHands = 107,
127
+ GameActionGatherHarvest = 108,
128
+ GameActionGatherHarvestWithHands = 109,
129
+ GameActionGatherMine = 110,
130
+ GameActionGrasp = 111,
131
+ GameActionHitch = 112,
132
+ GameActionHitchToggle = 113,
133
+ GameActionHitchUnhitch = 114,
134
+ GameActionImproveBasicEnhance = 115,
135
+ GameActionImproveBasicEnhanceWithItem = 116,
136
+ GameActionImproveBasicPreserve = 117,
137
+ GameActionImproveBasicPreserveWithItem = 118,
138
+ GameActionImproveBasicRefine = 119,
139
+ GameActionImproveBasicRefineWithItem = 120,
140
+ GameActionImproveBasicReinforce = 121,
141
+ GameActionImproveBasicReinforceWithItem = 122,
142
+ GameActionImproveBasicRepair = 123,
143
+ GameActionImproveBasicRepairWithItem = 124,
144
+ GameActionImproveBasicReshape = 125,
145
+ GameActionImproveBasicReshapeWithItem = 126,
146
+ GameActionImproveMagicAbsorb = 127,
147
+ GameActionImproveMagicAbsorbWithItem = 128,
148
+ GameActionImproveMagicAlter = 129,
149
+ GameActionImproveMagicAlterWithItem = 130,
150
+ GameActionImproveMagicEnchant = 131,
151
+ GameActionImproveMagicEnchantWithItem = 132,
152
+ GameActionImproveMagicExude = 133,
153
+ GameActionImproveMagicExudeWithItem = 134,
154
+ GameActionImproveMagicTransmogrify = 135,
155
+ GameActionImproveMagicTransmogrifyWithItem = 136,
156
+ GameActionImproveMagicUpgrade = 137,
157
+ GameActionImproveMagicUpgradeWithItem = 138,
158
+ GameActionItemContainerDumpItems = 139,
159
+ GameActionItemContainerMoveContents = 140,
160
+ GameActionItemContainerStateClose = 141,
161
+ GameActionItemContainerStateOpen = 142,
162
+ GameActionItemDestinationActiveContainer = 143,
163
+ GameActionItemDestinationFacingContainer = 144,
164
+ GameActionItemDestinationInventory = 145,
165
+ GameActionItemDrop = 146,
166
+ GameActionItemDropAll = 147,
167
+ GameActionItemDropAllOfSameQuality = 148,
168
+ GameActionItemMove = 149,
169
+ GameActionItemMoveAll = 150,
170
+ GameActionItemMoveAllOfSameQuality = 151,
171
+ GameActionItemPickUpAllItems = 152,
172
+ GameActionItemPickUpItem = 153,
173
+ GameActionJump = 154,
174
+ GameActionLearn = 155,
175
+ GameActionLiquidGather = 156,
176
+ GameActionLiquidPour = 157,
177
+ GameActionLiquidPourOnYourself = 158,
178
+ GameActionLockpick = 159,
179
+ GameActionMapDraw = 160,
180
+ GameActionMapRead = 161,
181
+ GameActionNavigate = 162,
182
+ GameActionOpenBottle = 163,
183
+ GameActionPickUpDoodad = 164,
184
+ GameActionPickUpExcrementWithHands = 165,
185
+ GameActionPlant = 166,
186
+ GameActionProtect = 167,
187
+ GameActionProtectUnprotect = 168,
188
+ GameActionRead = 169,
189
+ GameActionRename = 170,
190
+ GameActionRest = 171,
191
+ GameActionRestSleep = 172,
192
+ GameActionRotate = 173,
193
+ GameActionSqueeze = 174,
194
+ GameActionStillAttachContainer = 175,
195
+ GameActionStillDetachContainer = 176,
196
+ GameActionSummon = 177,
197
+ GameActionTame = 178,
198
+ GameActionTameOffer = 179,
199
+ GameActionTamePet = 180,
200
+ GameActionTameRelease = 181,
201
+ GameActionTeleport = 182,
202
+ GameActionTellTime = 183,
203
+ GameActionTestDepth = 184,
204
+ GameActionTill = 185,
205
+ GameActionTillUntill = 186,
206
+ GameActionTillWithHands = 187,
207
+ GameActionTrade = 188,
208
+ GameActionTradeBuyFromTrader = 189,
209
+ GameActionTradeSellToTrader = 190,
210
+ GameActionTravelSailToCivilization = 191,
211
+ GameActionTravelShipToIsland = 192,
212
+ GameActionVehicleRide = 193,
213
+ GameActionVehicleUnride = 194,
214
+ DialogCloseAll = 195,
215
+ DialogOptions = 196,
216
+ DialogHelp = 197,
217
+ DialogMilestones = 198,
218
+ DialogNotes = 199,
219
+ DialogMessages = 200,
220
+ DialogMessagesChatFocus = 201,
221
+ DialogInventory = 202,
222
+ DialogCrafting = 203,
223
+ DialogDismantle = 204,
224
+ DialogEquipment = 205,
225
+ DialogSkills = 206,
226
+ DialogQuests = 207,
227
+ DialogIslands = 208,
228
+ HudToggleMenuBar = 209,
229
+ HudToggleActionBar = 210,
230
+ HudToggleMessages = 211,
231
+ HudToggleStats = 212,
232
+ TooltipMoreInformation = 213,
233
+ TooltipToggle = 214,
234
+ MenuEnter = 215,
235
+ MenuSubmit = 216,
236
+ MenuNext = 217,
237
+ MenuPrevious = 218,
238
+ MenuUp = 219,
239
+ MenuDown = 220,
240
+ MenuLeft = 221,
241
+ MenuRight = 222,
242
+ MenuCancel = 223,
243
+ MenuNextOption = 224,
244
+ MenuPreviousOption = 225,
245
+ MenuContextMenu = 226,
246
+ MenuSelect = 227,
247
+ DeveloperInterfaceScaleUp = 228,
248
+ DeveloperInterfaceScaleDown = 229,
249
+ DeveloperToggleDeveloperMode = 230,
250
+ DeveloperToggleDeveloperTools = 231,
251
+ DeveloperReloadGame = 232,
252
+ DeveloperReloadWithoutSavingGame = 233,
253
+ DeveloperReloadAndContinueGame = 234,
254
+ DeveloperReloadWithoutSavingAndContinueGame = 235,
255
+ DeveloperReloadStylesheets = 236,
256
+ DeveloperReloadTextures = 237
255
257
  }
256
258
  export default Bindable;
257
259
  export declare enum BindableType {
@@ -10,6 +10,25 @@
10
10
  */
11
11
  import TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
12
12
  import { InputCatalystType } from "@wayward/game/ui/input/IIInput";
13
+ declare global {
14
+ interface Keyboard {
15
+ getLayoutMap(): Promise<KeyboardLayoutMap>;
16
+ }
17
+ interface KeyboardLayoutMap {
18
+ readonly size: number;
19
+ [Symbol.iterator](): IterableIterator<[string, string]>;
20
+ entries(): IterableIterator<[string, string]>;
21
+ forEach(callbackfn: (value: string, key: string, map: KeyboardLayoutMap) => void, thisArg?: any): void;
22
+ keys(): IterableIterator<string>;
23
+ values(): IterableIterator<string>;
24
+ get(key: string): string | undefined;
25
+ has(key: string): boolean;
26
+ }
27
+ interface Navigator {
28
+ keyboard: Keyboard;
29
+ }
30
+ }
31
+ export declare function startKeyboardLayoutMonitor(): void;
13
32
  interface IInputCatalystValueMap {
14
33
  [InputCatalystType.Key]: string;
15
34
  [InputCatalystType.MouseButton]: number;
@@ -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
  }
@@ -247,6 +249,7 @@ export default class ItemComponent extends Component implements ItemSlot {
247
249
  private static dragPreviewSource?;
248
250
  private static _dragPreview?;
249
251
  static get dragPreview(): ItemComponent | undefined;
252
+ static get isDragging(): boolean;
250
253
  private static getDragPreview;
251
254
  private savedPosition?;
252
255
  protected onMoveStart(_: any, mouse: Vector2): false | void;
@@ -37,11 +37,14 @@ export interface IContainerBucketItemListTransferDetails {
37
37
  item?: Item;
38
38
  itemType: ItemType;
39
39
  moveAll: boolean;
40
+ moveLimit?: number;
41
+ stackList?: ContainerBucketItemList;
40
42
  quality?: Quality;
41
43
  text?: string;
42
44
  excludeProtected?: true;
43
45
  index?: number;
44
46
  silent?: true;
47
+ hidden?: true;
45
48
  excludeEquipped?: boolean;
46
49
  }
47
50
  export interface IContainerBucketItemListEvents extends WithSortableEvents<Component> {
@@ -77,7 +80,8 @@ export default class ContainerBucketItemList extends Component implements ISorta
77
80
  readonly sortable: Sortable;
78
81
  private containerRef?;
79
82
  get container(): IContainer | undefined;
80
- isStacked(type?: ItemType): boolean | undefined;
83
+ isStacked(type?: ItemType): boolean;
84
+ isStacked(item?: Item): boolean;
81
85
  getStackedItems(type?: ItemType): Item[];
82
86
  getStackIndex(type?: ItemType): number | undefined;
83
87
  constructor(container?: IContainer);
@@ -99,7 +103,7 @@ export default class ContainerBucketItemList extends Component implements ISorta
99
103
  private removeItemStackComponent;
100
104
  refresh(initial?: boolean): void;
101
105
  willAccept(item: Item | ItemType): boolean;
102
- protected getOrderedContainerItems(): Item[];
106
+ protected getOrderedContainerItems(): readonly Item[];
103
107
  private getHovered;
104
108
  protected onItemMenu(): boolean;
105
109
  onItemEquipToggle(): boolean;
@@ -115,6 +119,8 @@ export default class ContainerBucketItemList extends Component implements ISorta
115
119
  onDropItem(api: IBindHandlerApi): boolean;
116
120
  private handleDrop;
117
121
  onQuickMove(api: IBindHandlerApi): boolean;
122
+ onQuickMoveFromStack(api: IBindHandlerApi): boolean;
123
+ onQuickMoveToStack(api: IBindHandlerApi): boolean;
118
124
  protected onSubscribeDraggableEvents(itemComponent: ItemComponent, events: IDraggableComponentSubscriber<ItemComponent>): void;
119
125
  private sortingComponent?;
120
126
  getSorting(): ItemComponent | undefined;
@@ -137,7 +143,6 @@ export default class ContainerBucketItemList extends Component implements ISorta
137
143
  private itemIdsInElements?;
138
144
  private getItemIdsInElements;
139
145
  private getItemElementId;
140
- private itemListDiffers;
141
146
  private getItemComponentElements;
142
147
  private regenerate;
143
148
  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
+ }