@wayward/types 2.15.1-beta.dev.20251027.1 → 2.15.2-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 (101) hide show
  1. package/.github/workflows/main.yml +7 -6
  2. package/definitions/game/Init.d.ts +2 -1
  3. package/definitions/game/Uninit.d.ts +2 -1
  4. package/definitions/game/game/IGame.d.ts +9 -2
  5. package/definitions/game/game/biome/template/Template.d.ts +1 -1
  6. package/definitions/game/game/curse/Curse.d.ts +8 -2
  7. package/definitions/game/game/curse/CurseEvent.d.ts +8 -0
  8. package/definitions/game/game/doodad/Doodad.d.ts +3 -2
  9. package/definitions/game/game/doodad/IDoodad.d.ts +6 -2
  10. package/definitions/game/game/entity/Human.d.ts +6 -1
  11. package/definitions/game/game/entity/IEntity.d.ts +1 -0
  12. package/definitions/game/game/entity/action/IAction.d.ts +2 -1
  13. package/definitions/game/game/entity/action/actions/Apply.d.ts +1 -1
  14. package/definitions/game/game/entity/action/actions/Attack.d.ts +2 -2
  15. package/definitions/game/game/entity/action/actions/Chop.d.ts +1 -1
  16. package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +1 -1
  17. package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +1 -1
  18. package/definitions/game/game/entity/action/actions/Consecrate.d.ts +1 -1
  19. package/definitions/game/game/entity/action/actions/Cure.d.ts +1 -1
  20. package/definitions/game/game/entity/action/actions/Dismount.d.ts +1 -1
  21. package/definitions/game/game/entity/action/actions/DrinkItem.d.ts +1 -1
  22. package/definitions/game/game/entity/action/actions/Eat.d.ts +1 -1
  23. package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +1 -1
  24. package/definitions/game/game/entity/action/actions/Heal.d.ts +1 -1
  25. package/definitions/game/game/entity/action/actions/Hitch.d.ts +1 -1
  26. package/definitions/game/game/entity/action/actions/Melee.d.ts +1 -1
  27. package/definitions/game/game/entity/action/actions/Mine.d.ts +1 -1
  28. package/definitions/game/game/entity/action/actions/Move.d.ts +2 -1
  29. package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +1 -1
  30. package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +1 -1
  31. package/definitions/game/game/entity/action/actions/PackGround.d.ts +1 -1
  32. package/definitions/game/game/entity/action/actions/PlaceDown.d.ts +1 -1
  33. package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +1 -1
  34. package/definitions/game/game/entity/action/actions/ProtectItem.d.ts +1 -1
  35. package/definitions/game/game/entity/action/actions/RemovePlayer.d.ts +14 -0
  36. package/definitions/game/game/entity/action/actions/Ride.d.ts +1 -1
  37. package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +2 -1
  38. package/definitions/game/game/entity/action/actions/Sleep.d.ts +1 -1
  39. package/definitions/game/game/entity/action/actions/StartFire.d.ts +0 -2
  40. package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +1 -1
  41. package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
  42. package/definitions/game/game/entity/action/actions/Till.d.ts +1 -1
  43. package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +1 -1
  44. package/definitions/game/game/entity/action/actions/Uncage.d.ts +1 -1
  45. package/definitions/game/game/entity/action/actions/Unhitch.d.ts +1 -1
  46. package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +1 -1
  47. package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +1 -3
  48. package/definitions/game/game/entity/action/actions/Upgrade.d.ts +1 -1
  49. package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +7 -4
  50. package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
  51. package/definitions/game/game/entity/player/PlayerManager.d.ts +2 -1
  52. package/definitions/game/game/island/Island.d.ts +17 -4
  53. package/definitions/game/game/island/automation/Automation.d.ts +1 -0
  54. package/definitions/game/game/island/automation/IAutomation.d.ts +21 -0
  55. package/definitions/game/game/item/IItem.d.ts +13 -22
  56. package/definitions/game/game/item/Item.d.ts +6 -5
  57. package/definitions/game/game/item/ItemManager.d.ts +3 -3
  58. package/definitions/game/game/item/Items.d.ts +1 -9
  59. package/definitions/game/game/item/runes/RuneEffects.d.ts +58 -0
  60. package/definitions/game/game/magic/IMagicalProperty.d.ts +2 -0
  61. package/definitions/game/game/magic/MagicalPropertyDescriptions.d.ts +1 -0
  62. package/definitions/game/game/magic/MagicalPropertyManager.d.ts +4 -4
  63. package/definitions/game/game/meta/prompt/IPrompt.d.ts +62 -60
  64. package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +2 -0
  65. package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +1 -1
  66. package/definitions/game/game/options/modifiers/milestone/modifiers/Afflicted.d.ts +6 -0
  67. package/definitions/game/game/reference/IReferenceManager.d.ts +3 -0
  68. package/definitions/game/language/DictionaryMap.d.ts +12 -0
  69. package/definitions/game/language/dictionary/Message.d.ts +838 -837
  70. package/definitions/game/language/dictionary/UiTranslation.d.ts +668 -662
  71. package/definitions/game/language/english/item/ItemAffixes.d.ts +1 -1
  72. package/definitions/game/mod/Mod.d.ts +48 -10
  73. package/definitions/game/mod/ModRegistry.d.ts +2 -2
  74. package/definitions/game/multiplayer/IMultiplayer.d.ts +7 -2
  75. package/definitions/game/multiplayer/Multiplayer.d.ts +8 -3
  76. package/definitions/game/multiplayer/matchmaking/IMatchmaking.d.ts +2 -0
  77. package/definitions/game/multiplayer/networking/SmartConnection.d.ts +2 -1
  78. package/definitions/game/multiplayer/networking/SteamNetworkConnection.d.ts +2 -1
  79. package/definitions/game/multiplayer/networking/WebRTCConnection.d.ts +4 -1
  80. package/definitions/game/multiplayer/networking/WebSocketConnection.d.ts +2 -1
  81. package/definitions/game/multiplayer/networking/WebWorkerConnection.d.ts +2 -1
  82. package/definitions/game/renderer/overlay/EffectRadiusOverlay.d.ts +3 -0
  83. package/definitions/game/save/data/SaveDataGlobal.d.ts +0 -1
  84. package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +1 -1
  85. package/definitions/game/save/upgrade/versions/beta2.15.2/beta2.15.2-dev20251030.d.ts +12 -0
  86. package/definitions/game/save/upgrade/versions/beta2.15.2/beta2.15.2-dev20251103.d.ts +12 -0
  87. package/definitions/game/save/upgrade/versions/beta2.15.2/beta2.15.2.d.ts +12 -0
  88. package/definitions/game/ui/input/Bindable.d.ts +228 -223
  89. package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +5 -1
  90. package/definitions/game/ui/screen/screens/game/static/actions/ActionsDrawer.d.ts +4 -1
  91. package/definitions/game/ui/screen/screens/menu/menus/JoinServerChooseModifiersMenu.d.ts +2 -2
  92. package/definitions/game/ui/screen/screens/menu/menus/pause/MultiplayerOptionsMenu.d.ts +8 -0
  93. package/definitions/game/utilities/collection/map/DefaultMap.d.ts +1 -1
  94. package/definitions/game/utilities/dev/Reflection.d.ts +2 -0
  95. package/definitions/game/utilities/object/Merge.d.ts +3 -1
  96. package/definitions/hosts/shared/globals.d.ts +2 -2
  97. package/definitions/utilities/event/EventEmitter.d.ts +3 -0
  98. package/definitions/utilities/math/Math2.d.ts +7 -1
  99. package/definitions/utilities/prototype/Define.d.ts +4 -2
  100. package/package.json +1 -1
  101. /package/definitions/game/game/item/{cooldown → runes}/InvokeCooldown.d.ts +0 -0
