@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.
- package/definitions/cplusplus/index.d.ts +2 -0
- package/definitions/game/game/Game.d.ts +1 -1
- package/definitions/game/game/IObject.d.ts +4 -0
- package/definitions/game/game/biome/arid/mapGen/2.14.1.d.ts +12 -0
- package/definitions/game/game/biome/coastal/Coastal.d.ts +1 -1
- package/definitions/game/game/biome/coastal/mapGen/2.14.1.d.ts +12 -0
- package/definitions/game/game/biome/iceCap/mapGen/2.14.1.d.ts +12 -0
- package/definitions/game/game/biome/template/Template.d.ts +3 -2
- package/definitions/game/game/biome/volcanic/mapGen/2.14.1.d.ts +12 -0
- package/definitions/game/game/biome/wetlands/mapGen/2.14.1.d.ts +12 -0
- package/definitions/game/game/deity/Deity.d.ts +1 -0
- package/definitions/game/game/deity/IDeities.d.ts +7 -0
- package/definitions/game/game/doodad/Doodad.d.ts +1 -1
- package/definitions/game/game/doodad/IDoodad.d.ts +2 -0
- package/definitions/game/game/entity/CombatStrengthManager.d.ts +6 -5
- package/definitions/game/game/entity/Entity.d.ts +1 -1
- package/definitions/game/game/entity/EntityMovable.d.ts +3 -1
- package/definitions/game/game/entity/Human.d.ts +2 -2
- package/definitions/game/game/entity/IEntity.d.ts +1 -0
- package/definitions/game/game/entity/IHuman.d.ts +0 -3
- package/definitions/game/game/entity/action/Action.d.ts +2 -6
- package/definitions/game/game/entity/action/ActionExecutor.d.ts +1 -1
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +17 -8
- package/definitions/game/game/entity/action/IAction.d.ts +16 -11
- package/definitions/game/game/entity/action/actions/{Sacrifice.d.ts → AscendDescend.d.ts} +1 -8
- package/definitions/game/game/entity/action/actions/CageCreature.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ClearMessages.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Consecrate.d.ts +43 -0
- package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Dismantle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Drop.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Eat.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/GatherLiquid.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Harvest.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Ignite.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Plant.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Stack.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/moveItem/MoveItemFilterArgument.d.ts +1 -0
- package/definitions/game/game/entity/action/actions/moveItem/MoveItemOptionsArgument.d.ts +1 -0
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +2 -1
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +3 -1
- package/definitions/game/game/entity/action/usable/UsableActionTranslator.d.ts +6 -6
- package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +3 -1
- package/definitions/game/game/entity/action/usable/actions/UsableActionsDynamic.d.ts +3 -0
- package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
- package/definitions/game/game/entity/ai/AI.d.ts +7 -7
- package/definitions/game/game/entity/creature/Creature.d.ts +1 -0
- package/definitions/game/game/entity/creature/zone/CreatureZone.d.ts +4 -3
- package/definitions/game/game/entity/creature/zone/CreatureZoneManager.d.ts +2 -2
- package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +29 -1
- package/definitions/game/game/entity/creature/zone/zones/arid/AridCreatures.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/arid/AridDoodadReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/arid/AridGuardians.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/arid/AridTileReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalCreatures.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalDoodadReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalGuardians.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalTileReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapCreatures.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapDoodadReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapGuardians.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapTileReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicCreatures.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicDoodadReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicGuardians.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicTileReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsCreatures.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsDoodadReplacements.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsGuardians.d.ts +12 -0
- package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsTileReplacements.d.ts +12 -0
- package/definitions/game/game/entity/flowfield/FlowFieldManager.d.ts +1 -1
- package/definitions/game/game/entity/player/IPlayer.d.ts +3 -4
- package/definitions/game/game/entity/player/Player.d.ts +3 -0
- package/definitions/game/game/entity/player/quest/quest/Quest.d.ts +1 -0
- package/definitions/game/game/entity/status/IStatus.d.ts +3 -0
- package/definitions/game/game/inspection/InfoProvider.d.ts +3 -0
- package/definitions/game/game/inspection/Inspection.d.ts +1 -0
- package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +1 -2
- package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +5 -8
- package/definitions/game/game/island/IIsland.d.ts +1 -1
- package/definitions/game/game/island/Island.d.ts +1 -1
- package/definitions/game/game/island/automation/Automation.d.ts +12 -3
- package/definitions/game/game/island/automation/AutomationStep.d.ts +1 -0
- package/definitions/game/game/island/automation/IAutomation.d.ts +103 -8
- package/definitions/game/game/island/automation/steps/ExecuteAction.d.ts +1 -1
- package/definitions/game/game/item/IItem.d.ts +26 -5
- package/definitions/game/game/item/IItemManager.d.ts +7 -3
- package/definitions/game/game/item/Item.d.ts +1 -0
- package/definitions/game/game/item/ItemFinder.d.ts +1 -0
- package/definitions/game/game/item/ItemManager.d.ts +6 -6
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +1 -3
- package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
- package/definitions/game/game/mapgen/version/2.14.1.d.ts +19 -0
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +85 -83
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +2 -0
- package/definitions/game/game/milestones/MilestoneDefinition.d.ts +4 -4
- package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +6 -2
- package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +8 -2
- package/definitions/game/game/reference/IReferenceManager.d.ts +2 -2
- package/definitions/game/game/tile/Tile.d.ts +6 -4
- package/definitions/game/game/tile/TileEventManager.d.ts +5 -0
- package/definitions/game/language/DictionaryMap.d.ts +8 -8
- package/definitions/game/language/Translation.d.ts +9 -4
- package/definitions/game/language/dictionary/Message.d.ts +829 -848
- package/definitions/game/language/dictionary/Misc.d.ts +68 -69
- package/definitions/game/language/dictionary/Note.d.ts +1 -2
- package/definitions/game/language/dictionary/UiTranslation.d.ts +902 -924
- package/definitions/game/language/english/ui/RunekeeperDomains.d.ts +1 -1
- package/definitions/game/language/impl/TranslationImpl.d.ts +1 -0
- package/definitions/game/multiplayer/IMultiplayer.d.ts +68 -68
- package/definitions/game/renderer/IRenderer.d.ts +26 -24
- package/definitions/game/renderer/fieldOfView/FieldOfView.d.ts +6 -0
- package/definitions/game/renderer/notifier/INotifier.d.ts +3 -1
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +3 -2
- package/definitions/game/save/serializer/Serializer.d.ts +2 -1
- package/definitions/game/save/upgrade/UpgradeVersion.d.ts +3 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241129.d.ts +12 -0
- package/definitions/game/steamworks/Steamworks.d.ts +7 -0
- package/definitions/game/ui/ServerJoinHandler.d.ts +1 -0
- package/definitions/game/ui/Ui.d.ts +1 -0
- package/definitions/game/ui/component/Component.d.ts +2 -1
- package/definitions/game/ui/input/Bind.d.ts +21 -14
- package/definitions/game/ui/input/Bindable.d.ts +224 -222
- package/definitions/game/ui/input/IInput.d.ts +19 -0
- package/definitions/game/ui/screen/screens/GameScreen.d.ts +3 -4
- package/definitions/game/ui/screen/screens/game/DialogMap.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/Dialogs.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/component/Dialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +3 -0
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +8 -3
- package/definitions/game/ui/screen/screens/game/dialog/AltarDialog.d.ts +38 -0
- package/definitions/game/ui/screen/screens/game/dialog/ContainerDialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +3 -1
- package/definitions/game/ui/screen/screens/game/static/actions/ActionsSelector.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +3 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/TabDeveloper.d.ts +3 -2
- package/definitions/game/ui/util/ComponentManipulator.d.ts +5 -4
- package/definitions/game/utilities/Version.d.ts +1 -1
- package/definitions/game/utilities/WebWorker.d.ts +4 -1
- package/definitions/game/utilities/math/Direction.d.ts +1 -1
- package/definitions/hosts/electron/main/ipc/handlers/electron/electron.d.ts +1 -0
- package/definitions/hosts/shared/globals.d.ts +2 -2
- package/definitions/hosts/shared/interfaces.d.ts +10 -0
- package/definitions/hosts/shared/ipc/electron.d.ts +1 -0
- package/definitions/launcher/utilities/EventManager.d.ts +1 -3
- package/definitions/matchmakingserver/dedicatedServer.d.ts +2 -1
- package/definitions/matchmakingserver/directoryConnection.d.ts +1 -0
- package/definitions/matchmakingserver/globalServerDirectory.d.ts +1 -0
- package/definitions/matchmakingserver/shared.d.ts +1 -38
- package/definitions/test/core/applicationInteractions.d.ts +4 -0
- package/definitions/test/core/applicationManager.d.ts +5 -4
- package/definitions/test/interfaces.d.ts +0 -63
- package/definitions/test/testRunner.d.ts +2 -2
- package/definitions/utilities/Errors.d.ts +1 -0
- package/definitions/utilities/enum/IEnum.d.ts +1 -1
- package/definitions/utilities/object/Objects.d.ts +5 -15
- package/package.json +1 -1
- package/definitions/game/game/entity/creature/zone/GuardianZones.d.ts +0 -16
- /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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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
|
|
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;
|
|
@@ -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;
|
package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts
CHANGED
|
@@ -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
|
|
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
|
+
}
|