@wayward/types 2.11.0-beta.dev.20211221.1 → 2.11.0-beta.dev.20211223.3

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.
@@ -27,6 +27,7 @@ import type { IModdable } from "mod/ModRegistry";
27
27
  import type { TileLayerType } from "renderer/world/IWorldRenderer";
28
28
  import type { IRGB } from "utilities/Color";
29
29
  export interface IDoodadOptions extends IObjectOptions {
30
+ force?: boolean;
30
31
  gatherReady?: number;
31
32
  stillContainer?: Item;
32
33
  gfx?: number;
@@ -89,7 +90,14 @@ export interface IDoodadDescription extends IObjectDescription, IModdable, ICaus
89
90
  lit?: DoodadType;
90
91
  lockedChest?: ILockedChest;
91
92
  particles?: IRGB;
93
+ /**
94
+ * Works with "PickUpDoodad" action, typically used for doodads that you can "build" like walls, furnaces, etc.
95
+ */
92
96
  pickUp?: ItemType[];
97
+ /**
98
+ * Works with "Gather"-based actions.
99
+ */
100
+ gatherPickUp?: ILootItem[];
93
101
  providesFire?: boolean;
94
102
  providesLight?: number;
95
103
  reduceDurabilityOnGather?: boolean;
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { Events, IEventEmitter } from "event/EventEmitter";
12
12
  import EntityManager from "game/entity/EntityManager";
13
- import type { NPCType } from "game/entity/npc/INPCs";
13
+ import { NPCType } from "game/entity/npc/INPCs";
14
14
  import type NPC from "game/entity/npc/NPC";
15
15
  export interface INPCManagerEvents extends Events<EntityManager<NPC>> {
16
16
  /**
@@ -13,6 +13,9 @@ import GameplayModifiersManager from "game/options/modifiers/GameplayModifiersMa
13
13
  import type MilestoneModifier from "game/options/modifiers/milestone/MilestoneModifier";
14
14
  declare class MilestoneModifiersManager extends GameplayModifiersManager<MilestoneModifier> {
15
15
  constructor();
16
+ has(milestone: Milestone): boolean;
17
+ getUnlocked(): Milestone[];
18
+ getAll(): Milestone[];
16
19
  isGlobal(milestone: Milestone): boolean;
17
20
  isNotGlobal(milestone: Milestone): boolean;
18
21
  getGroup(milestone: Milestone): import("game/options/modifiers/milestone/MilestoneModifier").MilestoneModifierGroup | undefined;
@@ -44,7 +44,7 @@ interface IReferenceTypeMap {
44
44
  export declare type Referenceable = IReferenceTypeMap[ReferenceableReferenceTypes];
45
45
  export default class ReferenceManager {
46
46
  static isEnumReference(type: ReferenceType): type is EnumReferenceTypes;
47
- static getList(type: ReferenceType, gameIsland?: Island): import("../entity/creature/corpse/CorpseManager").default | import("../entity/creature/CreatureManager").default | import("../doodad/DoodadManager").default | import("../item/ItemManager").default | import("../entity/npc/NPCManager").default | import("../tile/TileEventManager").default | Player[] | readonly SkillType[] | readonly Milestone[] | readonly ItemType[] | IterableIterator<Island> | readonly Stat[];
47
+ static getList(type: ReferenceType, gameIsland?: Island): import("../entity/creature/corpse/CorpseManager").default | import("../entity/creature/CreatureManager").default | import("../doodad/DoodadManager").default | import("../item/ItemManager").default | import("../entity/npc/NPCManager").default | import("../tile/TileEventManager").default | Player[] | readonly Milestone[] | readonly SkillType[] | readonly ItemType[] | IterableIterator<Island> | readonly Stat[];
48
48
  private referenceCursor;
49
49
  create(): number;
50
50
  get(thing: Referenceable): Reference | undefined;
@@ -188,375 +188,375 @@ declare enum Message {
188
188
  CloseContainer = 176,
189
189
  CloseDoor = 177,
190
190
  CloseToBeingDestroyed = 178,
191
- CollectObjectWithHands = 179,
192
- Consumed = 180,
193
- Container = 181,
194
- ContextMenuActionHotkey = 182,
195
- ContextMenuHelpActions = 183,
196
- ContextMenuHelpAutoActions = 184,
197
- ContextMenuHelpItems = 185,
198
- CopiedMap = 186,
199
- CopySelectedText = 187,
200
- CopyX = 188,
201
- CorpseOf = 189,
202
- CorpseOfNamed = 190,
203
- CouldNotDecipher = 191,
204
- Counterclockwise = 192,
205
- Craft = 193,
206
- Crafted = 194,
207
- Crafts = 195,
208
- CreatureAngered = 196,
209
- CreatureAppears = 197,
210
- CreatureAppeased = 198,
211
- CreatureExcrement = 199,
212
- CreatureHappinessHigh = 200,
213
- CreatureHappinessLow = 201,
214
- CreatureHappinessLowest = 202,
215
- CreatureHappinessNormal = 203,
216
- CreatureIdolAttractedCreature = 204,
217
- CreatureUntamed = 205,
218
- CuredYourPoison = 206,
219
- Cut = 207,
220
- DamageAppeared = 208,
221
- DamagedByPouring = 209,
222
- DayQuarter1 = 210,
223
- DayQuarter2 = 211,
224
- DayQuarter3 = 212,
225
- DayQuarter4 = 213,
226
- DealtNoDamageToYou = 214,
227
- DeathBy = 215,
228
- DeathByBleeding = 216,
229
- DeathByBurning = 217,
230
- DeathByChallengeWinner = 218,
231
- DeathByConsumption = 219,
232
- DeathByDrowning = 220,
233
- DeathByExhaustion = 221,
234
- DeathByFistByPlayer = 222,
235
- DeathByFrostbite = 223,
236
- DeathByMalnutrition = 224,
237
- DeathByPoison = 225,
238
- DeathBySteppingOn = 226,
239
- DeathByTrap = 227,
240
- DeathByWeaponByPlayer = 228,
241
- Decay = 229,
242
- DestroyedFromUse = 230,
243
- DetachContainer = 231,
244
- Dexterity = 232,
245
- DexterityIncreasing = 233,
246
- DidNotSeemToBeHurting = 234,
247
- Dig = 235,
248
- DigAway = 236,
249
- Digging = 237,
250
- DigWithHands = 238,
251
- Disabled = 239,
252
- Disassemble = 240,
253
- DisassembleAction = 241,
254
- Disassembling = 242,
255
- DiscoveredCaveEntrance = 243,
256
- DiscoveredInTheBottle = 244,
257
- DiscoveredLavaPassage = 245,
258
- Dismantle = 246,
259
- DismantleAction = 247,
260
- DismantleLabel = 248,
261
- Dismantling = 249,
262
- DismantlingRequires = 250,
263
- DisplacedPuddles = 251,
264
- DoNotHaveTreasureMaps = 252,
265
- DoNotProduceAnyResources = 253,
266
- DoodadCauseStatus = 254,
267
- DoodadGroupTier = 255,
268
- DrewSurroundings = 256,
269
- Drink = 257,
270
- Drop = 258,
271
- DropAll = 259,
272
- DropAllOfSameQuality = 260,
273
- DroppedIntoDepths = 261,
274
- DroppedIntoFire = 262,
275
- DroppedIntoTheVoid = 263,
276
- DryadSprouted = 264,
277
- DueToDehydration = 265,
278
- DueToStarvation = 266,
279
- DugTreasureOut = 267,
280
- DumpContentsOfContainerInInventory = 268,
281
- Durability = 269,
282
- DyingOfDehydration = 270,
283
- EarnedMilestone = 271,
284
- East = 272,
285
- EastNortheast = 273,
286
- EastSoutheast = 274,
287
- Effective = 275,
288
- Enabled = 276,
289
- Enchant = 277,
290
- EquipmentPreventedStatusEffects = 278,
291
- EquipTo = 279,
292
- ErrorHasOccured = 280,
293
- ExtinguishedFire = 281,
294
- ExtinguishedLightSource = 282,
295
- FailedToAddFuelToTorch = 283,
296
- FailedToCatchFish = 284,
297
- FailedToCauseDamage = 285,
298
- FailedToCauseYouDamage = 286,
299
- FailedToCopy = 287,
300
- FailedToDraw = 288,
301
- FailedToEnchant = 289,
302
- FailedToIgniteTorch = 290,
303
- FailedToPickLock = 291,
304
- FailedToPlant = 292,
305
- FailedToPreserve = 293,
306
- FailedToRefine = 294,
307
- FailedToReinforce = 295,
308
- FailedToRepair = 296,
309
- FailedToStartFire = 297,
310
- FailedToTame = 298,
311
- FailedToTransmogrify = 299,
312
- FarOffLands = 300,
313
- FeltBurningPainLostHealth = 301,
314
- FeltFrostbitePainLostHealth = 302,
315
- FewMinutes = 303,
316
- Filled = 304,
317
- FilledFrom = 305,
318
- FireAroundYouIsWarm = 306,
319
- FiredIntoObstacle = 307,
320
- FireOverflowed = 308,
321
- FireOverflowedFireElemental = 309,
322
- FireSource = 310,
323
- FishingWithNoBait = 311,
324
- Floating = 312,
325
- FreshWater = 313,
326
- FromTheStill = 314,
327
- Fuel = 315,
328
- FuelIsRequired = 316,
329
- FullyDecodedMap = 317,
330
- GameHasBeenSavedIsTakingUpMB = 318,
331
- Gather = 319,
332
- GatherDestroy = 320,
333
- Gathering = 321,
334
- GatherWithHands = 322,
335
- GhostNoActions = 323,
336
- GhostOf = 324,
337
- GoatHasNoMilk = 325,
338
- GrabAll = 326,
339
- Group = 327,
340
- HackAway = 328,
341
- HandProtectionPreventedInjury = 329,
342
- HandsNotEffectiveForDigging = 330,
343
- Harvest = 331,
344
- Harvesting = 332,
345
- HarvestWithHands = 333,
346
- HasBeenHurtByATrap = 334,
347
- HasDecayed = 335,
348
- HasHitYouForDamage = 336,
349
- HasNoEffect = 337,
350
- HasSetTrapOffNoDamage = 338,
351
- HasSplit = 339,
352
- Help = 340,
353
- HelpGrow = 341,
354
- Here = 342,
355
- Hints = 343,
356
- HintsDisabled = 344,
357
- HintsEnabled = 345,
358
- Hitch = 346,
359
- HitchAttempt = 347,
360
- HitchCreature = 348,
361
- HitchDisabled = 349,
362
- HitchInUse = 350,
363
- HitchUnhitch = 351,
364
- HitForDamage = 352,
365
- HitYouForDamage = 353,
366
- Hour = 354,
367
- Hours = 355,
368
- HurtHandsHittingWithoutWeapons = 356,
369
- HurtHandsWithNoTool = 357,
370
- Ignite = 358,
371
- IgnitedTorch = 359,
372
- Ineffective = 360,
373
- InjuredFromTrap = 361,
374
- InNeedOfRepair = 362,
375
- InspectItem = 363,
376
- InteractingWithHasInjuredYouForDamage = 364,
377
- Inventory = 365,
378
- IsInTheWayOfPickingUp = 366,
379
- It = 367,
380
- ItAlsoReveals = 368,
381
- ItAlsoSeems = 369,
382
- ItContains = 370,
383
- ItemFromWater = 371,
384
- JoinedAServer = 372,
385
- Jump = 373,
386
- Killed = 374,
387
- KnowledgeHasIncreased = 375,
388
- LabelActionTier = 376,
389
- LabelAdditionalRequirements = 377,
390
- LabelAttackFromTactics = 378,
391
- LabelBase = 379,
392
- LabelCanIncrease = 380,
393
- LabelCraftingReputation = 381,
394
- LabelCraftingRequires = 382,
395
- LabelCraftingSkillReputation = 383,
396
- LabelDecay = 384,
397
- LabelDefense = 385,
398
- LabelDismantlingRequires = 386,
399
- LabelDurability = 387,
400
- LabelEquip = 388,
401
- LabelGrouping = 389,
402
- LabelHave = 390,
403
- LabelLeftHandAttack = 391,
404
- LabelLevel = 392,
405
- LabelLightSourceWhenLit = 393,
406
- LabelOnCure = 394,
407
- LabelOnDrink = 395,
408
- LabelOnEat = 396,
409
- LabelOnEquip = 397,
410
- LabelOnHeal = 398,
411
- LabelOnOtherHeal = 399,
412
- LabelPreservationRate = 400,
413
- LabelProtected = 401,
414
- LabelRange = 402,
415
- LabelRanged = 403,
416
- LabelRangedAttack = 404,
417
- LabelRangedDamage = 405,
418
- LabelReputationImpact = 406,
419
- LabelResists = 407,
420
- LabelRightHandAttack = 408,
421
- LabelSkill = 409,
422
- LabelStokeFireStrength = 410,
423
- LabelThrowDamageType = 411,
424
- LabelTrapDamage = 412,
425
- LabelUse = 413,
426
- LabelUses = 414,
427
- LabelVulnerabilities = 415,
428
- LabelWeight = 416,
429
- LabelWeightCapacity = 417,
430
- LabelWeightReduction = 418,
431
- LabelWorth = 419,
432
- LastPlaceYouLeftOff = 420,
433
- LearnedHowToCreate = 421,
434
- LeftHand = 422,
435
- LikelyFailures = 423,
436
- Limited = 424,
437
- Magical = 425,
438
- MagicalItemDamage = 426,
439
- MapDestroyed = 427,
440
- MapNearlyDestroyed = 428,
441
- MapNotOfThisArea = 429,
442
- MaterialsDestroyed = 430,
443
- MerchantAlreadyTradedItem = 431,
444
- MessageOfTheDay = 432,
445
- Metabolism = 433,
446
- MetabolismSlowed = 434,
447
- Milk = 435,
448
- Mine = 436,
449
- Mining = 437,
450
- MissedWith = 438,
451
- MissedYouWith = 439,
452
- MoveAllOfSameQualityToFacingContainer = 440,
453
- MoveAllOfSameQualityToInventory = 441,
454
- MoveAllOfSameQualityToLastOpenedContainer = 442,
455
- MoveAllOfSameQualityToOpenedContainer = 443,
456
- MoveAllToFacingContainer = 444,
457
- MoveAllToInventory = 445,
458
- MoveAllToLastOpenedContainer = 446,
459
- MoveAllToOpenedContainer = 447,
460
- MovedItem = 448,
461
- MoveOverTrapButDoNotSetOff = 449,
462
- MoveToFacingContainer = 450,
463
- MoveToInventory = 451,
464
- MoveToLastOpenedContainer = 452,
465
- MoveToOpenedContainer = 453,
466
- MultiplayerGamePaused = 454,
467
- MultiplayerGameResumed = 455,
468
- MultiplayerPlayerConnected = 456,
469
- MultiplayerPlayerDied = 457,
470
- MultiplayerPlayerDisconnected = 458,
471
- MultiplayerPlayerJoined = 459,
472
- MultipleQuickslots = 460,
473
- MustBeEquippedToIgnite = 461,
474
- Mysteriously = 462,
475
- Name = 463,
476
- NearlyBurnedEquipmentProtectedYou = 464,
477
- NeedFreeHandToShoot = 465,
478
- NeedToEquipToShoot = 466,
479
- NeedToStartTravelsOutside = 467,
480
- NeedWaterForBoat = 468,
481
- Negatively = 469,
482
- NightQuarter1 = 470,
483
- NightQuarter2 = 471,
484
- NightQuarter3 = 472,
485
- NightQuarter4 = 473,
486
- No = 474,
487
- NoAmmunitionForThatWeapon = 475,
488
- NoFireToStokeWith = 476,
489
- NoFishAtLocation = 477,
490
- NoGroundWater = 478,
491
- NoInkToDrawMap = 479,
492
- NoKindlingOrFuelItemsToStartFire = 480,
493
- NoKindlingToStartFire = 481,
494
- NoLongerFeelPainOfBeingBurned = 482,
495
- NoLongerFeelPainOfBeingFrostbitten = 483,
496
- NoLongerHostile = 484,
497
- NoMoreRoomInContainer = 485,
498
- NoPaperToDrawMap = 486,
499
- NoRequiredItemToFireWeapon = 487,
500
- NoReturnWithoutCompletingChallenges = 488,
501
- NoRoomForImprovement = 489,
502
- NoRoomToDrop = 490,
503
- North = 491,
504
- Northeast = 492,
505
- NorthNortheast = 493,
506
- NorthNorthwest = 494,
507
- Northwest = 495,
508
- NotAvailable = 496,
509
- NotEnoughPurifiedWaterYet = 497,
510
- NotEnoughTreasureToReturn = 498,
511
- NotFacingCreatureToOfferThisTo = 499,
512
- NotFacingLockedObject = 500,
513
- NotFacingOtherToHeal = 501,
514
- NotFacingValidItem = 502,
515
- NothingHereToButcher = 503,
516
- NothingHereToFill = 504,
517
- NothingHereToGrasp = 505,
518
- NothingToGetFromThis = 506,
519
- NothingToHarvestFromThisGather = 507,
520
- NothingToSmother = 508,
521
- NothingUsefulToHarvestYet = 509,
522
- NoTinderToStartFire = 510,
523
- NotSuitableToPlant = 511,
524
- NoWaterInStill = 512,
525
- NPCStartingDialog1 = 513,
526
- NPCStartingDialog2 = 514,
527
- NPCStartingDialog3 = 515,
528
- NPCStartingDialog4 = 516,
529
- NPCWelcome = 517,
530
- NPCWelcomeCredit = 518,
531
- NumberEight = 519,
532
- NumberFive = 520,
533
- NumberFour = 521,
534
- NumberNine = 522,
535
- NumberOne = 523,
536
- NumberSeven = 524,
537
- NumberSix = 525,
538
- NumberTen = 526,
539
- NumberThree = 527,
540
- NumberTwo = 528,
541
- ObjectIsLocked = 529,
542
- ObjectIsLockedAttemptToBreakIt = 530,
543
- Offer = 531,
544
- OfferAberrantFail = 532,
545
- OfferAberrantFailButTamed = 533,
546
- OpenCloseContainer = 534,
547
- OpenCloseDoor = 535,
548
- OpenDoor = 536,
549
- OverEatingLostStamina = 537,
550
- OverHydratingLostStamina = 538,
551
- Pack = 539,
552
- PaperTurnedToMush = 540,
553
- ParryTheBlow = 541,
554
- PartiallyDecodedMap = 542,
555
- PenultimateAnd = 543,
556
- Pet = 544,
557
- PetCreature = 545,
558
- PickAway = 546,
559
- PickupAllItems = 547,
191
+ Consumed = 179,
192
+ Container = 180,
193
+ ContextMenuActionHotkey = 181,
194
+ ContextMenuHelpActions = 182,
195
+ ContextMenuHelpAutoActions = 183,
196
+ ContextMenuHelpItems = 184,
197
+ CopiedMap = 185,
198
+ CopySelectedText = 186,
199
+ CopyX = 187,
200
+ CorpseOf = 188,
201
+ CorpseOfNamed = 189,
202
+ CouldNotDecipher = 190,
203
+ Counterclockwise = 191,
204
+ Craft = 192,
205
+ Crafted = 193,
206
+ Crafts = 194,
207
+ CreatureAngered = 195,
208
+ CreatureAppears = 196,
209
+ CreatureAppeased = 197,
210
+ CreatureExcrement = 198,
211
+ CreatureHappinessHigh = 199,
212
+ CreatureHappinessLow = 200,
213
+ CreatureHappinessLowest = 201,
214
+ CreatureHappinessNormal = 202,
215
+ CreatureIdolAttractedCreature = 203,
216
+ CreatureUntamed = 204,
217
+ CuredYourPoison = 205,
218
+ Cut = 206,
219
+ DamageAppeared = 207,
220
+ DamagedByPouring = 208,
221
+ DayQuarter1 = 209,
222
+ DayQuarter2 = 210,
223
+ DayQuarter3 = 211,
224
+ DayQuarter4 = 212,
225
+ DealtNoDamageToYou = 213,
226
+ DeathBy = 214,
227
+ DeathByBleeding = 215,
228
+ DeathByBurning = 216,
229
+ DeathByChallengeWinner = 217,
230
+ DeathByConsumption = 218,
231
+ DeathByDrowning = 219,
232
+ DeathByExhaustion = 220,
233
+ DeathByFistByPlayer = 221,
234
+ DeathByFrostbite = 222,
235
+ DeathByMalnutrition = 223,
236
+ DeathByPoison = 224,
237
+ DeathBySteppingOn = 225,
238
+ DeathByTrap = 226,
239
+ DeathByWeaponByPlayer = 227,
240
+ Decay = 228,
241
+ DestroyedFromUse = 229,
242
+ DetachContainer = 230,
243
+ Dexterity = 231,
244
+ DexterityIncreasing = 232,
245
+ DidNotSeemToBeHurting = 233,
246
+ Dig = 234,
247
+ DigAway = 235,
248
+ Digging = 236,
249
+ DigWithHands = 237,
250
+ Disabled = 238,
251
+ Disassemble = 239,
252
+ DisassembleAction = 240,
253
+ Disassembling = 241,
254
+ DiscoveredCaveEntrance = 242,
255
+ DiscoveredInTheBottle = 243,
256
+ DiscoveredLavaPassage = 244,
257
+ Dismantle = 245,
258
+ DismantleAction = 246,
259
+ DismantleLabel = 247,
260
+ Dismantling = 248,
261
+ DismantlingRequires = 249,
262
+ DisplacedPuddles = 250,
263
+ DoNotHaveTreasureMaps = 251,
264
+ DoNotProduceAnyResources = 252,
265
+ DoodadCauseStatus = 253,
266
+ DoodadGroupTier = 254,
267
+ DrewSurroundings = 255,
268
+ Drink = 256,
269
+ Drop = 257,
270
+ DropAll = 258,
271
+ DropAllOfSameQuality = 259,
272
+ DroppedIntoDepths = 260,
273
+ DroppedIntoFire = 261,
274
+ DroppedIntoTheVoid = 262,
275
+ DryadSprouted = 263,
276
+ DueToDehydration = 264,
277
+ DueToStarvation = 265,
278
+ DugTreasureOut = 266,
279
+ DumpContentsOfContainerInInventory = 267,
280
+ Durability = 268,
281
+ DyingOfDehydration = 269,
282
+ EarnedMilestone = 270,
283
+ East = 271,
284
+ EastNortheast = 272,
285
+ EastSoutheast = 273,
286
+ Effective = 274,
287
+ Enabled = 275,
288
+ Enchant = 276,
289
+ EquipmentPreventedStatusEffects = 277,
290
+ EquipTo = 278,
291
+ ErrorHasOccured = 279,
292
+ ExtinguishedFire = 280,
293
+ ExtinguishedLightSource = 281,
294
+ FailedToAddFuelToTorch = 282,
295
+ FailedToCatchFish = 283,
296
+ FailedToCauseDamage = 284,
297
+ FailedToCauseYouDamage = 285,
298
+ FailedToCopy = 286,
299
+ FailedToDraw = 287,
300
+ FailedToEnchant = 288,
301
+ FailedToIgniteTorch = 289,
302
+ FailedToPickLock = 290,
303
+ FailedToPlant = 291,
304
+ FailedToPreserve = 292,
305
+ FailedToRefine = 293,
306
+ FailedToReinforce = 294,
307
+ FailedToRepair = 295,
308
+ FailedToStartFire = 296,
309
+ FailedToTame = 297,
310
+ FailedToTransmogrify = 298,
311
+ FarOffLands = 299,
312
+ FeltBurningPainLostHealth = 300,
313
+ FeltFrostbitePainLostHealth = 301,
314
+ FewMinutes = 302,
315
+ Filled = 303,
316
+ FilledFrom = 304,
317
+ FireAroundYouIsWarm = 305,
318
+ FiredIntoObstacle = 306,
319
+ FireOverflowed = 307,
320
+ FireOverflowedFireElemental = 308,
321
+ FireSource = 309,
322
+ FishingWithNoBait = 310,
323
+ Floating = 311,
324
+ FreshWater = 312,
325
+ FromTheStill = 313,
326
+ Fuel = 314,
327
+ FuelIsRequired = 315,
328
+ FullyDecodedMap = 316,
329
+ GameHasBeenSavedIsTakingUpMB = 317,
330
+ Gather = 318,
331
+ GatherDestroy = 319,
332
+ Gathering = 320,
333
+ GatherWithHands = 321,
334
+ GhostNoActions = 322,
335
+ GhostOf = 323,
336
+ GoatHasNoMilk = 324,
337
+ GrabAll = 325,
338
+ Group = 326,
339
+ HackAway = 327,
340
+ HandProtectionPreventedInjury = 328,
341
+ HandsNotEffectiveForDigging = 329,
342
+ Harvest = 330,
343
+ Harvesting = 331,
344
+ HarvestWithHands = 332,
345
+ HasBeenHurtByATrap = 333,
346
+ HasDecayed = 334,
347
+ HasHitYouForDamage = 335,
348
+ HasNoEffect = 336,
349
+ HasSetTrapOffNoDamage = 337,
350
+ HasSplit = 338,
351
+ Help = 339,
352
+ HelpGrow = 340,
353
+ Here = 341,
354
+ Hints = 342,
355
+ HintsDisabled = 343,
356
+ HintsEnabled = 344,
357
+ Hitch = 345,
358
+ HitchAttempt = 346,
359
+ HitchCreature = 347,
360
+ HitchDisabled = 348,
361
+ HitchInUse = 349,
362
+ HitchUnhitch = 350,
363
+ HitForDamage = 351,
364
+ HitYouForDamage = 352,
365
+ Hour = 353,
366
+ Hours = 354,
367
+ HurtHandsHittingWithoutWeapons = 355,
368
+ HurtHandsWithNoTool = 356,
369
+ Ignite = 357,
370
+ IgnitedTorch = 358,
371
+ Ineffective = 359,
372
+ InjuredFromTrap = 360,
373
+ InNeedOfRepair = 361,
374
+ InspectItem = 362,
375
+ InteractingWithHasInjuredYouForDamage = 363,
376
+ Inventory = 364,
377
+ IsInTheWayOfPickingUp = 365,
378
+ It = 366,
379
+ ItAlsoReveals = 367,
380
+ ItAlsoSeems = 368,
381
+ ItContains = 369,
382
+ ItemFromWater = 370,
383
+ JoinedAServer = 371,
384
+ Jump = 372,
385
+ Killed = 373,
386
+ KnowledgeHasIncreased = 374,
387
+ LabelActionTier = 375,
388
+ LabelAdditionalRequirements = 376,
389
+ LabelAttackFromTactics = 377,
390
+ LabelBase = 378,
391
+ LabelCanIncrease = 379,
392
+ LabelCraftingReputation = 380,
393
+ LabelCraftingRequires = 381,
394
+ LabelCraftingSkillReputation = 382,
395
+ LabelDecay = 383,
396
+ LabelDefense = 384,
397
+ LabelDismantlingRequires = 385,
398
+ LabelDurability = 386,
399
+ LabelEquip = 387,
400
+ LabelGrouping = 388,
401
+ LabelHave = 389,
402
+ LabelLeftHandAttack = 390,
403
+ LabelLevel = 391,
404
+ LabelLightSourceWhenLit = 392,
405
+ LabelOnCure = 393,
406
+ LabelOnDrink = 394,
407
+ LabelOnEat = 395,
408
+ LabelOnEquip = 396,
409
+ LabelOnHeal = 397,
410
+ LabelOnOtherHeal = 398,
411
+ LabelPreservationRate = 399,
412
+ LabelProtected = 400,
413
+ LabelRange = 401,
414
+ LabelRanged = 402,
415
+ LabelRangedAttack = 403,
416
+ LabelRangedDamage = 404,
417
+ LabelReputationImpact = 405,
418
+ LabelResists = 406,
419
+ LabelRightHandAttack = 407,
420
+ LabelSkill = 408,
421
+ LabelStokeFireStrength = 409,
422
+ LabelThrowDamageType = 410,
423
+ LabelTrapDamage = 411,
424
+ LabelUse = 412,
425
+ LabelUses = 413,
426
+ LabelVulnerabilities = 414,
427
+ LabelWeight = 415,
428
+ LabelWeightCapacity = 416,
429
+ LabelWeightReduction = 417,
430
+ LabelWorth = 418,
431
+ LastPlaceYouLeftOff = 419,
432
+ LearnedHowToCreate = 420,
433
+ LeftHand = 421,
434
+ LikelyFailures = 422,
435
+ Limited = 423,
436
+ Magical = 424,
437
+ MagicalItemDamage = 425,
438
+ MapDestroyed = 426,
439
+ MapNearlyDestroyed = 427,
440
+ MapNotOfThisArea = 428,
441
+ MaterialsDestroyed = 429,
442
+ MerchantAlreadyTradedItem = 430,
443
+ MessageOfTheDay = 431,
444
+ Metabolism = 432,
445
+ MetabolismSlowed = 433,
446
+ Milk = 434,
447
+ Mine = 435,
448
+ Mining = 436,
449
+ MissedWith = 437,
450
+ MissedYouWith = 438,
451
+ MoveAllOfSameQualityToFacingContainer = 439,
452
+ MoveAllOfSameQualityToInventory = 440,
453
+ MoveAllOfSameQualityToLastOpenedContainer = 441,
454
+ MoveAllOfSameQualityToOpenedContainer = 442,
455
+ MoveAllToFacingContainer = 443,
456
+ MoveAllToInventory = 444,
457
+ MoveAllToLastOpenedContainer = 445,
458
+ MoveAllToOpenedContainer = 446,
459
+ MovedItem = 447,
460
+ MoveOverTrapButDoNotSetOff = 448,
461
+ MoveToFacingContainer = 449,
462
+ MoveToInventory = 450,
463
+ MoveToLastOpenedContainer = 451,
464
+ MoveToOpenedContainer = 452,
465
+ MultiplayerGamePaused = 453,
466
+ MultiplayerGameResumed = 454,
467
+ MultiplayerPlayerConnected = 455,
468
+ MultiplayerPlayerDied = 456,
469
+ MultiplayerPlayerDisconnected = 457,
470
+ MultiplayerPlayerJoined = 458,
471
+ MultipleQuickslots = 459,
472
+ MustBeEquippedToIgnite = 460,
473
+ Mysteriously = 461,
474
+ Name = 462,
475
+ NearlyBurnedEquipmentProtectedYou = 463,
476
+ NeedFreeHandToShoot = 464,
477
+ NeedToEquipToShoot = 465,
478
+ NeedToStartTravelsOutside = 466,
479
+ NeedWaterForBoat = 467,
480
+ Negatively = 468,
481
+ NightQuarter1 = 469,
482
+ NightQuarter2 = 470,
483
+ NightQuarter3 = 471,
484
+ NightQuarter4 = 472,
485
+ No = 473,
486
+ NoAmmunitionForThatWeapon = 474,
487
+ NoFireToStokeWith = 475,
488
+ NoFishAtLocation = 476,
489
+ NoGroundWater = 477,
490
+ NoInkToDrawMap = 478,
491
+ NoKindlingOrFuelItemsToStartFire = 479,
492
+ NoKindlingToStartFire = 480,
493
+ NoLongerFeelPainOfBeingBurned = 481,
494
+ NoLongerFeelPainOfBeingFrostbitten = 482,
495
+ NoLongerHostile = 483,
496
+ NoMoreRoomInContainer = 484,
497
+ NoPaperToDrawMap = 485,
498
+ NoRequiredItemToFireWeapon = 486,
499
+ NoReturnWithoutCompletingChallenges = 487,
500
+ NoRoomForImprovement = 488,
501
+ NoRoomToDrop = 489,
502
+ North = 490,
503
+ Northeast = 491,
504
+ NorthNortheast = 492,
505
+ NorthNorthwest = 493,
506
+ Northwest = 494,
507
+ NotAvailable = 495,
508
+ NotEnoughPurifiedWaterYet = 496,
509
+ NotEnoughTreasureToReturn = 497,
510
+ NotFacingCreatureToOfferThisTo = 498,
511
+ NotFacingLockedObject = 499,
512
+ NotFacingOtherToHeal = 500,
513
+ NotFacingValidItem = 501,
514
+ NothingHereToButcher = 502,
515
+ NothingHereToFill = 503,
516
+ NothingHereToGrasp = 504,
517
+ NothingToGetFromThis = 505,
518
+ NothingToHarvestFromThisGather = 506,
519
+ NothingToSmother = 507,
520
+ NothingUsefulToHarvestYet = 508,
521
+ NoTinderToStartFire = 509,
522
+ NotSuitableToPlant = 510,
523
+ NoWaterInStill = 511,
524
+ NPCStartingDialog1 = 512,
525
+ NPCStartingDialog2 = 513,
526
+ NPCStartingDialog3 = 514,
527
+ NPCStartingDialog4 = 515,
528
+ NPCWelcome = 516,
529
+ NPCWelcomeCredit = 517,
530
+ NumberEight = 518,
531
+ NumberFive = 519,
532
+ NumberFour = 520,
533
+ NumberNine = 521,
534
+ NumberOne = 522,
535
+ NumberSeven = 523,
536
+ NumberSix = 524,
537
+ NumberTen = 525,
538
+ NumberThree = 526,
539
+ NumberTwo = 527,
540
+ ObjectIsLocked = 528,
541
+ ObjectIsLockedAttemptToBreakIt = 529,
542
+ Offer = 530,
543
+ OfferAberrantFail = 531,
544
+ OfferAberrantFailButTamed = 532,
545
+ OpenCloseContainer = 533,
546
+ OpenCloseDoor = 534,
547
+ OpenDoor = 535,
548
+ OverEatingLostStamina = 536,
549
+ OverHydratingLostStamina = 537,
550
+ Pack = 538,
551
+ PaperTurnedToMush = 539,
552
+ ParryTheBlow = 540,
553
+ PartiallyDecodedMap = 541,
554
+ PenultimateAnd = 542,
555
+ Pet = 543,
556
+ PetCreature = 544,
557
+ PickAway = 545,
558
+ PickupAllItems = 546,
559
+ PickupDoodad = 547,
560
560
  PickupExcrementWithHands = 548,
561
561
  PickupItem = 549,
562
562
  Place = 550,
@@ -8,7 +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 { Milestone } from "game/milestones/IMilestone";
11
+ import type { Milestone } from "game/milestones/IMilestone";
12
12
  import Button from "ui/component/Button";
13
13
  import Component from "ui/component/Component";
14
14
  import { Heading } from "ui/component/Text";
@@ -8,7 +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 { Milestone } from "game/milestones/IMilestone";
11
+ import type { Milestone } from "game/milestones/IMilestone";
12
12
  import { BlockRow } from "ui/component/BlockRow";
13
13
  import Component from "ui/component/Component";
14
14
  import { EnableDisableAllRow } from "ui/component/EnableDisableAllRow";
@@ -15,10 +15,7 @@ export interface IFileSystem {
15
15
  addSafePath(path: string): Promise<void>;
16
16
  appendLogFile(message: string): Promise<void>;
17
17
  closeLogFile(): Promise<void>;
18
- copy(source: string, destination: string, opt: {
19
- dereference?: boolean;
20
- filter?(file: string): boolean;
21
- }): Promise<void>;
18
+ copy(source: string, destination: string, dereference?: boolean, ignoredDirectories?: string[]): Promise<void>;
22
19
  emptyDir(destination: string): Promise<void>;
23
20
  enableSafePaths?(): Promise<void>;
24
21
  mkdir(path: string, opt?: any): Promise<void>;
@@ -27,7 +27,7 @@ export declare class SharedFileSystemIPCHandler implements IFileSystem {
27
27
  setLogsPath(path: string): Promise<void>;
28
28
  appendLogFile(message: string): Promise<void>;
29
29
  closeLogFile(): Promise<void>;
30
- copy(source: string, destination: string, opt: any): Promise<void>;
30
+ copy(source: string, destination: string, dereference?: boolean, ignoredDirectories?: string[]): Promise<void>;
31
31
  emptyDir(destination: string): Promise<void>;
32
32
  stat(path: string): Promise<{
33
33
  atime: Date;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.11.0-beta.dev.20211221.1",
4
+ "version": "2.11.0-beta.dev.20211223.3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",