@wayward/types 2.14.0-beta.dev.20231229.1 → 2.14.0-beta.dev.20231230.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/game/game/entity/Human.d.ts +2 -1
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -1
- package/definitions/game/game/entity/action/IAction.d.ts +8 -0
- package/definitions/game/game/entity/action/actions/UpdateOption.d.ts +1 -1
- package/definitions/game/game/entity/action/argument/ActionArgumentObjectKey.d.ts +23 -0
- package/definitions/game/language/dictionary/Message.d.ts +204 -204
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +3 -0
- package/definitions/game/ui/screen/screens/game/util/item/ItemStylesheet.d.ts +1 -0
- package/package.json +1 -1
|
@@ -294,7 +294,8 @@ export default abstract class Human<TypeType extends number = number, EntityRefe
|
|
|
294
294
|
unequipAll(displayMessage?: boolean, isArmorStandSwap?: boolean): IEquip[];
|
|
295
295
|
getJumpTile(): Tile | undefined;
|
|
296
296
|
hasDelay(): boolean;
|
|
297
|
-
addDelay(delay: number, replace?: boolean, addStaminaDelay?: boolean): void;
|
|
297
|
+
addDelay(delay: number, replace?: boolean, addStaminaDelay?: boolean, cap?: number): void;
|
|
298
|
+
ensureDelay(delay: number): void;
|
|
298
299
|
/**
|
|
299
300
|
* Gets a stamina penalty delay to be used for slowed actions and movement.
|
|
300
301
|
* @param staminaToStartAddingDelayAt Stat value where delays start getting added from.
|
|
@@ -173,7 +173,7 @@ export declare const actionDescriptionsSlow: {
|
|
|
173
173
|
}, [import("../../../utilities/math/Direction").Direction.None | import("../../../utilities/math/Direction").Direction.East | import("../../../utilities/math/Direction").Direction.North | import("../../../utilities/math/Direction").Direction.West | import("../../../utilities/math/Direction").Direction.South, (number | undefined)?, (boolean | undefined)?]>;
|
|
174
174
|
105: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.Object], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [any?]>;
|
|
175
175
|
89: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.Container, [import("@wayward/game/game/entity/action/IAction").ActionArgument.UnsignedInteger32NumberArray, import("@wayward/game/game/entity/action/actions/UpdateItemOrder").ActionArgumentItemSort]], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [import("../../item/IItem").IContainer, number[] | import("../../item/IItemManager").IContainerSort]>;
|
|
176
|
-
104: import("./Action").Action<[import("
|
|
176
|
+
104: import("./Action").Action<[import("./argument/ActionArgumentObjectKey").default<import("../../../save/data/ISaveDataGlobal").IOptions>, import("@wayward/game/game/entity/action/IAction").ActionArgument.Object], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [keyof import("../../../save/data/ISaveDataGlobal").IOptions, any?]>;
|
|
177
177
|
106: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Vector2Array, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Boolean, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined]], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("../../../utilities/math/IVector").IVector2[] | undefined)?, (boolean | undefined)?]>;
|
|
178
178
|
91: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, [import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined]], import("../Human").default<number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Upgrade").IUpgradeCanUse, [import("../../item/Item").default, (import("../../item/Item").default | undefined)?]>;
|
|
179
179
|
};
|
|
@@ -17,6 +17,7 @@ import type { EntityType } from "@wayward/game/game/entity/IEntity";
|
|
|
17
17
|
import type { SkillType } from "@wayward/game/game/entity/IHuman";
|
|
18
18
|
import type { ActionArgumentCustom } from "@wayward/game/game/entity/action/argument/ActionArgumentCustom";
|
|
19
19
|
import type ActionArgumentEnum from "@wayward/game/game/entity/action/argument/ActionArgumentEnum";
|
|
20
|
+
import type ActionArgumentObjectKey from "@wayward/game/game/entity/action/argument/ActionArgumentObjectKey";
|
|
20
21
|
import type Creature from "@wayward/game/game/entity/creature/Creature";
|
|
21
22
|
import type Corpse from "@wayward/game/game/entity/creature/corpse/Corpse";
|
|
22
23
|
import type NPC from "@wayward/game/game/entity/npc/NPC";
|
|
@@ -447,6 +448,13 @@ export declare namespace ActionArgument {
|
|
|
447
448
|
namespace ENUM {
|
|
448
449
|
let ActionArgumentEnumClass: typeof ActionArgumentEnum;
|
|
449
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* An action argument which is an entry from the given key in an object Performs validation when an object is passed
|
|
453
|
+
*/
|
|
454
|
+
function OBJECT_KEY<T extends Record<string, any>>(object?: T): ActionArgumentObjectKey<T>;
|
|
455
|
+
namespace OBJECT {
|
|
456
|
+
let ActionArgumentObjectKeyClass: typeof ActionArgumentObjectKey;
|
|
457
|
+
}
|
|
450
458
|
/**
|
|
451
459
|
* An action argument which is bit flags from the given enum. Performs validation.
|
|
452
460
|
*/
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Action } from "@wayward/game/game/entity/action/Action";
|
|
12
12
|
import { ActionArgument } from "@wayward/game/game/entity/action/IAction";
|
|
13
|
-
declare const _default: Action<[
|
|
13
|
+
declare const _default: Action<[import("../argument/ActionArgumentObjectKey").default<import("../../../../save/data/ISaveDataGlobal").IOptions>, ActionArgument.Object], import("../../Human").default<number, import("../../../reference/IReferenceManager").ReferenceType.NPC | import("../../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [keyof import("../../../../save/data/ISaveDataGlobal").IOptions, any?]>;
|
|
14
14
|
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2023 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 Entity from "@wayward/game/game/entity/Entity";
|
|
12
|
+
import { ActionArgumentCustom } from "@wayward/game/game/entity/action/argument/ActionArgumentCustom";
|
|
13
|
+
/**
|
|
14
|
+
* An action argument which is an entry from the given key in an object Performs validation when an object is passed
|
|
15
|
+
*/
|
|
16
|
+
export default class ActionArgumentObjectKey<T extends Record<string, any>> extends ActionArgumentCustom<keyof T> {
|
|
17
|
+
private readonly object?;
|
|
18
|
+
constructor(object?: T | undefined);
|
|
19
|
+
validate(executor: Entity | undefined, value: unknown): value is keyof T;
|
|
20
|
+
read(): keyof T;
|
|
21
|
+
write(executor: Entity | undefined, value: keyof T): void;
|
|
22
|
+
static applyHelperToActionArgument(): void;
|
|
23
|
+
}
|
|
@@ -98,210 +98,210 @@ declare enum Message {
|
|
|
98
98
|
ActionPickUpExcrementNoExcrement = 86,
|
|
99
99
|
ActionPickUpItemNoItem = 87,
|
|
100
100
|
ActionPickUpNoPickUp = 88,
|
|
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
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
101
|
+
ActionPourNoEffect = 89,
|
|
102
|
+
ActionRefineNoDurability = 90,
|
|
103
|
+
ActionReleaseNoTamedCreature = 91,
|
|
104
|
+
ActionRenameIsland = 92,
|
|
105
|
+
ActionRepairMaxDurabilityTooLow = 93,
|
|
106
|
+
ActionReshape = 94,
|
|
107
|
+
ActionReshapeFailed = 95,
|
|
108
|
+
ActionReshapeNotPossibleBonus = 96,
|
|
109
|
+
ActionReshapeReshaped = 97,
|
|
110
|
+
ActionSacrifice = 98,
|
|
111
|
+
ActionSacrificeAlreadyDoneToday = 99,
|
|
112
|
+
ActionSailToCivilizationNotInsideBoat = 100,
|
|
113
|
+
ActionSailToIsland = 101,
|
|
114
|
+
ActionSailToIslandArrived = 102,
|
|
115
|
+
ActionSailToIslandCannotUseCannotReachEdge = 103,
|
|
116
|
+
ActionSailToIslandCannotUseCannotReachPort = 104,
|
|
117
|
+
ActionSailToIslandCannotUseGhost = 105,
|
|
118
|
+
ActionSailToIslandCannotUseInvalidDestination = 106,
|
|
119
|
+
ActionSailToIslandCannotUseNoDestination = 107,
|
|
120
|
+
ActionSailToIslandCannotUseNotEnoughStamina = 108,
|
|
121
|
+
ActionSailToIslandCannotUseNotEnoughSwimmingSkill = 109,
|
|
122
|
+
ActionSailToIslandCannotUseTravellingIsDisallowedInTheseLands = 110,
|
|
123
|
+
ActionSailToIslandPlayerArriving = 111,
|
|
124
|
+
ActionSailToIslandPlayerDeparting = 112,
|
|
125
|
+
ActionSetCreatureAiAlreadyCommanded = 113,
|
|
126
|
+
ActionSetCreatureAiCannotCommand = 114,
|
|
127
|
+
ActionSetCreatureAiNotEnoughSkill = 115,
|
|
128
|
+
ActionSetCreatureAiNotEnoughTames = 116,
|
|
129
|
+
ActionShipToIslandNoDestination = 117,
|
|
130
|
+
ActionSwapEquipmentCannotUseNoEquipmentToSwap = 118,
|
|
131
|
+
ActionTameCreatureTamed = 119,
|
|
132
|
+
ActionTameNoCreature = 120,
|
|
133
|
+
ActionTestDepthNothingToTest = 121,
|
|
134
|
+
ActionTestDepthWell = 122,
|
|
135
|
+
ActionToggleContainerCannotUseAlreadyClosed = 123,
|
|
136
|
+
ActionToggleContainerCannotUseAlreadyOpen = 124,
|
|
137
|
+
ActionToggleContainerCannotUseNoContainer = 125,
|
|
138
|
+
ActionToggleContainerCannotUseNoContainerToClose = 126,
|
|
139
|
+
ActionToggleContainerCannotUseNoContainerToOpen = 127,
|
|
140
|
+
ActionToggleContainerCannotUseNotAccessible = 128,
|
|
141
|
+
ActionToggleContainerCannotUseUnknownContainer = 129,
|
|
142
|
+
ActionToggleDoorNoDoor = 130,
|
|
143
|
+
ActionToggleHitchAlreadyHitched = 131,
|
|
144
|
+
ActionToggleHitchAlreadyUnhitched = 132,
|
|
145
|
+
ActionToggleHitchNoCreature = 133,
|
|
146
|
+
ActionToggleHitchNoHitch = 134,
|
|
147
|
+
ActionToggleTilledAlreadyPacked = 135,
|
|
148
|
+
ActionToggleTilledAlreadyTilled = 136,
|
|
149
|
+
ActionTradeCannotUseExceedsCarryWeight = 137,
|
|
150
|
+
ActionTradeCannotUseNotEnoughCredit = 138,
|
|
151
|
+
ActionTradeCannotUseNothingToTrade = 139,
|
|
152
|
+
ActionTradeCannotUseTradedTooMuch = 140,
|
|
153
|
+
ActionTradeCreditChange = 141,
|
|
154
|
+
ActionTradeCreditChangeDecrease = 142,
|
|
155
|
+
ActionTradeCreditChangeIncrease = 143,
|
|
156
|
+
ActionTradeDialog1 = 144,
|
|
157
|
+
ActionTradeDialogue1 = 145,
|
|
158
|
+
ActionTradeIndicateUntradable = 146,
|
|
159
|
+
ActionTradeMerchantItems = 147,
|
|
160
|
+
ActionTradeYourItems = 148,
|
|
161
|
+
ActionUncageCannotUncageHere = 149,
|
|
162
|
+
ActionUpgrade = 150,
|
|
163
|
+
ActionUpgradeFailed = 151,
|
|
164
|
+
ActionUpgradeNotMagical = 152,
|
|
165
|
+
ActionUpgradeNotPossible = 153,
|
|
166
|
+
ActionUpgradeUpgraded = 154,
|
|
167
|
+
ActionUseItemWeaponNeeded = 155,
|
|
168
|
+
AddedFuelToFire = 156,
|
|
169
|
+
AddedFuelToTorch = 157,
|
|
170
|
+
AlignmentUpdateCursed = 158,
|
|
171
|
+
AlignmentUpdateEvil = 159,
|
|
172
|
+
AlignmentUpdateGood = 160,
|
|
173
|
+
AlignmentUpdateHighPiety = 161,
|
|
174
|
+
AlignmentUpdateLowPiety = 162,
|
|
175
|
+
AlignmentUpdateNoPiety = 163,
|
|
176
|
+
AlignmentUpdateSunset = 164,
|
|
177
|
+
AllEquipmentUnEquipped = 165,
|
|
178
|
+
AlreadyDesalinatedWaterInStill = 166,
|
|
179
|
+
AlreadyFullyRefined = 167,
|
|
180
|
+
AlreadyFullyRepaired = 168,
|
|
181
|
+
AlreadyPreserved = 169,
|
|
182
|
+
Alter = 170,
|
|
183
|
+
AnotherIsland = 171,
|
|
184
|
+
AnUnknownItem = 172,
|
|
185
|
+
APileOfItems = 173,
|
|
186
|
+
AppearedNotEffectiveForGathering = 174,
|
|
187
|
+
ArmorAppeared = 175,
|
|
188
|
+
ArmorProtectedFromInjuryAgainst = 176,
|
|
189
|
+
AttemptToSoothBurnInWater = 177,
|
|
190
|
+
AttemptToSoothFrostbiteWithFire = 178,
|
|
191
|
+
AttemptToSoothFrostbiteWithFireTooHot = 179,
|
|
192
|
+
AttemptToTill = 180,
|
|
193
|
+
BadlyBurnedLostHealth = 181,
|
|
194
|
+
BarteringSkillsProvided = 182,
|
|
195
|
+
BeenPoisoned = 183,
|
|
196
|
+
BeginSleeping = 184,
|
|
197
|
+
BeginUsingVehicle = 185,
|
|
198
|
+
BleedingHasStopped = 186,
|
|
199
|
+
BleedingProfusely = 187,
|
|
200
|
+
BleedingToDeathLostHealth = 188,
|
|
201
|
+
BookBlank = 189,
|
|
202
|
+
BookContains = 190,
|
|
203
|
+
BookCrumbles = 191,
|
|
204
|
+
BookDiagrams = 192,
|
|
205
|
+
BookEmpty = 193,
|
|
206
|
+
BookNothing = 194,
|
|
207
|
+
BookOpen = 195,
|
|
208
|
+
BookScribbles = 196,
|
|
209
|
+
BothEffectiveIneffective = 197,
|
|
210
|
+
BrokeIntoPieces = 198,
|
|
211
|
+
BrokenOnImpact = 199,
|
|
212
|
+
BrokenWhileFiring = 200,
|
|
213
|
+
Build = 201,
|
|
214
|
+
Burned = 202,
|
|
215
|
+
CannotAddAnyMoreFuel = 203,
|
|
216
|
+
CannotBeCrafted = 204,
|
|
217
|
+
CannotBePerformedOverWater = 205,
|
|
218
|
+
CannotBePlacedHere = 206,
|
|
219
|
+
CannotBePreserved = 207,
|
|
220
|
+
CannotBeRefined = 208,
|
|
221
|
+
CannotBeRefinedReinforcementNeeded = 209,
|
|
222
|
+
CannotBeReinforced = 210,
|
|
223
|
+
CannotBeRepaired = 211,
|
|
224
|
+
CannotBuildHere = 212,
|
|
225
|
+
CannotDigWithHands = 213,
|
|
226
|
+
CannotDoThatHere = 214,
|
|
227
|
+
CannotEquipThatThere = 215,
|
|
228
|
+
CannotFishFor = 216,
|
|
229
|
+
CannotHere = 217,
|
|
230
|
+
CannotInWater = 218,
|
|
231
|
+
CannotLeave = 219,
|
|
232
|
+
CannotNoTreasure = 220,
|
|
233
|
+
CannotPickUpLockedContainer = 221,
|
|
234
|
+
CannotPickUpWhileLit = 222,
|
|
235
|
+
CannotPlaceContainerInItself = 223,
|
|
236
|
+
CannotPlaceHere = 224,
|
|
237
|
+
CannotPlaceThatFromHere = 225,
|
|
238
|
+
CannotPlaceThatHere = 226,
|
|
239
|
+
CannotPlaceThatOverWater = 227,
|
|
240
|
+
CannotPlantHereTilled = 228,
|
|
241
|
+
CannotRepairWhileLit = 229,
|
|
242
|
+
CannotRestHere = 230,
|
|
243
|
+
CannotShipNoItems = 231,
|
|
244
|
+
CannotShipNoPath = 232,
|
|
245
|
+
CannotSleepHere = 233,
|
|
246
|
+
CannotStartFireHere = 234,
|
|
247
|
+
CannotToTellTime = 235,
|
|
248
|
+
CannotUseCommand = 236,
|
|
249
|
+
CannotWhenProtected = 237,
|
|
250
|
+
CannotWhenProtectedDangerousAction = 238,
|
|
251
|
+
CannotWhenProtectedDurability = 239,
|
|
252
|
+
CarryingTooMuchWeight = 240,
|
|
253
|
+
CarvedUpCorpse = 241,
|
|
254
|
+
Carving = 242,
|
|
255
|
+
CastYourLine = 243,
|
|
256
|
+
CaughtFish = 244,
|
|
257
|
+
ChatBanCommand = 245,
|
|
258
|
+
ChatBannedCommand = 246,
|
|
259
|
+
ChatCommandsCommand = 247,
|
|
260
|
+
ChatCommandsCommandCommand = 248,
|
|
261
|
+
ChatPingCommand = 249,
|
|
262
|
+
ChatPlayerMessage = 250,
|
|
263
|
+
ChatPlayersCommand = 251,
|
|
264
|
+
ChatServerMessage = 252,
|
|
265
|
+
ChatUnbanCommand = 253,
|
|
266
|
+
ChatUnknownCommand = 254,
|
|
267
|
+
Chop = 255,
|
|
268
|
+
Chopping = 256,
|
|
269
|
+
ClearedBlood = 257,
|
|
270
|
+
Clockwise = 258,
|
|
271
|
+
CloseToBeingDestroyed = 259,
|
|
272
|
+
CommandAttack = 260,
|
|
273
|
+
CommandDefend = 261,
|
|
274
|
+
CommandFollowClose = 262,
|
|
275
|
+
CommandFollowFar = 263,
|
|
276
|
+
CommandHeel = 264,
|
|
277
|
+
CommandStay = 265,
|
|
278
|
+
Container = 266,
|
|
279
|
+
CopiedMap = 267,
|
|
280
|
+
CorpseOf = 268,//#used via other translations
|
|
281
|
+
CorpseOfNamed = 269,//#used via other translations
|
|
282
|
+
Counterclockwise = 270,
|
|
283
|
+
Craft = 271,
|
|
284
|
+
Crafted = 272,
|
|
285
|
+
Crafts = 273,
|
|
286
|
+
CreatureAngered = 274,
|
|
287
|
+
CreatureAppears = 275,
|
|
288
|
+
CreatureAppeased = 276,
|
|
289
|
+
CreatureExcrement = 277,
|
|
290
|
+
CreatureHappinessHigh = 278,
|
|
291
|
+
CreatureHappinessLow = 279,
|
|
292
|
+
CreatureHappinessLowest = 280,
|
|
293
|
+
CreatureHappinessNormal = 281,
|
|
294
|
+
CreatureIdolAttractedCreature = 282,
|
|
295
|
+
CreatureRefusesToBeTamed = 283,
|
|
296
|
+
CreatureRefusesYou = 284,
|
|
297
|
+
CreatureUntamed = 285,
|
|
298
|
+
CuredYourPoison = 286,
|
|
299
|
+
Cut = 287,
|
|
300
|
+
CutHasHealed = 288,
|
|
301
|
+
CutLostHealth = 289,
|
|
302
|
+
CutWasBandaged = 290,
|
|
303
|
+
DamageAppeared = 291,
|
|
304
|
+
DamagedByPouring = 292,
|
|
305
305
|
DangerousMove = 293,
|
|
306
306
|
DangerousOpen = 294,
|
|
307
307
|
DayQuarter1 = 295,
|
package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ export default class ContainerBucketItemList extends Component implements ISorta
|
|
|
77
77
|
get container(): IContainer | undefined;
|
|
78
78
|
isStacked(type?: ItemType): boolean | undefined;
|
|
79
79
|
getStackedItems(type?: ItemType): Item[];
|
|
80
|
+
getStackIndex(type?: ItemType): number | undefined;
|
|
80
81
|
constructor(container?: IContainer);
|
|
81
82
|
private readonly activeReasons;
|
|
82
83
|
toggleActive(reason: string, active: boolean): void;
|
|
@@ -127,6 +128,8 @@ export default class ContainerBucketItemList extends Component implements ISorta
|
|
|
127
128
|
protected onStack(manager: ItemManager, container: IContainer, type: ItemType): void;
|
|
128
129
|
protected onUnstack(manager: ItemManager, container: IContainer, type: ItemType): void;
|
|
129
130
|
protected onTick(): void;
|
|
131
|
+
private ensureStackRendered;
|
|
132
|
+
private ensureStackUnrendered;
|
|
130
133
|
private itemIdsInElements?;
|
|
131
134
|
private getItemIdsInElements;
|
|
132
135
|
private itemListDiffers;
|
package/package.json
CHANGED