@wayward/types 2.13.2-beta.dev.20230608.1 → 2.13.2-beta.dev.20230610.2

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.
@@ -134,10 +134,11 @@ export declare enum TileGroup {
134
134
  Seawater = 15,
135
135
  FreshWater = 16,
136
136
  Swamp = 17,
137
- IceCap = 18,
138
- IceCapWithWater = 19,
139
- Void = 20,
140
- DesertWithDirt = 21
137
+ FreshWaterSwampWater = 18,
138
+ IceCap = 19,
139
+ IceCapWithWater = 20,
140
+ Void = 21,
141
+ DesertWithDirt = 22
141
142
  }
142
143
  export interface ICreatureDescription extends IModdable, ITemperatureDescription, ICausesStatusEffect {
143
144
  minhp: number;
@@ -27,6 +27,7 @@ export type IslandId = `${number},${number}`;
27
27
  export declare module IslandPosition {
28
28
  function toId(position: IVector2): IslandId;
29
29
  function fromId(id: IslandId): IVector2 | undefined;
30
+ function isTransient(id: IslandId): boolean;
30
31
  function calculateBaseSeed(x: number, y: number, initialSeed: number): number;
31
32
  }
32
33
  export interface IIslandEvents {
@@ -75,15 +75,25 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
75
75
  readonly tileEvents: TileEventManager;
76
76
  readonly time: TimeManager;
77
77
  readonly world: World;
78
- saveBuildTime?: number;
78
+ /**
79
+ * The version this island was originally made on
80
+ */
81
+ version: Version.String;
82
+ /**
83
+ * The version the mapgen for this island uses
84
+ */
85
+ mapGenVersion: Version.String;
86
+ /**
87
+ * The version this island was last loaded on
88
+ */
79
89
  saveVersion: Version.String;
90
+ saveBuildTime: number;
80
91
  biomeType: BiomeTypes;
81
92
  civilizationScore: number;
82
93
  civilizationScoreTiles: Record<number, number>;
83
94
  contaminatedWater: IWaterContamination[];
84
95
  creatureSpawnTimer: number;
85
96
  loadCount: number;
86
- mapGenVersion: Version.String;
87
97
  name?: string;
88
98
  position: IVector2;
89
99
  readonly mapSize: number;
@@ -92,7 +102,6 @@ export default class Island extends EventEmitter.Host<IIslandEvents> implements
92
102
  referenceId?: number;
93
103
  templateBiomeOptions: ITemplateBiomeOptions | undefined;
94
104
  tileContainers: ITileContainer[];
95
- version: Version.String;
96
105
  tileData: SaferNumberIndexedObject<SaferNumberIndexedObject<SaferNumberIndexedObject<ITileData[]>>>;
97
106
  readonly seeds: ISeeds;
98
107
  readonly seededRandom: Random<LegacySeededGenerator | PCGSeededGenerator>;
@@ -13,7 +13,7 @@ export type CanvasImage = HTMLImageElement | HTMLCanvasElement | ImageBitmap;
13
13
  export default class MapBackground {
14
14
  private readonly seed?;
15
15
  private readonly canvas;
16
- constructor(radius: number, seed?: Uint16Array | undefined);
16
+ constructor(radius: number, seed?: number | Uint16Array | undefined);
17
17
  render(mapImage: CanvasImage, theme: DrawnMapTheme): Promise<HTMLCanvasElement>;
18
18
  private lastTheme?;
19
19
  private renderBackground;
@@ -23,6 +23,8 @@ import type { IPreSerializeCallback, IUnserializedCallback } from "save/serializ
23
23
  import type { IVector2, IVector3 } from "utilities/math/IVector";
24
24
  import { IRange } from "utilities/math/Range";
25
25
  import Sampler from "utilities/math/Sampler";
26
+ import { LegacySeededGenerator } from "utilities/random/generators/LegacySeededGenerator";
27
+ import { PCGSeededGenerator } from "utilities/random/generators/PCGSeededGenerator";
26
28
  import type { Random } from "utilities/random/Random";
27
29
  export declare enum DrawnMapType {
28
30
  Treasure = 0,
@@ -103,7 +105,7 @@ export default class DrawnMap extends EventEmitter.Host<IDrawnMapEvents> impleme
103
105
  */
104
106
  static initializeIslandTreasureMaps(island: Island, generationSettings: ITreasureMapGenerationSettings, mapGenOutput: IMapGenGenerateOutput): void;
105
107
  static initializeIslandTreasureMapsDifferences(island: Island): void;
106
- static plotRegion(island: Island, x: number, y: number, z: number, random?: Random, map?: DrawnMap, radius?: number): DrawnMap;
108
+ static plotRegion(island: Island, x: number, y: number, z: number, random?: Random<PCGSeededGenerator | LegacySeededGenerator>, map?: DrawnMap, radius?: number): DrawnMap;
107
109
  private static plotTreasure;
108
110
  private static findValidTreasureLocation;
109
111
  private static getMapTile;
@@ -13,7 +13,7 @@ import type { DrawnMapTheme } from "game/mapping/IMapRender";
13
13
  export default class Obfuscation {
14
14
  private readonly seed?;
15
15
  private readonly canvas;
16
- constructor(radius: number, seed?: Uint16Array | undefined);
16
+ constructor(radius: number, seed?: number | Uint16Array | undefined);
17
17
  obfuscate(mapImage: CanvasImage, obfuscation: number, theme: DrawnMapTheme): Promise<HTMLCanvasElement>;
18
18
  private render;
19
19
  }
@@ -296,508 +296,509 @@ declare enum Message {
296
296
  DueToDehydration = 284,
297
297
  DueToStarvation = 285,
298
298
  DugTreasureOut = 286,
299
- DumpContentsOfContainerInInventory = 287,
300
- DyingOfDehydration = 288,
301
- EarnedMilestone = 289,
302
- Effective = 290,
303
- Enchant = 291,
304
- EquipmentPreventedStatusEffects = 292,
305
- ErrorHasOccured = 293,
306
- ExtinguishedFire = 294,
307
- ExtinguishedLightSource = 295,
308
- Exude = 296,
309
- ExudeNotPossible = 297,
310
- FailedToAbsorb = 298,
311
- FailedToAddFuelToTorch = 299,
312
- FailedToCatchFish = 300,
313
- FailedToCauseDamage = 301,
314
- FailedToCauseYouDamage = 302,
315
- FailedToCopy = 303,
316
- FailedToDraw = 304,
317
- FailedToEnchant = 305,
318
- FailedToExude = 306,
319
- FailedToIgniteTorch = 307,
320
- FailedToPickLock = 308,
321
- FailedToPreserve = 309,
322
- FailedToRefine = 310,
323
- FailedToReinforce = 311,
324
- FailedToRepair = 312,
325
- FailedToStartFire = 313,
326
- FailedToTame = 314,
327
- FailedToTransmogrify = 315,
328
- FarOffLands = 316,
329
- FeltBurningPainLostHealth = 317,
330
- FeltFrostbitePainLostHealth = 318,
331
- FewMinutes = 319,
332
- Filled = 320,
333
- FilledFrom = 321,
334
- FireAroundYouIsWarm = 322,
335
- FiredIntoObstacle = 323,
336
- FireOverflowed = 324,
337
- FireOverflowedFireElemental = 325,
338
- FireSource = 326,
339
- FishingWithNoBait = 327,
340
- Floating = 328,
341
- FreshWater = 329,
342
- FromTheStill = 330,
343
- Fuel = 331,
344
- FuelIsRequired = 332,
345
- Gather = 333,
346
- GatherDestroy = 334,
347
- Gathering = 335,
348
- GhostNoActions = 336,
349
- GhostOf = 337,
350
- GoatHasNoMilk = 338,
351
- GrabAll = 339,
352
- HackAway = 340,
353
- HandProtectionPreventedInjury = 341,
354
- HandsNotEffectiveFor = 342,
355
- Harvest = 343,
356
- Harvesting = 344,
357
- HasBeenHurtByATrap = 345,
358
- HasDecayed = 346,
359
- HasHitYouForDamage = 347,
360
- HasNoEffect = 348,
361
- HasSetTrapOffNoDamage = 349,
362
- HasSplit = 350,
363
- Help = 351,
364
- HelpGrow = 352,
365
- Hitch = 353,
366
- HitchAttempt = 354,
367
- HitchCreature = 355,
368
- HitchDisabled = 356,
369
- HitchInUse = 357,
370
- HitForDamage = 358,
371
- HitYouForDamage = 359,
372
- Hour = 360,
373
- Hours = 361,
374
- HurtHandsHittingWithoutWeapons = 362,
375
- HurtHandsWithNoTool = 363,
376
- Ignite = 364,
377
- IgnitedTorch = 365,
378
- Ineffective = 366,
379
- InjuredFromTrap = 367,
380
- InNeedOfRepair = 368,
381
- InteractingWithHasInjuredYouForDamage = 369,
382
- Inventory = 370,
383
- IsInTheWayOfPickingUp = 371,
384
- It = 372,
385
- ItemFromWater = 373,
386
- JoinedAServer = 374,
387
- Jump = 375,
388
- Killed = 376,
389
- KnowledgeHasIncreased = 377,
390
- LastPlaceYouLeftOff = 378,
391
- LearnedHowToCreate = 379,
392
- LikelyFailures = 380,
393
- Limited = 381,
394
- Lockpick = 382,
395
- MapCompletedNotOfThisArea = 383,
396
- MapDestroyed = 384,
397
- MapNearlyDestroyed = 385,
398
- MapNotOfThisArea = 386,
399
- MaterialsDestroyed = 387,
400
- MerchantAlreadyTradedItem = 388,
401
- MessageOfTheDay = 389,
402
- Metabolism = 390,
403
- MetabolismSlowed = 391,
404
- Milk = 392,
405
- Mine = 393,
406
- Mining = 394,
407
- MissedWith = 395,
408
- MissedYouWith = 396,
409
- MovedItem = 397,
410
- MovedItemFailed = 398,
411
- MoveOverTrapButDoNotSetOff = 399,
412
- MultiplayerGamePaused = 400,
413
- MultiplayerGameResumed = 401,
414
- MultiplayerPlayerConnected = 402,
415
- MultiplayerPlayerDied = 403,
416
- MultiplayerPlayerDisconnected = 404,
417
- MultiplayerPlayerJoined = 405,
418
- MustBeEquippedToIgnite = 406,
419
- Mysteriously = 407,
420
- NearlyBurnedEquipmentProtectedYou = 408,
421
- NeedToStartTravelsOutside = 409,
422
- NeedWaterForBoat = 410,
423
- Negatively = 411,
424
- NightQuarter1 = 412,
425
- NightQuarter2 = 413,
426
- NightQuarter3 = 414,
427
- NightQuarter4 = 415,
428
- No = 416,
429
- NoAmmunitionForThatWeapon = 417,
430
- NoFireToStokeWith = 418,
431
- NoFishAtLocation = 419,
432
- NoGroundWater = 420,
433
- NoInkToDrawMap = 421,
434
- NoKindlingOrFuelItemsToStartFire = 422,
435
- NoKindlingToStartFire = 423,
436
- NoLongerFeelPainOfBeingBurned = 424,
437
- NoLongerFeelPainOfBeingFrostbitten = 425,
438
- NoLongerHostile = 426,
439
- NoMoreRoomInContainer = 427,
440
- NoPaperToDrawMap = 428,
441
- NoRequiredItemToFireWeapon = 429,
442
- NoReturnWithoutCompletingChallenges = 430,
443
- NoRoomForImprovement = 431,
444
- NoRoomToDrop = 432,
445
- NoRoomToSummon = 433,
446
- NotEnoughPurifiedWaterYet = 434,
447
- NotEnoughTreasureToReturn = 435,
448
- NotFacingCreatureToOfferThisTo = 436,
449
- NotFacingLockedObject = 437,
450
- NotFacingOtherToHeal = 438,
451
- NotFacingValidItem = 439,
452
- NothingHereToButcher = 440,
453
- NothingHereToFill = 441,
454
- NothingHereToGrasp = 442,
455
- NothingTo = 443,
456
- NothingToGetFromThis = 444,
457
- NothingToHarvestFromThisGather = 445,
458
- NothingToSmother = 446,
459
- NothingUsefulToHarvestYet = 447,
460
- NoTinderToStartFire = 448,
461
- NotSuitableToPlant = 449,
462
- NoWaterInStill = 450,
463
- NPCMerchantNewInventoryDialog1 = 451,
464
- NPCMerchantNewInventoryDialog2 = 452,
465
- NPCMerchantNewInventoryDialog3 = 453,
466
- NPCMerchantNewInventoryDialog4 = 454,
467
- NPCMerchantStartingDialog1 = 455,
468
- NPCMerchantStartingDialog2 = 456,
469
- NPCMerchantStartingDialog3 = 457,
470
- NPCMerchantStartingDialog4 = 458,
471
- NPCMerchantWelcomeCredit = 459,
472
- NPCShipperShipToIsland = 460,
473
- NPCShipperStartingDialog1 = 461,
474
- NPCShipperStartingDialog2 = 462,
475
- NPCShipperStartingDialog3 = 463,
476
- NPCShipperStartingDialog4 = 464,
477
- NPCWelcome = 465,
478
- ObjectIsLocked = 466,
479
- ObjectIsLockedAttemptToBreakIt = 467,
480
- OfferAberrantFail = 468,
481
- OfferAberrantFailButTamed = 469,
482
- Open = 470,
483
- OpenClose = 471,
484
- OverEatingLostStamina = 472,
485
- OverHydratingLostStamina = 473,
486
- Pack = 474,
487
- PaperTurnedToMush = 475,
488
- ParryTheBlow = 476,
489
- Pet = 477,
490
- PetCreature = 478,
491
- PickAway = 479,
492
- PickUp = 480,
493
- PickUpExcrement = 481,
494
- PickUpTheItem = 482,
495
- Place = 483,
496
- PlacedOnGround = 484,
497
- Plant = 485,
498
- PlantedInGround = 486,
499
- PlantGatheredPlant = 487,
500
- PlantGatheringWillDestroy = 488,
501
- PlantHasResourcesToGather = 489,
502
- PlantHasResourcesToHarvest = 490,
503
- PlantHighlyFertile = 491,
504
- Planting = 492,
505
- PlantIsBare = 493,
506
- PlantIsFertile = 494,
507
- PlantIsInStage = 495,
508
- PlantIsNotFertile = 496,
509
- PlantNotReadyToHarvest = 497,
510
- PlantReadyToGather = 498,
511
- PlantReadyToGatherNotMaximal = 499,
512
- PlantReadyToHarvest = 500,
513
- PlantReadyToHarvestNotMaximal = 501,
514
- Player = 502,
515
- PlayerHas = 503,
516
- PlayerHasCompletedChallengeRequirement = 504,
517
- PlayerHasWonChallenge = 505,
518
- Poisoned = 506,
519
- PoisonedLostHealth = 507,
520
- PoisonWorkedItsCourse = 508,
521
- Positively = 509,
522
- PouredOut = 510,
523
- PouredOutOnYourself = 511,
524
- PouredWaterIntoStill = 512,
525
- PourHarmedPlant = 513,
526
- PourHealedPlant = 514,
527
- PourHealedPlantFully = 515,
528
- PourHealedPlantPartially = 516,
529
- PourIncreasedFertility = 517,
530
- Pouring = 518,
531
- Prepare = 519,
532
- Prepared = 520,
533
- Preserve = 521,
534
- PreservedFood = 522,
535
- PurifiedWaterInStill = 523,
536
- RandomEventsFire = 524,
537
- ReduceLength = 525,
538
- Refine = 526,
539
- RefusedToBeTamed = 527,
540
- Reinforce = 528,
541
- Repair = 529,
542
- ReputationDecreased = 530,
543
- ReputationIncreased = 531,
544
- ReputationUpdate = 532,
545
- RequiredForDisassembly = 533,
546
- RequiresFireToBeLit = 534,
547
- RequiresYouFacingFireSource = 535,
548
- RequiresYouToBeAround = 536,
549
- Resistant = 537,
550
- Rest = 538,
551
- Rested = 539,
552
- Resting = 540,
553
- RestingOnGroundNotEffective = 541,
554
- RestInterrupted = 542,
555
- RestInterruptedDamage = 543,
556
- RestInterruptedDying = 544,
557
- RestInterruptedLoudNoise = 545,
558
- RestInterruptedPain = 546,
559
- RestInterruptedStirring = 547,
560
- RestInterruptedWaterPoured = 548,
561
- RestLongTime = 549,
562
- RestModerateTime = 550,
563
- RestOnBoat = 551,
564
- RestShortTime = 552,
565
- RestTime = 553,
566
- ReturnedToCivilization = 554,
567
- ReturningToCivilizationSetOffAgain = 555,
568
- ReturnsToLife = 556,
569
- Reverse = 557,
570
- Sailing = 558,
571
- ScrollMaster = 559,
572
- ScrollProvidedNoUsefulInsight = 560,
573
- Seawater = 561,
574
- SeemsToHaveDrawnEnergy = 562,
575
- SetTrapOffButNoDamage = 563,
576
- SetUp = 564,
577
- ShadowInTheWater = 565,
578
- Skill = 566,
579
- SkillHasRaised = 567,
580
- Skills = 568,
581
- Sleep = 569,
582
- Sleeping = 570,
583
- SleepOnBoat = 571,
584
- Slept = 572,
585
- SlitherSuckerConstricts = 573,
586
- SlitherSuckerJumpedOnHead = 574,
587
- SolarStill = 575,
588
- SomethingInTheWayOf = 576,
589
- SomethingInTheWayOfButcherFirst = 577,
590
- SomethingInTheWayOfFire = 578,
591
- SomethingInTheWayOfFishing = 579,
592
- SomethingInTheWayOfPerforming = 580,
593
- SomethingInTheWayOfPlacing = 581,
594
- SomethingInTheWayOfReleasing = 582,
595
- SomethingInTheWayOfSummoning = 583,
596
- SomethingInWayOfClosingDoor = 584,
597
- SoothedTheirBurnInjuries = 585,
598
- SoothedYourBurnInjuries = 586,
599
- Sort = 587,
600
- SortedByBestCraftingRequirements = 588,
601
- SortedByCategory = 589,
602
- SortedByCraftableOnly = 590,
603
- SortedByDecay = 591,
604
- SortedByDurability = 592,
605
- SortedByGroup = 593,
606
- SortedByMagical = 594,
607
- SortedByName = 595,
608
- SortedByQuality = 596,
609
- SortedByRecent = 597,
610
- SortedBySkill = 598,
611
- SortedByUnlockedTime = 599,
612
- SortedByWeight = 600,
613
- SortedByWorth = 601,
614
- StaminaIsFull = 602,
615
- StartedFire = 603,
616
- StartTravelInWater = 604,
617
- StarvingToDeath = 605,
618
- StatAmount = 606,
619
- StatGained = 607,
620
- StatIncreasing = 608,
621
- StatLost = 609,
622
- StatQuenched = 610,
623
- StatRegained = 611,
624
- StatSated = 612,
625
- SteppingOn = 613,
626
- Still = 614,
627
- StillHasNoWaterToPurify = 615,
628
- StirredUpClawWorm = 616,
629
- StirredUpCreature = 617,
630
- StoppedYourBleeding = 618,
631
- StopUsingVehicle = 619,
632
- Strength = 620,
633
- SummonedGuardiansByDiggingTreasure = 621,
634
- SummonedGuardiansByLockpicking = 622,
635
- SummonVoidDwellerItem = 623,
636
- SummonVoidDwellerRinging = 624,
637
- SummonVoidDwellerShiver = 625,
638
- SunNotBrightEnoughToStartFire = 626,
639
- SwampWater = 627,
640
- Swimming = 628,
641
- TakenFromGroundBecomeTamed = 629,
642
- TeleportBlocked = 630,
643
- Teleported = 631,
644
- ThanksBuying = 632,
645
- ThanksSelling = 633,
646
- TheirFist = 634,
647
- ThePlant = 635,
648
- ThereIsNoContainerOnTheStill = 636,
649
- ThereIsNoSunToStartFire = 637,
650
- ThisCannotBeMilked = 638,
651
- Throw = 639,
652
- ThrownIntoDepths = 640,
653
- ThrownIntoObstacle = 641,
654
- ThrownIntoVoid = 642,
655
- Tier = 643,
656
- TierGroup = 644,
657
- Till = 645,
658
- Tilling = 646,
659
- TimeIs = 647,
660
- TimeIsDawn = 648,
661
- TimeIsDaytime = 649,
662
- TimeIsDusk = 650,
663
- TimeIsNighttime = 651,
664
- TimeIsSunrise = 652,
665
- TimeIsSunset = 653,
666
- ToFight = 654,
667
- TooDamaged = 655,
668
- TooExhaustedToJump = 656,
669
- Touching = 657,
670
- TrampledFire = 658,
671
- TrampledIntoGround = 659,
672
- TrampleIntoGround = 660,
673
- Trampling = 661,
674
- TransmogrificationNotPossible = 662,
675
- Transmogrified = 663,
676
- Transmogrify = 664,
677
- TrapMissed = 665,
678
- TrapStoppedYou = 666,
679
- Traveling = 667,
680
- TreasureIsBlocked = 668,
681
- UiActionCannotUseRequiresCreature = 669,
682
- UiActionCannotUseRequiresDoodad = 670,
683
- UiActionCannotUseRequiresItem = 671,
684
- Unhitch = 672,
685
- UnhitchCreature = 673,
686
- Unknown = 674,
687
- Unlimited = 675,
688
- UnlockedChest = 676,
689
- UnpurifiedFreshWater = 677,
690
- UnpurifiedWaterInStill = 678,
691
- Use = 679,
692
- UsingBareHands = 680,
693
- VehicleDefense = 681,
694
- Vulnerable = 682,
695
- Water = 683,
696
- WaterGathering = 684,
697
- WaterPutOutFire = 685,
698
- WellIsDry = 686,
699
- WellIsFull = 687,
700
- WildGoatRefusedToBeMilked = 688,
701
- WillNotTrade = 689,
702
- WorkingYourselfIntoExhaustion = 690,
703
- WorkingYourselfIntoExhaustionAndDrowning = 691,
704
- You = 692,
705
- YouAbsorb = 693,
706
- YouApplied = 694,
707
- YouAreAlready = 695,
708
- YouAte = 696,
709
- YouBeginResting = 697,
710
- YouCannotDoThatYet = 698,
711
- YouCanNowCombatTheTides = 699,
712
- YouCrafted = 700,
713
- YouDoNotFindTreasureYet = 701,
714
- YouDrank = 702,
715
- YouDropTheTorch = 703,
716
- YouEnchant = 704,
717
- YouEquip = 705,
718
- YouExude = 706,
719
- YouExudeSome = 707,
720
- YouExudeSomeReasonConflicting = 708,
721
- YouExudeSomeReasonMax = 709,
722
- YouExudeSomeReasonProperties = 710,
723
- YouFailedTo = 711,
724
- YouFailedToExtinguishedFireFully = 712,
725
- YouFailedToHeal = 713,
726
- YouFailedToHealOther = 714,
727
- YouFire = 715,
728
- YouGathered = 716,
729
- YouGatheredAndDropped = 717,
730
- YouHarvested = 718,
731
- YouHarvestedAndDropped = 719,
732
- YouHave = 720,
733
- YouHaveAlreadyLearned = 721,
734
- YouHaveBeenCut = 722,
735
- YouHaveCaged = 723,
736
- YouHaveCommanded = 724,
737
- YouHaveDied = 725,
738
- YouHaveHealedOther = 726,
739
- YouHaveKilled = 727,
740
- YouHaveReleased = 728,
741
- YouHaveSummoned = 729,
742
- YouHaveTamed = 730,
743
- YouHaveUncaged = 731,
744
- YouNeedMoreCredit = 732,
745
- YouNoticeBarren = 733,
746
- YouNoticeBecomeEnraged = 734,
747
- YouNoticeDying = 735,
748
- YouNoticeFertilityDecreasing = 736,
749
- YouNoticeFertilityIncreasing = 737,
750
- YouNoticeGrowing = 738,
751
- YouNoticeLavaCooling = 739,
752
- YouNoticeLavaHardening = 740,
753
- YouNoticePerish = 741,
754
- YouNoticePlantDamage = 742,
755
- YouNoticePlantRegenerated = 743,
756
- YouNoticeRegrowing = 744,
757
- YouNoticeStumbleInjureItself = 745,
758
- YouNoticeTakeFromGround = 746,
759
- YouNoticeWoundsClosing = 747,
760
- YouNoticeZombieHorde = 748,
761
- YouOfferedToCreature = 749,
762
- YouOfferedToCreatureRejects = 750,
763
- YouOpen = 751,
764
- YouPacked = 752,
765
- YouPickedUp = 753,
766
- YouRefine = 754,
767
- YouReinforce = 755,
768
- YouRepair = 756,
769
- YouReturnFromCivilizationWith = 757,
770
- YourFist = 758,
771
- YourHands = 759,
772
- YourInventory = 760,
773
- YourIsland = 761,
774
- YourRubbingNoEffect = 762,
775
- YouRub = 763,
776
- YouSee = 764,
777
- YouSeeALivingMushroomSpore = 765,
778
- YouSeeASkeletonCollapse = 766,
779
- YouSeeASlimeCombine = 767,
780
- YouSeeAZombieBleeding = 768,
781
- YouSeeCoolDown = 769,
782
- YouSeeDrop = 770,
783
- YouSeeEngulfFire = 771,
784
- YouSeeFireSpread = 772,
785
- YouSeeHelpingPlant = 773,
786
- YouSeeLay = 774,
787
- YouSeeLayingTrap = 775,
788
- YouSeeSpewLava = 776,
789
- YouSeeSpitAcid = 777,
790
- YouSeeSpringForth = 778,
791
- YouSeeSummon = 779,
792
- YouSeeSwampFlood = 780,
793
- YouSeeTrampling = 781,
794
- YouSetTheTrapOff = 782,
795
- YouStokeTheCreature = 783,
796
- YouSwapMainHandAndOffHand = 784,
797
- YouThrew = 785,
798
- YouTilled = 786,
799
- YouUnequip = 787,
800
- YouUsed = 788,
801
- YouWhileTraveling = 789
299
+ DugTreasureOutSurprise = 287,
300
+ DumpContentsOfContainerInInventory = 288,
301
+ DyingOfDehydration = 289,
302
+ EarnedMilestone = 290,
303
+ Effective = 291,
304
+ Enchant = 292,
305
+ EquipmentPreventedStatusEffects = 293,
306
+ ErrorHasOccured = 294,
307
+ ExtinguishedFire = 295,
308
+ ExtinguishedLightSource = 296,
309
+ Exude = 297,
310
+ ExudeNotPossible = 298,
311
+ FailedToAbsorb = 299,
312
+ FailedToAddFuelToTorch = 300,
313
+ FailedToCatchFish = 301,
314
+ FailedToCauseDamage = 302,
315
+ FailedToCauseYouDamage = 303,
316
+ FailedToCopy = 304,
317
+ FailedToDraw = 305,
318
+ FailedToEnchant = 306,
319
+ FailedToExude = 307,
320
+ FailedToIgniteTorch = 308,
321
+ FailedToPickLock = 309,
322
+ FailedToPreserve = 310,
323
+ FailedToRefine = 311,
324
+ FailedToReinforce = 312,
325
+ FailedToRepair = 313,
326
+ FailedToStartFire = 314,
327
+ FailedToTame = 315,
328
+ FailedToTransmogrify = 316,
329
+ FarOffLands = 317,
330
+ FeltBurningPainLostHealth = 318,
331
+ FeltFrostbitePainLostHealth = 319,
332
+ FewMinutes = 320,
333
+ Filled = 321,
334
+ FilledFrom = 322,
335
+ FireAroundYouIsWarm = 323,
336
+ FiredIntoObstacle = 324,
337
+ FireOverflowed = 325,
338
+ FireOverflowedFireElemental = 326,
339
+ FireSource = 327,
340
+ FishingWithNoBait = 328,
341
+ Floating = 329,
342
+ FreshWater = 330,
343
+ FromTheStill = 331,
344
+ Fuel = 332,
345
+ FuelIsRequired = 333,
346
+ Gather = 334,
347
+ GatherDestroy = 335,
348
+ Gathering = 336,
349
+ GhostNoActions = 337,
350
+ GhostOf = 338,
351
+ GoatHasNoMilk = 339,
352
+ GrabAll = 340,
353
+ HackAway = 341,
354
+ HandProtectionPreventedInjury = 342,
355
+ HandsNotEffectiveFor = 343,
356
+ Harvest = 344,
357
+ Harvesting = 345,
358
+ HasBeenHurtByATrap = 346,
359
+ HasDecayed = 347,
360
+ HasHitYouForDamage = 348,
361
+ HasNoEffect = 349,
362
+ HasSetTrapOffNoDamage = 350,
363
+ HasSplit = 351,
364
+ Help = 352,
365
+ HelpGrow = 353,
366
+ Hitch = 354,
367
+ HitchAttempt = 355,
368
+ HitchCreature = 356,
369
+ HitchDisabled = 357,
370
+ HitchInUse = 358,
371
+ HitForDamage = 359,
372
+ HitYouForDamage = 360,
373
+ Hour = 361,
374
+ Hours = 362,
375
+ HurtHandsHittingWithoutWeapons = 363,
376
+ HurtHandsWithNoTool = 364,
377
+ Ignite = 365,
378
+ IgnitedTorch = 366,
379
+ Ineffective = 367,
380
+ InjuredFromTrap = 368,
381
+ InNeedOfRepair = 369,
382
+ InteractingWithHasInjuredYouForDamage = 370,
383
+ Inventory = 371,
384
+ IsInTheWayOfPickingUp = 372,
385
+ It = 373,
386
+ ItemFromWater = 374,
387
+ JoinedAServer = 375,
388
+ Jump = 376,
389
+ Killed = 377,
390
+ KnowledgeHasIncreased = 378,
391
+ LastPlaceYouLeftOff = 379,
392
+ LearnedHowToCreate = 380,
393
+ LikelyFailures = 381,
394
+ Limited = 382,
395
+ Lockpick = 383,
396
+ MapCompletedNotOfThisArea = 384,
397
+ MapDestroyed = 385,
398
+ MapNearlyDestroyed = 386,
399
+ MapNotOfThisArea = 387,
400
+ MaterialsDestroyed = 388,
401
+ MerchantAlreadyTradedItem = 389,
402
+ MessageOfTheDay = 390,
403
+ Metabolism = 391,
404
+ MetabolismSlowed = 392,
405
+ Milk = 393,
406
+ Mine = 394,
407
+ Mining = 395,
408
+ MissedWith = 396,
409
+ MissedYouWith = 397,
410
+ MovedItem = 398,
411
+ MovedItemFailed = 399,
412
+ MoveOverTrapButDoNotSetOff = 400,
413
+ MultiplayerGamePaused = 401,
414
+ MultiplayerGameResumed = 402,
415
+ MultiplayerPlayerConnected = 403,
416
+ MultiplayerPlayerDied = 404,
417
+ MultiplayerPlayerDisconnected = 405,
418
+ MultiplayerPlayerJoined = 406,
419
+ MustBeEquippedToIgnite = 407,
420
+ Mysteriously = 408,
421
+ NearlyBurnedEquipmentProtectedYou = 409,
422
+ NeedToStartTravelsOutside = 410,
423
+ NeedWaterForBoat = 411,
424
+ Negatively = 412,
425
+ NightQuarter1 = 413,
426
+ NightQuarter2 = 414,
427
+ NightQuarter3 = 415,
428
+ NightQuarter4 = 416,
429
+ No = 417,
430
+ NoAmmunitionForThatWeapon = 418,
431
+ NoFireToStokeWith = 419,
432
+ NoFishAtLocation = 420,
433
+ NoGroundWater = 421,
434
+ NoInkToDrawMap = 422,
435
+ NoKindlingOrFuelItemsToStartFire = 423,
436
+ NoKindlingToStartFire = 424,
437
+ NoLongerFeelPainOfBeingBurned = 425,
438
+ NoLongerFeelPainOfBeingFrostbitten = 426,
439
+ NoLongerHostile = 427,
440
+ NoMoreRoomInContainer = 428,
441
+ NoPaperToDrawMap = 429,
442
+ NoRequiredItemToFireWeapon = 430,
443
+ NoReturnWithoutCompletingChallenges = 431,
444
+ NoRoomForImprovement = 432,
445
+ NoRoomToDrop = 433,
446
+ NoRoomToSummon = 434,
447
+ NotEnoughPurifiedWaterYet = 435,
448
+ NotEnoughTreasureToReturn = 436,
449
+ NotFacingCreatureToOfferThisTo = 437,
450
+ NotFacingLockedObject = 438,
451
+ NotFacingOtherToHeal = 439,
452
+ NotFacingValidItem = 440,
453
+ NothingHereToButcher = 441,
454
+ NothingHereToFill = 442,
455
+ NothingHereToGrasp = 443,
456
+ NothingTo = 444,
457
+ NothingToGetFromThis = 445,
458
+ NothingToHarvestFromThisGather = 446,
459
+ NothingToSmother = 447,
460
+ NothingUsefulToHarvestYet = 448,
461
+ NoTinderToStartFire = 449,
462
+ NotSuitableToPlant = 450,
463
+ NoWaterInStill = 451,
464
+ NPCMerchantNewInventoryDialog1 = 452,
465
+ NPCMerchantNewInventoryDialog2 = 453,
466
+ NPCMerchantNewInventoryDialog3 = 454,
467
+ NPCMerchantNewInventoryDialog4 = 455,
468
+ NPCMerchantStartingDialog1 = 456,
469
+ NPCMerchantStartingDialog2 = 457,
470
+ NPCMerchantStartingDialog3 = 458,
471
+ NPCMerchantStartingDialog4 = 459,
472
+ NPCMerchantWelcomeCredit = 460,
473
+ NPCShipperShipToIsland = 461,
474
+ NPCShipperStartingDialog1 = 462,
475
+ NPCShipperStartingDialog2 = 463,
476
+ NPCShipperStartingDialog3 = 464,
477
+ NPCShipperStartingDialog4 = 465,
478
+ NPCWelcome = 466,
479
+ ObjectIsLocked = 467,
480
+ ObjectIsLockedAttemptToBreakIt = 468,
481
+ OfferAberrantFail = 469,
482
+ OfferAberrantFailButTamed = 470,
483
+ Open = 471,
484
+ OpenClose = 472,
485
+ OverEatingLostStamina = 473,
486
+ OverHydratingLostStamina = 474,
487
+ Pack = 475,
488
+ PaperTurnedToMush = 476,
489
+ ParryTheBlow = 477,
490
+ Pet = 478,
491
+ PetCreature = 479,
492
+ PickAway = 480,
493
+ PickUp = 481,
494
+ PickUpExcrement = 482,
495
+ PickUpTheItem = 483,
496
+ Place = 484,
497
+ PlacedOnGround = 485,
498
+ Plant = 486,
499
+ PlantedInGround = 487,
500
+ PlantGatheredPlant = 488,
501
+ PlantGatheringWillDestroy = 489,
502
+ PlantHasResourcesToGather = 490,
503
+ PlantHasResourcesToHarvest = 491,
504
+ PlantHighlyFertile = 492,
505
+ Planting = 493,
506
+ PlantIsBare = 494,
507
+ PlantIsFertile = 495,
508
+ PlantIsInStage = 496,
509
+ PlantIsNotFertile = 497,
510
+ PlantNotReadyToHarvest = 498,
511
+ PlantReadyToGather = 499,
512
+ PlantReadyToGatherNotMaximal = 500,
513
+ PlantReadyToHarvest = 501,
514
+ PlantReadyToHarvestNotMaximal = 502,
515
+ Player = 503,
516
+ PlayerHas = 504,
517
+ PlayerHasCompletedChallengeRequirement = 505,
518
+ PlayerHasWonChallenge = 506,
519
+ Poisoned = 507,
520
+ PoisonedLostHealth = 508,
521
+ PoisonWorkedItsCourse = 509,
522
+ Positively = 510,
523
+ PouredOut = 511,
524
+ PouredOutOnYourself = 512,
525
+ PouredWaterIntoStill = 513,
526
+ PourHarmedPlant = 514,
527
+ PourHealedPlant = 515,
528
+ PourHealedPlantFully = 516,
529
+ PourHealedPlantPartially = 517,
530
+ PourIncreasedFertility = 518,
531
+ Pouring = 519,
532
+ Prepare = 520,
533
+ Prepared = 521,
534
+ Preserve = 522,
535
+ PreservedFood = 523,
536
+ PurifiedWaterInStill = 524,
537
+ RandomEventsFire = 525,
538
+ ReduceLength = 526,
539
+ Refine = 527,
540
+ RefusedToBeTamed = 528,
541
+ Reinforce = 529,
542
+ Repair = 530,
543
+ ReputationDecreased = 531,
544
+ ReputationIncreased = 532,
545
+ ReputationUpdate = 533,
546
+ RequiredForDisassembly = 534,
547
+ RequiresFireToBeLit = 535,
548
+ RequiresYouFacingFireSource = 536,
549
+ RequiresYouToBeAround = 537,
550
+ Resistant = 538,
551
+ Rest = 539,
552
+ Rested = 540,
553
+ Resting = 541,
554
+ RestingOnGroundNotEffective = 542,
555
+ RestInterrupted = 543,
556
+ RestInterruptedDamage = 544,
557
+ RestInterruptedDying = 545,
558
+ RestInterruptedLoudNoise = 546,
559
+ RestInterruptedPain = 547,
560
+ RestInterruptedStirring = 548,
561
+ RestInterruptedWaterPoured = 549,
562
+ RestLongTime = 550,
563
+ RestModerateTime = 551,
564
+ RestOnBoat = 552,
565
+ RestShortTime = 553,
566
+ RestTime = 554,
567
+ ReturnedToCivilization = 555,
568
+ ReturningToCivilizationSetOffAgain = 556,
569
+ ReturnsToLife = 557,
570
+ Reverse = 558,
571
+ Sailing = 559,
572
+ ScrollMaster = 560,
573
+ ScrollProvidedNoUsefulInsight = 561,
574
+ Seawater = 562,
575
+ SeemsToHaveDrawnEnergy = 563,
576
+ SetTrapOffButNoDamage = 564,
577
+ SetUp = 565,
578
+ ShadowInTheWater = 566,
579
+ Skill = 567,
580
+ SkillHasRaised = 568,
581
+ Skills = 569,
582
+ Sleep = 570,
583
+ Sleeping = 571,
584
+ SleepOnBoat = 572,
585
+ Slept = 573,
586
+ SlitherSuckerConstricts = 574,
587
+ SlitherSuckerJumpedOnHead = 575,
588
+ SolarStill = 576,
589
+ SomethingInTheWayOf = 577,
590
+ SomethingInTheWayOfButcherFirst = 578,
591
+ SomethingInTheWayOfFire = 579,
592
+ SomethingInTheWayOfFishing = 580,
593
+ SomethingInTheWayOfPerforming = 581,
594
+ SomethingInTheWayOfPlacing = 582,
595
+ SomethingInTheWayOfReleasing = 583,
596
+ SomethingInTheWayOfSummoning = 584,
597
+ SomethingInWayOfClosingDoor = 585,
598
+ SoothedTheirBurnInjuries = 586,
599
+ SoothedYourBurnInjuries = 587,
600
+ Sort = 588,
601
+ SortedByBestCraftingRequirements = 589,
602
+ SortedByCategory = 590,
603
+ SortedByCraftableOnly = 591,
604
+ SortedByDecay = 592,
605
+ SortedByDurability = 593,
606
+ SortedByGroup = 594,
607
+ SortedByMagical = 595,
608
+ SortedByName = 596,
609
+ SortedByQuality = 597,
610
+ SortedByRecent = 598,
611
+ SortedBySkill = 599,
612
+ SortedByUnlockedTime = 600,
613
+ SortedByWeight = 601,
614
+ SortedByWorth = 602,
615
+ StaminaIsFull = 603,
616
+ StartedFire = 604,
617
+ StartTravelInWater = 605,
618
+ StarvingToDeath = 606,
619
+ StatAmount = 607,
620
+ StatGained = 608,
621
+ StatIncreasing = 609,
622
+ StatLost = 610,
623
+ StatQuenched = 611,
624
+ StatRegained = 612,
625
+ StatSated = 613,
626
+ SteppingOn = 614,
627
+ Still = 615,
628
+ StillHasNoWaterToPurify = 616,
629
+ StirredUpClawWorm = 617,
630
+ StirredUpCreature = 618,
631
+ StoppedYourBleeding = 619,
632
+ StopUsingVehicle = 620,
633
+ Strength = 621,
634
+ SummonedGuardiansByDiggingTreasure = 622,
635
+ SummonedGuardiansByLockpicking = 623,
636
+ SummonVoidDwellerItem = 624,
637
+ SummonVoidDwellerRinging = 625,
638
+ SummonVoidDwellerShiver = 626,
639
+ SunNotBrightEnoughToStartFire = 627,
640
+ SwampWater = 628,
641
+ Swimming = 629,
642
+ TakenFromGroundBecomeTamed = 630,
643
+ TeleportBlocked = 631,
644
+ Teleported = 632,
645
+ ThanksBuying = 633,
646
+ ThanksSelling = 634,
647
+ TheirFist = 635,
648
+ ThePlant = 636,
649
+ ThereIsNoContainerOnTheStill = 637,
650
+ ThereIsNoSunToStartFire = 638,
651
+ ThisCannotBeMilked = 639,
652
+ Throw = 640,
653
+ ThrownIntoDepths = 641,
654
+ ThrownIntoObstacle = 642,
655
+ ThrownIntoVoid = 643,
656
+ Tier = 644,
657
+ TierGroup = 645,
658
+ Till = 646,
659
+ Tilling = 647,
660
+ TimeIs = 648,
661
+ TimeIsDawn = 649,
662
+ TimeIsDaytime = 650,
663
+ TimeIsDusk = 651,
664
+ TimeIsNighttime = 652,
665
+ TimeIsSunrise = 653,
666
+ TimeIsSunset = 654,
667
+ ToFight = 655,
668
+ TooDamaged = 656,
669
+ TooExhaustedToJump = 657,
670
+ Touching = 658,
671
+ TrampledFire = 659,
672
+ TrampledIntoGround = 660,
673
+ TrampleIntoGround = 661,
674
+ Trampling = 662,
675
+ TransmogrificationNotPossible = 663,
676
+ Transmogrified = 664,
677
+ Transmogrify = 665,
678
+ TrapMissed = 666,
679
+ TrapStoppedYou = 667,
680
+ Traveling = 668,
681
+ TreasureIsBlocked = 669,
682
+ UiActionCannotUseRequiresCreature = 670,
683
+ UiActionCannotUseRequiresDoodad = 671,
684
+ UiActionCannotUseRequiresItem = 672,
685
+ Unhitch = 673,
686
+ UnhitchCreature = 674,
687
+ Unknown = 675,
688
+ Unlimited = 676,
689
+ UnlockedChest = 677,
690
+ UnpurifiedFreshWater = 678,
691
+ UnpurifiedWaterInStill = 679,
692
+ Use = 680,
693
+ UsingBareHands = 681,
694
+ VehicleDefense = 682,
695
+ Vulnerable = 683,
696
+ Water = 684,
697
+ WaterGathering = 685,
698
+ WaterPutOutFire = 686,
699
+ WellIsDry = 687,
700
+ WellIsFull = 688,
701
+ WildGoatRefusedToBeMilked = 689,
702
+ WillNotTrade = 690,
703
+ WorkingYourselfIntoExhaustion = 691,
704
+ WorkingYourselfIntoExhaustionAndDrowning = 692,
705
+ You = 693,
706
+ YouAbsorb = 694,
707
+ YouApplied = 695,
708
+ YouAreAlready = 696,
709
+ YouAte = 697,
710
+ YouBeginResting = 698,
711
+ YouCannotDoThatYet = 699,
712
+ YouCanNowCombatTheTides = 700,
713
+ YouCrafted = 701,
714
+ YouDoNotFindTreasureYet = 702,
715
+ YouDrank = 703,
716
+ YouDropTheTorch = 704,
717
+ YouEnchant = 705,
718
+ YouEquip = 706,
719
+ YouExude = 707,
720
+ YouExudeSome = 708,
721
+ YouExudeSomeReasonConflicting = 709,
722
+ YouExudeSomeReasonMax = 710,
723
+ YouExudeSomeReasonProperties = 711,
724
+ YouFailedTo = 712,
725
+ YouFailedToExtinguishedFireFully = 713,
726
+ YouFailedToHeal = 714,
727
+ YouFailedToHealOther = 715,
728
+ YouFire = 716,
729
+ YouGathered = 717,
730
+ YouGatheredAndDropped = 718,
731
+ YouHarvested = 719,
732
+ YouHarvestedAndDropped = 720,
733
+ YouHave = 721,
734
+ YouHaveAlreadyLearned = 722,
735
+ YouHaveBeenCut = 723,
736
+ YouHaveCaged = 724,
737
+ YouHaveCommanded = 725,
738
+ YouHaveDied = 726,
739
+ YouHaveHealedOther = 727,
740
+ YouHaveKilled = 728,
741
+ YouHaveReleased = 729,
742
+ YouHaveSummoned = 730,
743
+ YouHaveTamed = 731,
744
+ YouHaveUncaged = 732,
745
+ YouNeedMoreCredit = 733,
746
+ YouNoticeBarren = 734,
747
+ YouNoticeBecomeEnraged = 735,
748
+ YouNoticeDying = 736,
749
+ YouNoticeFertilityDecreasing = 737,
750
+ YouNoticeFertilityIncreasing = 738,
751
+ YouNoticeGrowing = 739,
752
+ YouNoticeLavaCooling = 740,
753
+ YouNoticeLavaHardening = 741,
754
+ YouNoticePerish = 742,
755
+ YouNoticePlantDamage = 743,
756
+ YouNoticePlantRegenerated = 744,
757
+ YouNoticeRegrowing = 745,
758
+ YouNoticeStumbleInjureItself = 746,
759
+ YouNoticeTakeFromGround = 747,
760
+ YouNoticeWoundsClosing = 748,
761
+ YouNoticeZombieHorde = 749,
762
+ YouOfferedToCreature = 750,
763
+ YouOfferedToCreatureRejects = 751,
764
+ YouOpen = 752,
765
+ YouPacked = 753,
766
+ YouPickedUp = 754,
767
+ YouRefine = 755,
768
+ YouReinforce = 756,
769
+ YouRepair = 757,
770
+ YouReturnFromCivilizationWith = 758,
771
+ YourFist = 759,
772
+ YourHands = 760,
773
+ YourInventory = 761,
774
+ YourIsland = 762,
775
+ YourRubbingNoEffect = 763,
776
+ YouRub = 764,
777
+ YouSee = 765,
778
+ YouSeeALivingMushroomSpore = 766,
779
+ YouSeeASkeletonCollapse = 767,
780
+ YouSeeASlimeCombine = 768,
781
+ YouSeeAZombieBleeding = 769,
782
+ YouSeeCoolDown = 770,
783
+ YouSeeDrop = 771,
784
+ YouSeeEngulfFire = 772,
785
+ YouSeeFireSpread = 773,
786
+ YouSeeHelpingPlant = 774,
787
+ YouSeeLay = 775,
788
+ YouSeeLayingTrap = 776,
789
+ YouSeeSpewLava = 777,
790
+ YouSeeSpitAcid = 778,
791
+ YouSeeSpringForth = 779,
792
+ YouSeeSummon = 780,
793
+ YouSeeSwampFlood = 781,
794
+ YouSeeTrampling = 782,
795
+ YouSetTheTrapOff = 783,
796
+ YouStokeTheCreature = 784,
797
+ YouSwapMainHandAndOffHand = 785,
798
+ YouThrew = 786,
799
+ YouTilled = 787,
800
+ YouUnequip = 788,
801
+ YouUsed = 789,
802
+ YouWhileTraveling = 790
802
803
  }
803
804
  export default Message;
@@ -43,7 +43,7 @@ export declare class RendererOrigin implements IRendererOrigin {
43
43
  readonly asEntity: Entity;
44
44
  readonly asPlayer: Player | undefined;
45
45
  readonly asHuman: Human | undefined;
46
- private constructor();
46
+ constructor(islandId: IslandId, x: number, y: number, z: number);
47
47
  get island(): Island;
48
48
  getMovementProgress(_timeStamp: number): number;
49
49
  canSeeObject(type: CanASeeBType, object: IVector4 & {
@@ -27,6 +27,7 @@ export default class EnumDropdown<ENUM_OBJECT, OTHER_OPTIONS extends string | ne
27
27
  setExcluded(...excluded: VALUES[]): this;
28
28
  protected getTranslation(id: VALUES): import("../../../language/impl/TranslationImpl").default;
29
29
  protected filterEnum?(id: VALUES): boolean;
30
+ protected getEnumValues(enumObject: any): VALUES[];
30
31
  protected getOptions(enumObject: any): [VALUES, (option: Button) => Button][];
31
32
  protected getOptionTooltipLocation(handler: TooltipLocationHandler): void;
32
33
  protected optionTooltipInitializer?(tooltip: Tooltip, type: VALUES, translation: Translation): any;
@@ -9,15 +9,20 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { BiomeType } from "game/biome/IBiome";
12
- import type { IslandId } from "game/island/IIsland";
12
+ import { type IslandId } from "game/island/IIsland";
13
13
  import type { IDropdownOption } from "ui/component/Dropdown";
14
14
  import GroupDropdown from "ui/component/GroupDropdown";
15
+ import type Tooltip from "ui/tooltip/Tooltip";
15
16
  export default class IslandDropdown<OTHER_OPTIONS extends string = never> extends GroupDropdown<Record<string, string>, OTHER_OPTIONS, BiomeType> {
16
- constructor(defaultOption: string | OTHER_OPTIONS, options?: Iterable<IDropdownOption<OTHER_OPTIONS>>);
17
+ constructor(defaultOption: IslandId | OTHER_OPTIONS, options?: SupplierOr<Iterable<IDropdownOption<OTHER_OPTIONS>>>);
17
18
  protected getTranslation(islandId: IslandId): import("../../../language/impl/TranslationImpl").default;
18
19
  protected getGroupName(biome: BiomeType): string;
20
+ protected optionTooltipInitializer(tooltip: Tooltip, islandId: IslandId): Promise<void> | undefined;
19
21
  protected shouldIncludeOtherOptionsInGroupFilter(): boolean;
20
22
  protected isInGroup(islandId: IslandId, biome: BiomeType): boolean;
21
23
  protected getGroups(): BiomeType[];
24
+ protected getEnumValues(): string[];
22
25
  protected onRefresh(): void;
26
+ protected onAppend1(): void;
27
+ protected onLoadedOnIsland(): void;
23
28
  }
@@ -28,7 +28,7 @@ declare module Version {
28
28
  export type String = `${Stage}${bigint}.${bigint}.${bigint}` | `${Stage}${bigint}.${bigint}` | `${Stage}${bigint}`;
29
29
  export type StringSemVer = `${bigint}.${bigint}.${bigint}-${Stage}` | `${bigint}.${bigint}.${bigint}`;
30
30
  export type Month = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec";
31
- export type DateString = `${Month} ${bigint} ${bigint} ${bigint}:${bigint | "00"}`;
31
+ export type DateString = `${Month} ${bigint} ${bigint} ${bigint | "00"}:${bigint | "00"}`;
32
32
  export const versionInfoRegExp: RegExp;
33
33
  export const versionInfoRegExpSemver: RegExp;
34
34
  /**
@@ -13,10 +13,10 @@ import type { Prompt } from "@wayward/game/game/meta/prompt/IPrompt";
13
13
  import type { ScreenId } from "@wayward/game/ui/screen/IScreen";
14
14
  import type { MenuId } from "@wayward/game/ui/screen/screens/menu/component/IMenu";
15
15
  import type { Random } from "@wayward/game/utilities/random/Random";
16
- import type { TestRunContext } from "@wayward/test/testRunner";
17
16
  import ApplicationInteractions from "@wayward/test/core/applicationInteractions";
18
17
  import type { Apps } from "@wayward/test/core/applicationManager";
19
18
  import type { IAppPaths } from "@wayward/test/interfaces";
19
+ import type { TestRunContext } from "@wayward/test/testRunner";
20
20
  export interface IApplicationOptions {
21
21
  additionalArgs?: string[];
22
22
  mods?: string[];
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.13.2-beta.dev.20230608.1",
4
+ "version": "2.13.2-beta.dev.20230610.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",