@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.
- 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/template/Template.d.ts +3 -2
- package/definitions/game/game/deity/Deity.d.ts +1 -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 -1
- 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/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/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/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 +25 -4
- 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/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 +906 -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 -67
- package/definitions/game/renderer/IRenderer.d.ts +26 -24
- package/definitions/game/renderer/notifier/INotifier.d.ts +3 -1
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +3 -0
- 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/Bindable.d.ts +222 -222
- 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 +2 -0
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +3 -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/actions/ActionSlot.d.ts +2 -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/matchmakingserver/dedicatedServer.d.ts +2 -1
- 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,228 @@ 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
|
+
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
|
|
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
|
}
|
package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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:
|
|
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>;
|