@@ -34,229 +34,234 @@ declare enum Bindable {
34
34
  GameItemMove = 15,
35
35
  GameItemMoveAll = 16,
36
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
- GameActionExcavateCollapse = 96,
116
- GameActionFireAddFuelWithItem = 97,
117
- GameActionFireExtinguish = 98,
118
- GameActionFireIgnite = 99,
119
- GameActionFireIgniteWithItem = 100,
120
- GameActionFireSmother = 101,
121
- GameActionFireStart = 102,
122
- GameActionFireStoke = 103,
123
- GameActionGatherButcher = 104,
124
- GameActionGatherChop = 105,
125
- GameActionGatherDig = 106,
126
- GameActionGatherDigWithHands = 107,
127
- GameActionGatherGatherWithHands = 108,
128
- GameActionGatherHarvest = 109,
129
- GameActionGatherHarvestWithHands = 110,
130
- GameActionGatherMine = 111,
131
- GameActionGrasp = 112,
132
- GameActionHitch = 113,
133
- GameActionHitchToggle = 114,
134
- GameActionHitchUnhitch = 115,
135
- GameActionImproveBasicEnhance = 116,
136
- GameActionImproveBasicEnhanceWithItem = 117,
137
- GameActionImproveBasicPreserve = 118,
138
- GameActionImproveBasicPreserveWithItem = 119,
139
- GameActionImproveBasicRefine = 120,
140
- GameActionImproveBasicRefineWithItem = 121,
141
- GameActionImproveBasicReinforce = 122,
142
- GameActionImproveBasicReinforceWithItem = 123,
143
- GameActionImproveBasicRepair = 124,
144
- GameActionImproveBasicRepairWithItem = 125,
145
- GameActionImproveBasicReshape = 126,
146
- GameActionImproveBasicReshapeWithItem = 127,
147
- GameActionImproveMagicAbsorb = 128,
148
- GameActionImproveMagicAbsorbWithItem = 129,
149
- GameActionImproveMagicAlter = 130,
150
- GameActionImproveMagicAlterWithItem = 131,
151
- GameActionImproveMagicEnchant = 132,
152
- GameActionImproveMagicEnchantWithItem = 133,
153
- GameActionImproveMagicExude = 134,
154
- GameActionImproveMagicExudeWithItem = 135,
155
- GameActionImproveMagicTransmogrify = 136,
156
- GameActionImproveMagicTransmogrifyWithItem = 137,
157
- GameActionImproveMagicUpgrade = 138,
158
- GameActionImproveMagicUpgradeWithItem = 139,
159
- GameActionItemContainerDumpItems = 140,
160
- GameActionItemContainerMoveContents = 141,
161
- GameActionItemContainerStateClose = 142,
162
- GameActionItemContainerStateOpen = 143,
163
- GameActionItemDestinationActiveContainer = 144,
164
- GameActionItemDestinationFacingContainer = 145,
165
- GameActionItemDestinationInventory = 146,
166
- GameActionItemDrop = 147,
167
- GameActionItemDropAll = 148,
168
- GameActionItemDropAllOfSameQuality = 149,
169
- GameActionItemMove = 150,
170
- GameActionItemMoveAll = 151,
171
- GameActionItemMoveAllOfSameQuality = 152,
172
- GameActionItemPickUpAllItems = 153,
173
- GameActionItemPickUpItem = 154,
174
- GameActionJump = 155,
175
- GameActionLearn = 156,
176
- GameActionLiquidGather = 157,
177
- GameActionLiquidPour = 158,
178
- GameActionLiquidPourOnYourself = 159,
179
- GameActionLockpick = 160,
180
- GameActionMapDraw = 161,
181
- GameActionMapRead = 162,
182
- GameActionNavigate = 163,
183
- GameActionOpenBottle = 164,
184
- GameActionPickUpDoodad = 165,
185
- GameActionPickUpExcrementWithHands = 166,
186
- GameActionPlant = 167,
187
- GameActionProtect = 168,
188
- GameActionProtectUnprotect = 169,
189
- GameActionRead = 170,
190
- GameActionRename = 171,
191
- GameActionRest = 172,
192
- GameActionRestSleep = 173,
193
- GameActionRotate = 174,
194
- GameActionSqueeze = 175,
195
- GameActionSquish = 176,
196
- GameActionStillAttachContainer = 177,
197
- GameActionStillDetachContainer = 178,
198
- GameActionSummon = 179,
199
- GameActionTame = 180,
200
- GameActionTameOffer = 181,
201
- GameActionTamePet = 182,
202
- GameActionTameRelease = 183,
203
- GameActionTeleport = 184,
204
- GameActionTellTime = 185,
205
- GameActionTestDepth = 186,
206
- GameActionTill = 187,
207
- GameActionTillUntill = 188,
208
- GameActionTillWithHands = 189,
209
- GameActionTrade = 190,
210
- GameActionTradeBuyFromTrader = 191,
211
- GameActionTradeSellToTrader = 192,
212
- GameActionTravelSailToCivilization = 193,
213
- GameActionTravelShipToIsland = 194,
214
- GameActionVehicleRide = 195,
215
- GameActionVehicleUnride = 196,
216
- DialogCloseAll = 197,
217
- DialogOptions = 198,
218
- DialogHelp = 199,
219
- DialogMilestones = 200,
220
- DialogNotes = 201,
221
- DialogMessages = 202,
222
- DialogMessagesChatFocus = 203,
223
- DialogInventory = 204,
224
- DialogCrafting = 205,
225
- DialogDismantle = 206,
226
- DialogEquipment = 207,
227
- DialogSkills = 208,
228
- DialogQuests = 209,
229
- DialogIslands = 210,
230
- HudToggleMenuBar = 211,
231
- HudToggleActionBar = 212,
232
- HudToggleMessages = 213,
233
- HudToggleStats = 214,
234
- TooltipMoreInformation = 215,
235
- TooltipToggle = 216,
236
- TooltipStackItems = 217,
237
- MenuEnter = 218,
238
- MenuSubmit = 219,
239
- MenuNext = 220,
240
- MenuPrevious = 221,
241
- MenuUp = 222,
242
- MenuDown = 223,
243
- MenuLeft = 224,
244
- MenuRight = 225,
245
- MenuCancel = 226,
246
- MenuNextOption = 227,
247
- MenuPreviousOption = 228,
248
- MenuContextMenu = 229,
249
- MenuSelect = 230,
250
- DeveloperInterfaceScaleUp = 231,
251
- DeveloperInterfaceScaleDown = 232,
252
- DeveloperToggleDeveloperMode = 233,
253
- DeveloperToggleDeveloperTools = 234,
254
- DeveloperReloadGame = 235,
255
- DeveloperReloadWithoutSavingGame = 236,
256
- DeveloperReloadAndContinueGame = 237,
257
- DeveloperReloadWithoutSavingAndContinueGame = 238,
258
- DeveloperReloadStylesheets = 239,
259
- DeveloperReloadTextures = 240
37
+ GameItemMoveExceptQuality = 18,
38
+ GameItemMoveToActionSlotAutoUse = 19,
39
+ GameItemMenu = 20,
40
+ GameItemQuickMove = 21,
41
+ GameItemQuickMoveAll = 22,
42
+ GameItemQuickMoveAllByQuality = 23,
43
+ GameItemQuickMoveExceptQuality = 24,
44
+ GameItemQuickMoveFromStack = 25,
45
+ GameItemQuickMoveToStack = 26,
46
+ GameItemDrop = 27,
47
+ GameItemDropAll = 28,
48
+ GameItemDropAllByQuality = 29,
49
+ GameItemDropExceptQuality = 30,
50
+ GameItemEquipToggle = 31,
51
+ GameItemProtectToggle = 32,
52
+ GameItemOpen = 33,
53
+ GameItemToggleStacked = 34,
54
+ GameItemToggleStackOpen = 35,
55
+ GameInspect = 36,
56
+ GameInspectItem = 37,
57
+ GameZoomIn = 38,
58
+ GameZoomOut = 39,
59
+ GamePause = 40,
60
+ GameSave = 41,
61
+ GameFullscreen = 42,
62
+ GameScreenshotMode = 43,
63
+ GameActionBarConfigure = 44,
64
+ GameActionBarUseSlottedItem = 45,
65
+ GameActionBarCopy = 46,
66
+ GameActionBarToggleUseWhenMoving = 47,
67
+ GameActionBarToggleAllUseWhenMoving = 48,
68
+ GameActionBarClear = 49,
69
+ GameActionBarToggleUseHistory = 50,
70
+ GameActions = 51,
71
+ GameActionsItems = 52,
72
+ GameActionsInFront = 53,
73
+ GameActionsItemsInFront = 54,
74
+ GameActionAltarConsecrate = 55,
75
+ GameActionAltarInvoke = 56,
76
+ GameActionAltarKneel = 57,
77
+ GameActionArmorStandDisplayItem = 58,
78
+ GameActionArmorStandDisplayLeft = 59,
79
+ GameActionArmorStandDisplayRight = 60,
80
+ GameActionArmorStandEquip = 61,
81
+ GameActionArmorStandSwap = 62,
82
+ GameActionArmorStandTake = 63,
83
+ GameActionAttackClose = 64,
84
+ GameActionAttackCloseMelee = 65,
85
+ GameActionAttackRangeFire = 66,
86
+ GameActionAttackRangeShoot = 67,
87
+ GameActionAttackRangeThrow = 68,
88
+ GameActionBuild = 69,
89
+ GameActionBuildPlaceDown = 70,
90
+ GameActionBuildSetDown = 71,
91
+ GameActionCage = 72,
92
+ GameActionCageUncage = 73,
93
+ GameActionCast = 74,
94
+ GameActionCommandCreature = 75,
95
+ GameActionCommandCreatureAll = 76,
96
+ GameActionCommandSetAiAttack = 77,
97
+ GameActionCommandSetAiDefend = 78,
98
+ GameActionCommandSetAiFollowClose = 79,
99
+ GameActionCommandSetAiFollowFar = 80,
100
+ GameActionCommandSetAiHeel = 81,
101
+ GameActionCommandSetAiStay = 82,
102
+ GameActionConsumeApply = 83,
103
+ GameActionConsumeCure = 84,
104
+ GameActionConsumeDrink = 85,
105
+ GameActionConsumeEat = 86,
106
+ GameActionConsumeHeal = 87,
107
+ GameActionConsumeHealOther = 88,
108
+ GameActionContainerOpenTile = 89,
109
+ GameActionCraftingCraft = 90,
110
+ GameActionCraftingDisassemble = 91,
111
+ GameActionCraftingDismantle = 92,
112
+ GameActionDoorClose = 93,
113
+ GameActionDoorOpen = 94,
114
+ GameActionEquip = 95,
115
+ GameActionEquipLeft = 96,
116
+ GameActionEquipRight = 97,
117
+ GameActionEquipUnequip = 98,
118
+ GameActionExcavateCollapse = 99,
119
+ GameActionFireAddFuelWithItem = 100,
120
+ GameActionFireExtinguish = 101,
121
+ GameActionFireIgnite = 102,
122
+ GameActionFireIgniteWithItem = 103,
123
+ GameActionFireSmother = 104,
124
+ GameActionFireStart = 105,
125
+ GameActionFireStoke = 106,
126
+ GameActionGatherButcher = 107,
127
+ GameActionGatherChop = 108,
128
+ GameActionGatherDig = 109,
129
+ GameActionGatherDigWithHands = 110,
130
+ GameActionGatherGatherWithHands = 111,
131
+ GameActionGatherHarvest = 112,
132
+ GameActionGatherHarvestWithHands = 113,
133
+ GameActionGatherMine = 114,
134
+ GameActionGrasp = 115,
135
+ GameActionHitch = 116,
136
+ GameActionHitchToggle = 117,
137
+ GameActionHitchUnhitch = 118,
138
+ GameActionImproveBasicEnhance = 119,
139
+ GameActionImproveBasicEnhanceWithItem = 120,
140
+ GameActionImproveBasicPreserve = 121,
141
+ GameActionImproveBasicPreserveWithItem = 122,
142
+ GameActionImproveBasicRefine = 123,
143
+ GameActionImproveBasicRefineWithItem = 124,
144
+ GameActionImproveBasicReinforce = 125,
145
+ GameActionImproveBasicReinforceWithItem = 126,
146
+ GameActionImproveBasicRepair = 127,
147
+ GameActionImproveBasicRepairWithItem = 128,
148
+ GameActionImproveBasicReshape = 129,
149
+ GameActionImproveBasicReshapeWithItem = 130,
150
+ GameActionImproveMagicAbsorb = 131,
151
+ GameActionImproveMagicAbsorbWithItem = 132,
152
+ GameActionImproveMagicAlter = 133,
153
+ GameActionImproveMagicAlterWithItem = 134,
154
+ GameActionImproveMagicEnchant = 135,
155
+ GameActionImproveMagicEnchantWithItem = 136,
156
+ GameActionImproveMagicExude = 137,
157
+ GameActionImproveMagicExudeWithItem = 138,
158
+ GameActionImproveMagicTransmogrify = 139,
159
+ GameActionImproveMagicTransmogrifyWithItem = 140,
160
+ GameActionImproveMagicUpgrade = 141,
161
+ GameActionImproveMagicUpgradeWithItem = 142,
162
+ GameActionItemContainerDumpItems = 143,
163
+ GameActionItemContainerMoveContents = 144,
164
+ GameActionItemContainerStateClose = 145,
165
+ GameActionItemContainerStateOpen = 146,
166
+ GameActionItemDestinationActiveContainer = 147,
167
+ GameActionItemDestinationFacingContainer = 148,
168
+ GameActionItemDestinationInventory = 149,
169
+ GameActionItemDrop = 150,
170
+ GameActionItemDropAll = 151,
171
+ GameActionItemDropAllExceptQuality = 152,
172
+ GameActionItemDropAllOfSameQuality = 153,
173
+ GameActionItemMove = 154,
174
+ GameActionItemMoveAll = 155,
175
+ GameActionItemMoveAllExceptQuality = 156,
176
+ GameActionItemMoveAllOfSameQuality = 157,
177
+ GameActionItemPickUpAllItems = 158,
178
+ GameActionItemPickUpItem = 159,
179
+ GameActionJump = 160,
180
+ GameActionLearn = 161,
181
+ GameActionLiquidGather = 162,
182
+ GameActionLiquidPour = 163,
183
+ GameActionLiquidPourOnYourself = 164,
184
+ GameActionLockpick = 165,
185
+ GameActionMapDraw = 166,
186
+ GameActionMapRead = 167,
187
+ GameActionNavigate = 168,
188
+ GameActionOpenBottle = 169,
189
+ GameActionPickUpDoodad = 170,
190
+ GameActionPickUpExcrementWithHands = 171,
191
+ GameActionPlant = 172,
192
+ GameActionProtect = 173,
193
+ GameActionProtectUnprotect = 174,
194
+ GameActionRead = 175,
195
+ GameActionRename = 176,
196
+ GameActionRest = 177,
197
+ GameActionRestSleep = 178,
198
+ GameActionRotate = 179,
199
+ GameActionSqueeze = 180,
200
+ GameActionSquish = 181,
201
+ GameActionStillAttachContainer = 182,
202
+ GameActionStillDetachContainer = 183,
203
+ GameActionSummon = 184,
204
+ GameActionTame = 185,
205
+ GameActionTameOffer = 186,
206
+ GameActionTamePet = 187,
207
+ GameActionTameRelease = 188,
208
+ GameActionTeleport = 189,
209
+ GameActionTellTime = 190,
210
+ GameActionTestDepth = 191,
211
+ GameActionTill = 192,
212
+ GameActionTillUntill = 193,
213
+ GameActionTillWithHands = 194,
214
+ GameActionTrade = 195,
215
+ GameActionTradeBuyFromTrader = 196,
216
+ GameActionTradeSellToTrader = 197,
217
+ GameActionTravelSailToCivilization = 198,
218
+ GameActionTravelShipToIsland = 199,
219
+ GameActionVehicleRide = 200,
220
+ GameActionVehicleUnride = 201,
221
+ DialogCloseAll = 202,
222
+ DialogOptions = 203,
223
+ DialogHelp = 204,
224
+ DialogMilestones = 205,
225
+ DialogNotes = 206,
226
+ DialogMessages = 207,
227
+ DialogMessagesChatFocus = 208,
228
+ DialogInventory = 209,
229
+ DialogCrafting = 210,
230
+ DialogDismantle = 211,
231
+ DialogEquipment = 212,
232
+ DialogSkills = 213,
233
+ DialogQuests = 214,
234
+ DialogIslands = 215,
235
+ HudToggleMenuBar = 216,
236
+ HudToggleActionBar = 217,
237
+ HudToggleMessages = 218,
238
+ HudToggleStats = 219,
239
+ TooltipMoreInformation = 220,
240
+ TooltipToggle = 221,
241
+ TooltipStackItems = 222,
242
+ MenuEnter = 223,
243
+ MenuSubmit = 224,
244
+ MenuNext = 225,
245
+ MenuPrevious = 226,
246
+ MenuUp = 227,
247
+ MenuDown = 228,
248
+ MenuLeft = 229,
249
+ MenuRight = 230,
250
+ MenuCancel = 231,
251
+ MenuNextOption = 232,
252
+ MenuPreviousOption = 233,
253
+ MenuContextMenu = 234,
254
+ MenuSelect = 235,
255
+ DeveloperInterfaceScaleUp = 236,
256
+ DeveloperInterfaceScaleDown = 237,
257
+ DeveloperToggleDeveloperMode = 238,
258
+ DeveloperToggleDeveloperTools = 239,
259
+ DeveloperReloadGame = 240,
260
+ DeveloperReloadWithoutSavingGame = 241,
261
+ DeveloperReloadAndContinueGame = 242,
262
+ DeveloperReloadWithoutSavingAndContinueGame = 243,
263
+ DeveloperReloadStylesheets = 244,
264
+ DeveloperReloadTextures = 245
260
265
  }
261
266
  export default Bindable;
262
267
  export declare enum BindableType {
@@ -40,7 +40,7 @@ export interface IContainerBucketItemListTransferDetails extends Omit<IMoveItemF
40
40
  itemType: ItemType;
41
41
  moveAll: boolean;
42
42
  stackList?: ContainerBucketItemList;
43
- quality?: Quality;
43
+ quality?: ArrayOr<Quality>;
44
44
  index?: number;
45
45
  silent?: true;
46
46
  hidden?: true;
@@ -88,6 +88,10 @@ export default class ContainerBucketItemList extends Component implements ISorta
88
88
  private readonly bucketRef;
89
89
  get bucket(): ContainerBucket;
90
90
  constructor(bucket: ContainerBucket, container?: IContainer);
91
+ /**
92
+ * This is required because ItemComponents might have created subscribers (i.e. registered highlights), which would remain even after this ContainerBucketItemList is removed since the child ItemComponents remain referenced by the highlights manager.
93
+ */
94
+ protected onRemoved(): void;
91
95
  private readonly activeReasons;
92
96
  toggleActive(reason: string, active: boolean): void;
93
97
  getSortableID(child: Component & Partial<ItemComponent>): number | undefined;
@@ -8,6 +8,9 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
+ import type { IUsableActionPossibleUsing } from "@wayward/game/game/entity/action/usable/IUsableAction";
12
+ import UsableAction from "@wayward/game/game/entity/action/usable/UsableAction";
13
+ import type Player from "@wayward/game/game/entity/player/Player";
11
14
  import Button from "@wayward/game/ui/component/Button";
12
15
  import Component from "@wayward/game/ui/component/Component";
13
16
  import Text from "@wayward/game/ui/component/Text";
@@ -50,7 +53,7 @@ export default class ActionsConfigurationDrawer extends Component {
50
53
  reset(updateSavedUsing?: boolean): this;
51
54
  private refresh;
52
55
  protected onHide(): void;
53
- protected postExecuteAction(): void;
56
+ protected postExecute(host: UsableAction, player: Player, using: IUsableActionPossibleUsing): void;
54
57
  protected onSubmit(): boolean;
55
58
  private onChooseAction;
56
59
  private onConfigurationChange;
@@ -8,14 +8,14 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
+ import type { IMultiplayerServerToJoin } from "@wayward/game/game/IGame";
11
12
  import type { Milestone } from "@wayward/game/game/milestones/IMilestone";
12
- import type { ServerInfo } from "@wayward/game/multiplayer/IMultiplayer";
13
13
  import Menu from "@wayward/game/ui/screen/screens/menu/component/Menu";
14
14
  import MilestoneModifiers from "@wayward/game/ui/screen/screens/menu/component/MilestoneModifiers";
15
15
  export default class JoinServerChooseModifiersMenu extends Menu {
16
16
  readonly milestoneModifiers: MilestoneModifiers;
17
17
  readonly milestones: Set<Milestone>;
18
- multiplayerServerToJoin: ServerInfo;
18
+ multiplayerServerToJoin: IMultiplayerServerToJoin;
19
19
  constructor();
20
20
  protected refresh(): void;
21
21
  }
@@ -30,6 +30,12 @@ export default class MultiplayerOptionsMenu extends Menu {
30
30
  private readonly checkConnectionHeading;
31
31
  private readonly checkConnectionBlock;
32
32
  private readonly checkConnectionButton;
33
+ private readonly playerManagementHeading;
34
+ private readonly playerManagementBlock;
35
+ private readonly connectedPlayersHeading;
36
+ private readonly connectedPlayersContainer;
37
+ private readonly absentPlayersHeading;
38
+ private readonly absentPlayersContainer;
33
39
  constructor();
34
40
  protected refresh(): void;
35
41
  private updateMultiplayer;
@@ -39,4 +45,6 @@ export default class MultiplayerOptionsMenu extends Menu {
39
45
  private copyGameCodeClick;
40
46
  private inviteSteamFriendsClick;
41
47
  private refreshSteamNetworkConnection;
48
+ private refreshPlayerLists;
49
+ private deletePlayer;
42
50
  }
@@ -15,7 +15,7 @@ import type { RecursivePartial } from "@wayward/game/utilities/types/Recursive";
15
15
  import Objects from "@wayward/utilities/object/Objects";
16
16
  export default class DefaultMap<K, V> extends Map<K, V> implements ISerializable, Objects.ICloneable, IMergeable<Map<K, V>> {
17
17
  readonly defaultValue: V;
18
- constructor(defaultValue: V, entries?: Iterable<readonly [K, RecursivePartial<V>]>);
18
+ constructor(defaultValue: V, entries?: Iterable<readonly [K, RecursivePartial<V>]>, mergeDefaultValue?: boolean);
19
19
  valuesAndDefault(): Generator<V>;
20
20
  initialize(key: K): V;
21
21
  serializeObject(serializer: ISerializer): undefined;
@@ -57,6 +57,8 @@ export default class Reflection {
57
57
  * Note: For exports where only one matches, the discriminator `which` parameter is unnecessary.
58
58
  */
59
59
  export(name: string, which: number): unknown;
60
+ where(name: string): string[];
61
+ private findExport;
60
62
  private warn;
61
63
  private setLastQueryCloseMatches;
62
64
  findPath(value: unknown): Generator<string[]>;
@@ -9,16 +9,18 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { RecursivePartial } from "@wayward/game/utilities/types/Recursive";
12
+ import Objects from "@wayward/utilities/object/Objects";
12
13
  declare function Merge<T>(...objs: Array<RecursivePartial<T>>): T;
13
14
  declare function Merge<T>(...objs: T[]): T;
14
15
  declare function Merge<O extends any[]>(...objs: O): O[number];
15
16
  declare namespace Merge {
16
17
  function value<T>(value?: T | Mergeable<T>): T | undefined;
17
18
  }
18
- export declare class Mergeable<T> {
19
+ export declare class Mergeable<T> implements Objects.ICloneable {
19
20
  readonly merge: (value: T | undefined) => T;
20
21
  constructor(merge: (value: T | undefined) => T);
21
22
  mask(): this & T;
23
+ [Objects.SYMBOL_CLONE](clone: typeof Objects.deepClone): this;
22
24
  }
23
25
  declare namespace Merge {
24
26
  /**
@@ -9,8 +9,8 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { IWaywardTitle } from "@wayward/hosts/shared/globalTypes";
12
- export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 15, gameVersionPatch = 1, gameVersionName = "Cursebreaker", gameVersionColor = 5186397;
13
- export declare const gameVersion = "beta2.15.1";
12
+ export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 15, gameVersionPatch = 2, gameVersionName = "Cursebreaker", gameVersionColor = 5186397;
13
+ export declare const gameVersion = "beta2.15.2";
14
14
  export declare const gameVersionTitleMajor = "Wayward: Cursebreaker";
15
15
  export declare const gameVersionTitleMinor: string;
16
16
  export declare const gameVersionTitle: string;
@@ -80,6 +80,7 @@ export interface IEventEmitter<H = any, E = any> {
80
80
  until<E2>(emitter: IEventEmitterHost<E2>, ...events: Array<keyof E2>): IUntilSubscriber<H, E>;
81
81
  until(promise: Promise<any>): IUntilSubscriber<H, E>;
82
82
  hasHandlersForEvent(...events: Array<keyof E>): boolean;
83
+ setMaxExpectedSubscriptions(event: keyof E, max: number): this;
83
84
  /**
84
85
  * Re-opens a closed event emitter
85
86
  */
@@ -142,6 +143,8 @@ declare class EventEmitter<H, E> {
142
143
  subscribe<K extends ArrayOr<keyof E>>(host: IEventEmitterHost<IEventSubscriberEvents>, events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number, once?: boolean): H;
143
144
  /** @deprecated */
144
145
  subscribe<K extends ArrayOr<keyof E>>(events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number, once?: boolean): H;
146
+ private readonly maxExpectedSubscriptionsMap;
147
+ setMaxExpectedSubscriptions(event: keyof E, max: number): this;
145
148
  private subscribeInternal;
146
149
  subscribeNextUnsafe<K extends ArrayOr<keyof E>>(events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number): H;
147
150
  subscribeNext<K extends ArrayOr<keyof E>>(host: IEventEmitterHost<IEventSubscriberEvents>, events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number): H;
@@ -37,9 +37,15 @@ declare namespace Math2 {
37
37
  /**
38
38
  * Returns a number floored to a certain number of decimal places.
39
39
  *
40
- * Example: `roundNumber(1.24999999, 2): 1.24`
40
+ * Example: `floorNumber(1.24999999, 2): 1.24`
41
41
  */
42
42
  function floorNumber(num: number, places: number): number;
43
+ /**
44
+ * Returns a number ceiled to a certain number of decimal places.
45
+ *
46
+ * Example: `ceilNumber(1.24111111, 2): 1.25`
47
+ */
48
+ function ceilNumber(num: number, places: number): number;
43
49
  /**
44
50
  * Returns a number rounded to a multiple
45
51
  *
@@ -14,11 +14,13 @@ declare namespace Define {
14
14
  export function set<P, K extends string & keyof P>(proto: P, key: K, value: P[K]): P[K];
15
15
  export function set<V>(proto: any, key: PropertyKey, value: V): V;
16
16
  export function all<P, K extends string & keyof P>(protos: P[], key: K, implementation: Implementation<P, K>): void;
17
- interface IMagicImplementation<O, K extends string & keyof O> {
17
+ interface IMagicImplementationReadonly<O, K extends string & keyof O> {
18
18
  get(this: O): O[K];
19
+ }
20
+ interface IMagicImplementation<O, K extends string & keyof O> extends IMagicImplementationReadonly<O, K> {
19
21
  set(this: O, value: O[K]): void;
20
22
  }
21
- export function magic<O, K extends string & keyof O>(obj: O, key: K, implementation: IMagicImplementation<O, K>): void;
23
+ export function magic<O, K extends string & keyof O>(obj: O, key: K, implementation: IMagicImplementationReadonly<O, K> | IMagicImplementation<O, K>): void;
22
24
  export {};
23
25
  }
24
26
  export default Define;