@wayward/types 2.15.0-beta.dev.20250928.1 → 2.15.0-beta.dev.20251001.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.
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2011-2025 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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
12
+ export declare const aridMapGen2150: IBiomeMapGen;
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2011-2025 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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
12
+ export declare const iceCapMapGen2150: IBiomeMapGen;
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2011-2025 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 { IBiomeMapGen } from "@wayward/game/game/mapgen/IMapGen";
12
+ export declare const wetlandsMapGen2150: IBiomeMapGen;
@@ -412,5 +412,4 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
412
412
  private processDripstone;
413
413
  private postProcessDecay;
414
414
  private randomAshSpawn;
415
- private canGrowToBare;
416
415
  }
@@ -83,7 +83,11 @@ export interface IDoodadDescription extends IObjectDescription, IModdable, ICaus
83
83
  containerDialog?: DialogId;
84
84
  burnsLike?: ItemType[];
85
85
  canBreak?: boolean;
86
- canGrow?: boolean;
86
+ /**
87
+ * This doodad will be able to grow up until and including this stage.
88
+ * For example, conifers can grow up until seeding, but not bare. Most trees can grow until bare. Other plants, usually ripening.
89
+ */
90
+ canGrow?: GrowingStage;
87
91
  canGrowInCaves?: boolean;
88
92
  canTrampleWhenMature?: boolean;
89
93
  disableDrop?: boolean;
@@ -535,7 +539,8 @@ export declare enum GrowingStage {
535
539
  Budding = 3,
536
540
  Flowering = 4,
537
541
  Ripening = 5,
538
- Bare = 6
542
+ Seeding = 6,
543
+ Bare = 7
539
544
  }
540
545
  export declare namespace Growth {
541
546
  function isAtLeast(growth: GrowingStage | undefined, stage: GrowingStage): boolean;
@@ -56,7 +56,7 @@ declare namespace Translation {
56
56
  * @param index Optional. The index of the translation in the given dictionary entry, for instance `ItemTranslation.Description`,
57
57
  * or `"random"` to return any of the translations in this entry.
58
58
  */
59
- export function get<DICT extends Dictionary>(dictionary: DICT, entry: Dictionary extends DICT ? string | number : DictionaryEntryEnums[DICT], index?: "random" | number): Translation;
59
+ export function get<DICT extends Dictionary>(dictionary: DICT | undefined, entry: Dictionary extends DICT ? string | number : DictionaryEntryEnums[DICT], index?: "random" | number): Translation;
60
60
  /**
61
61
  * Gets a translation by its translation id. Entry matching is done by changing the case-style of the inputted
62
62
  * translation id, so if you provide an all lower-case string it will not work!
@@ -584,300 +584,301 @@ declare enum Message {
584
584
  PlantIsBare = 572,
585
585
  PlantIsFertile = 573,
586
586
  PlantIsInStage = 574,
587
- PlantIsNotFertile = 575,
588
- PlantNotReadyToHarvest = 576,
589
- PlantReadyToGather = 577,
590
- PlantReadyToGatherNotMaximal = 578,
591
- PlantReadyToHarvest = 579,
592
- PlantReadyToHarvestNotMaximal = 580,
593
- PlayerHas = 581,
594
- PlayerHasCompletedChallengeRequirement = 582,
595
- PlayerHasWonChallenge = 583,
596
- Poisoned = 584,
597
- PoisonedLostHealth = 585,
598
- PoisonWorkedItsCourse = 586,
599
- PouredOut = 587,
600
- PouredOutOnYourself = 588,
601
- PouredWaterIntoStill = 589,
602
- PourHarmedPlant = 590,
603
- PourHealedPlant = 591,
604
- PourHealedPlantFully = 592,
605
- PourHealedPlantPartially = 593,
606
- PourIncreasedFertility = 594,
607
- Pouring = 595,
608
- PourOverWatering = 596,
609
- Prepare = 597,
610
- Prepared = 598,
611
- PreservedFood = 599,
612
- PurifiedWaterInBottom = 600,
613
- PurifiedWaterInStill = 601,
614
- RandomEventsFire = 602,
615
- ReduceLength = 603,
616
- RefusedToBeTamed = 604,
617
- Repair = 605,
618
- RequiredForDisassembly = 606,
619
- RequiresFireToBeLit = 607,
620
- RequiresYouToBeAround = 608,
621
- Resistant = 609,
622
- Rest = 610,
623
- Rested = 611,
624
- Resting = 612,
625
- RestingOnGroundNotEffective = 613,
626
- RestInterrupted = 614,
627
- RestInterruptedDamage = 615,
628
- RestInterruptedDying = 616,
629
- RestInterruptedLoudNoise = 617,
630
- RestInterruptedPain = 618,
631
- RestInterruptedStirring = 619,
632
- RestInterruptedWaterPoured = 620,
633
- RestLongTime = 621,
634
- RestModerateTime = 622,
635
- RestOnBoat = 623,
636
- RestShortTime = 624,
637
- RestTime = 625,
638
- ReturnedToCivilization = 626,
639
- ReturningToCivilizationSetOffAgain = 627,
640
- ReturnsToLife = 628,
641
- Reverse = 629,
642
- Ride = 630,
643
- Sailing = 631,
644
- ScrollMaster = 632,
645
- ScrollProvidedNoUsefulInsight = 633,
646
- Seawater = 634,
647
- SeemsToHaveDrawnEnergy = 635,
648
- SetTrapOffButNoDamage = 636,
649
- SetUp = 637,
650
- ShadowInTheWater = 638,
651
- SkillHasRaised = 639,
652
- Skills = 640,
653
- Sleep = 641,
654
- Sleeping = 642,
655
- SleepOnBoat = 643,
656
- Slept = 644,
657
- SlitherSuckerConstricts = 645,
658
- SlitherSuckerFailedToRemove = 646,
659
- SlitherSuckerFailedToRemoveOuch = 647,
660
- SlitherSuckerJumpedOnHead = 648,
661
- SolarStill = 649,
662
- SomethingInTheWayOf = 650,
663
- SomethingInTheWayOfButcherFirst = 651,
664
- SomethingInTheWayOfFire = 652,
665
- SomethingInTheWayOfFishing = 653,
666
- SomethingInTheWayOfPerforming = 654,
667
- SomethingInTheWayOfPlacing = 655,
668
- SomethingInTheWayOfReleasing = 656,
669
- SomethingInTheWayOfSummoning = 657,
670
- SomethingInWayOfClosingDoor = 658,
671
- SoothedTheirBurnInjuries = 659,
672
- SoothedYourBurnInjuries = 660,
673
- SortedByCategory = 661,
674
- SortedByCraftableOnly = 662,
675
- SortedByName = 663,
676
- SortedBySkill = 664,
677
- SortedByUnlockedTime = 665,
678
- StaminaIsFull = 666,
679
- StartedFire = 667,
680
- StartTravelInWater = 668,
681
- StarvingToDeath = 669,
682
- StatAmount = 670,
683
- StatChangeUnknown = 671,
684
- StatGained = 672,
685
- StatIncreasing = 673,
686
- StatLost = 674,
687
- StatQuenched = 675,
688
- StatRegained = 676,
689
- StatSated = 677,
690
- SteppingOn = 678,
691
- Still = 679,
692
- StillHasNoWaterToPurify = 680,
693
- StirredUpClawWorm = 681,
694
- StirredUpCreature = 682,
695
- StoppedYourBleeding = 683,
696
- StopUsingVehicle = 684,
697
- SummonedGuardiansByDiggingTreasure = 685,
698
- SummonedGuardiansByLockpicking = 686,
699
- SummonVoidDwellerItem = 687,
700
- SummonVoidDwellerRinging = 688,
701
- SummonVoidDwellerShiver = 689,
702
- SunNotBrightEnoughToStartFire = 690,
703
- SwampWater = 691,
704
- Swimming = 692,
705
- TakenFromGroundBecomeTamed = 693,
706
- TeleportBlocked = 694,
707
- Teleported = 695,
708
- TheirFist = 696,
709
- TheirInventory = 697,
710
- ThePlant = 698,
711
- ThereIsNoContainerOnTheStill = 699,
712
- ThereIsNoSunToStartFire = 700,
713
- ThisCannotBeMilked = 701,
714
- Throw = 702,
715
- ThrownIntoDepths = 703,
716
- ThrownIntoObstacle = 704,
717
- ThrownIntoVoid = 705,
718
- TierGroup = 706,
719
- TileMakeCaveEntranceNearby = 707,
720
- TileMakeCaveEntrancePassable = 708,
721
- TileMakeCaveEntranceVoid = 709,
722
- Till = 710,
723
- Tilling = 711,
724
- TimeIs = 712,
725
- TimeIsDawn = 713,
726
- TimeIsDaytime = 714,
727
- TimeIsDusk = 715,
728
- TimeIsNighttime = 716,
729
- TimeIsSunrise = 717,
730
- TimeIsSunset = 718,
731
- ToFight = 719,
732
- TooDamaged = 720,
733
- TooExhaustedToJump = 721,
734
- Touching = 722,
735
- TrampledFire = 723,
736
- TrampledFireFail = 724,
737
- TrampledFirePartial = 725,
738
- TrampledIntoGround = 726,
739
- TrampleIntoGround = 727,
740
- Trampling = 728,
741
- TransmogrificationNoEffect = 729,
742
- TransmogrificationNotPossible = 730,
743
- Transmogrified = 731,
744
- TrapMissed = 732,
745
- TrapStoppedYou = 733,
746
- Traveling = 734,
747
- Treasure = 735,
748
- TreasureIsBlocked = 736,
749
- UiActionCannotUseInaccessibleItem = 737,
750
- UiActionCannotUseInThisSituation = 738,
751
- UiActionCannotUseNoItemHovered = 739,
752
- UiActionCannotUseNotInRange = 740,
753
- UiActionCannotUseOnThisIsland = 741,
754
- UiActionCannotUseRequiresCreature = 742,
755
- UiActionCannotUseRequiresDoodad = 743,
756
- UiActionCannotUseRequiresItem = 744,
757
- UiActionCannotUseRequiresNPC = 745,
758
- UiActionCannotUseRequiresVehicle = 746,
759
- UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue1 = 747,
760
- UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue2 = 748,
761
- UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue3 = 749,
762
- UiDialogTradeIndicateTradeAlreadyTradedSellDialogue1 = 750,
763
- UiDialogTradeIndicateTradeAlreadyTradedSellDialogue2 = 751,
764
- UiDialogTradeIndicateTradeAlreadyTradedSellDialogue3 = 752,
765
- UiDialogTradeIndicateTradeTooMuchTradesDialogue1 = 753,
766
- UiDialogTradeIndicateTradeTooMuchTradesDialogue2 = 754,
767
- UiDialogTradeIndicateTradeTooMuchTradesDialogue3 = 755,
768
- UnhitchCreature = 756,
769
- Unknown = 757,
770
- Unlimited = 758,
771
- UnlockedChest = 759,
772
- UnpurifiedFreshWater = 760,
773
- UnpurifiedWaterInStill = 761,
774
- UnpurifiedWaterInTop = 762,
775
- Use = 763,
776
- UsingBareHands = 764,
777
- VehicleDefense = 765,
778
- Vulnerable = 766,
779
- Water = 767,
780
- WaterGathering = 768,
781
- WaterPutOutFire = 769,
782
- WellIsDry = 770,
783
- WellIsFull = 771,
784
- WildGoatRefusedToBeMilked = 772,
785
- WorkingYourselfIntoExhaustion = 773,
786
- WorkingYourselfIntoExhaustionAndDrowning = 774,
787
- WorldContainer = 775,
788
- You = 776,
789
- YouAbsorb = 777,
790
- YouApplied = 778,
791
- YouAreAlready = 779,
792
- YouAte = 780,
793
- YouBeginResting = 781,
794
- YouCannotDoThatYet = 782,
795
- YouCanNowCombatTheTides = 783,
796
- YouCrafted = 784,
797
- YouDoNotFindTreasureYet = 785,
798
- YouDrank = 786,
799
- YouDropTheTorch = 787,
800
- YouEnchant = 788,
801
- YouEquip = 789,
802
- YouExude = 790,
803
- YouExudeSome = 791,
804
- YouExudeSomeReasonConflicting = 792,
805
- YouExudeSomeReasonMax = 793,
806
- YouExudeSomeReasonProperties = 794,
807
- YouFailedTo = 795,
808
- YouFailedToExtinguishedFireFully = 796,
809
- YouFailedToHeal = 797,
810
- YouFailedToHealOther = 798,
811
- YouFire = 799,
812
- YouGathered = 800,
813
- YouHarvested = 801,
814
- YouHave = 802,
815
- YouHaveAlreadyLearned = 803,
816
- YouHaveBeenCut = 804,
817
- YouHaveCaged = 805,
818
- YouHaveCommanded = 806,
819
- YouHaveDied = 807,
820
- YouHaveHealedOther = 808,
821
- YouHaveKilled = 809,
822
- YouHaveNotCommanded = 810,
823
- YouHaveReleased = 811,
824
- YouHaveSummoned = 812,
825
- YouHaveTamed = 813,
826
- YouHaveUncaged = 814,
827
- YouNoticeBarren = 815,
828
- YouNoticeBecomeEnraged = 816,
829
- YouNoticeDying = 817,
830
- YouNoticeFertilityDecreasing = 818,
831
- YouNoticeFertilityIncreasing = 819,
832
- YouNoticeGrowing = 820,
833
- YouNoticeLavaCooling = 821,
834
- YouNoticeLavaHardening = 822,
835
- YouNoticePerish = 823,
836
- YouNoticePlantDamage = 824,
837
- YouNoticePlantRegenerated = 825,
838
- YouNoticeRegrowing = 826,
839
- YouNoticeStumbleInjureItself = 827,
840
- YouNoticeTakeFromGround = 828,
841
- YouNoticeWoundsClosing = 829,
842
- YouOfferedToCreature = 830,
843
- YouOfferedToCreatureRejects = 831,
844
- YouOpen = 832,
845
- YouPacked = 833,
846
- YouPickedUp = 834,
847
- YouRefine = 835,
848
- YouReinforce = 836,
849
- YouRepair = 837,
850
- YouReturnFromCivilizationWith = 838,
851
- YourFist = 839,
852
- YourHands = 840,
853
- YourInventory = 841,
854
- YourIsland = 842,
855
- YouSeeALivingMushroomSpore = 843,
856
- YouSeeASkeletonCollapse = 844,
857
- YouSeeASlimeCombine = 845,
858
- YouSeeAZombieBleeding = 846,
859
- YouSeeCoolDown = 847,
860
- YouSeeDrop = 848,
861
- YouSeeEngulfFire = 849,
862
- YouSeeFireSpread = 850,
863
- YouSeeHelpingPlant = 851,
864
- YouSeeLay = 852,
865
- YouSeeLayingTrap = 853,
866
- YouSeeSpewLava = 854,
867
- YouSeeSpiderSpin = 855,
868
- YouSeeSpitAcid = 856,
869
- YouSeeSpringForth = 857,
870
- YouSeeSummon = 858,
871
- YouSeeSwampFlood = 859,
872
- YouSeeTrampling = 860,
873
- YouSetTheTrapOff = 861,
874
- YouStokeTheCreature = 862,
875
- YouSwapMainHandAndOffHand = 863,
876
- YouThrew = 864,
877
- YouTilled = 865,
878
- YouUnequip = 866,
879
- YouUsed = 867,
880
- YouViewTheItemsOn = 868,
881
- YouWhileTraveling = 869
587
+ PlantIsSeeding = 575,
588
+ PlantIsNotFertile = 576,
589
+ PlantNotReadyToHarvest = 577,
590
+ PlantReadyToGather = 578,
591
+ PlantReadyToGatherNotMaximal = 579,
592
+ PlantReadyToHarvest = 580,
593
+ PlantReadyToHarvestNotMaximal = 581,
594
+ PlayerHas = 582,
595
+ PlayerHasCompletedChallengeRequirement = 583,
596
+ PlayerHasWonChallenge = 584,
597
+ Poisoned = 585,
598
+ PoisonedLostHealth = 586,
599
+ PoisonWorkedItsCourse = 587,
600
+ PouredOut = 588,
601
+ PouredOutOnYourself = 589,
602
+ PouredWaterIntoStill = 590,
603
+ PourHarmedPlant = 591,
604
+ PourHealedPlant = 592,
605
+ PourHealedPlantFully = 593,
606
+ PourHealedPlantPartially = 594,
607
+ PourIncreasedFertility = 595,
608
+ Pouring = 596,
609
+ PourOverWatering = 597,
610
+ Prepare = 598,
611
+ Prepared = 599,
612
+ PreservedFood = 600,
613
+ PurifiedWaterInBottom = 601,
614
+ PurifiedWaterInStill = 602,
615
+ RandomEventsFire = 603,
616
+ ReduceLength = 604,
617
+ RefusedToBeTamed = 605,
618
+ Repair = 606,
619
+ RequiredForDisassembly = 607,
620
+ RequiresFireToBeLit = 608,
621
+ RequiresYouToBeAround = 609,
622
+ Resistant = 610,
623
+ Rest = 611,
624
+ Rested = 612,
625
+ Resting = 613,
626
+ RestingOnGroundNotEffective = 614,
627
+ RestInterrupted = 615,
628
+ RestInterruptedDamage = 616,
629
+ RestInterruptedDying = 617,
630
+ RestInterruptedLoudNoise = 618,
631
+ RestInterruptedPain = 619,
632
+ RestInterruptedStirring = 620,
633
+ RestInterruptedWaterPoured = 621,
634
+ RestLongTime = 622,
635
+ RestModerateTime = 623,
636
+ RestOnBoat = 624,
637
+ RestShortTime = 625,
638
+ RestTime = 626,
639
+ ReturnedToCivilization = 627,
640
+ ReturningToCivilizationSetOffAgain = 628,
641
+ ReturnsToLife = 629,
642
+ Reverse = 630,
643
+ Ride = 631,
644
+ Sailing = 632,
645
+ ScrollMaster = 633,
646
+ ScrollProvidedNoUsefulInsight = 634,
647
+ Seawater = 635,
648
+ SeemsToHaveDrawnEnergy = 636,
649
+ SetTrapOffButNoDamage = 637,
650
+ SetUp = 638,
651
+ ShadowInTheWater = 639,
652
+ SkillHasRaised = 640,
653
+ Skills = 641,
654
+ Sleep = 642,
655
+ Sleeping = 643,
656
+ SleepOnBoat = 644,
657
+ Slept = 645,
658
+ SlitherSuckerConstricts = 646,
659
+ SlitherSuckerFailedToRemove = 647,
660
+ SlitherSuckerFailedToRemoveOuch = 648,
661
+ SlitherSuckerJumpedOnHead = 649,
662
+ SolarStill = 650,
663
+ SomethingInTheWayOf = 651,
664
+ SomethingInTheWayOfButcherFirst = 652,
665
+ SomethingInTheWayOfFire = 653,
666
+ SomethingInTheWayOfFishing = 654,
667
+ SomethingInTheWayOfPerforming = 655,
668
+ SomethingInTheWayOfPlacing = 656,
669
+ SomethingInTheWayOfReleasing = 657,
670
+ SomethingInTheWayOfSummoning = 658,
671
+ SomethingInWayOfClosingDoor = 659,
672
+ SoothedTheirBurnInjuries = 660,
673
+ SoothedYourBurnInjuries = 661,
674
+ SortedByCategory = 662,
675
+ SortedByCraftableOnly = 663,
676
+ SortedByName = 664,
677
+ SortedBySkill = 665,
678
+ SortedByUnlockedTime = 666,
679
+ StaminaIsFull = 667,
680
+ StartedFire = 668,
681
+ StartTravelInWater = 669,
682
+ StarvingToDeath = 670,
683
+ StatAmount = 671,
684
+ StatChangeUnknown = 672,
685
+ StatGained = 673,
686
+ StatIncreasing = 674,
687
+ StatLost = 675,
688
+ StatQuenched = 676,
689
+ StatRegained = 677,
690
+ StatSated = 678,
691
+ SteppingOn = 679,
692
+ Still = 680,
693
+ StillHasNoWaterToPurify = 681,
694
+ StirredUpClawWorm = 682,
695
+ StirredUpCreature = 683,
696
+ StoppedYourBleeding = 684,
697
+ StopUsingVehicle = 685,
698
+ SummonedGuardiansByDiggingTreasure = 686,
699
+ SummonedGuardiansByLockpicking = 687,
700
+ SummonVoidDwellerItem = 688,
701
+ SummonVoidDwellerRinging = 689,
702
+ SummonVoidDwellerShiver = 690,
703
+ SunNotBrightEnoughToStartFire = 691,
704
+ SwampWater = 692,
705
+ Swimming = 693,
706
+ TakenFromGroundBecomeTamed = 694,
707
+ TeleportBlocked = 695,
708
+ Teleported = 696,
709
+ TheirFist = 697,
710
+ TheirInventory = 698,
711
+ ThePlant = 699,
712
+ ThereIsNoContainerOnTheStill = 700,
713
+ ThereIsNoSunToStartFire = 701,
714
+ ThisCannotBeMilked = 702,
715
+ Throw = 703,
716
+ ThrownIntoDepths = 704,
717
+ ThrownIntoObstacle = 705,
718
+ ThrownIntoVoid = 706,
719
+ TierGroup = 707,
720
+ TileMakeCaveEntranceNearby = 708,
721
+ TileMakeCaveEntrancePassable = 709,
722
+ TileMakeCaveEntranceVoid = 710,
723
+ Till = 711,
724
+ Tilling = 712,
725
+ TimeIs = 713,
726
+ TimeIsDawn = 714,
727
+ TimeIsDaytime = 715,
728
+ TimeIsDusk = 716,
729
+ TimeIsNighttime = 717,
730
+ TimeIsSunrise = 718,
731
+ TimeIsSunset = 719,
732
+ ToFight = 720,
733
+ TooDamaged = 721,
734
+ TooExhaustedToJump = 722,
735
+ Touching = 723,
736
+ TrampledFire = 724,
737
+ TrampledFireFail = 725,
738
+ TrampledFirePartial = 726,
739
+ TrampledIntoGround = 727,
740
+ TrampleIntoGround = 728,
741
+ Trampling = 729,
742
+ TransmogrificationNoEffect = 730,
743
+ TransmogrificationNotPossible = 731,
744
+ Transmogrified = 732,
745
+ TrapMissed = 733,
746
+ TrapStoppedYou = 734,
747
+ Traveling = 735,
748
+ Treasure = 736,
749
+ TreasureIsBlocked = 737,
750
+ UiActionCannotUseInaccessibleItem = 738,
751
+ UiActionCannotUseInThisSituation = 739,
752
+ UiActionCannotUseNoItemHovered = 740,
753
+ UiActionCannotUseNotInRange = 741,
754
+ UiActionCannotUseOnThisIsland = 742,
755
+ UiActionCannotUseRequiresCreature = 743,
756
+ UiActionCannotUseRequiresDoodad = 744,
757
+ UiActionCannotUseRequiresItem = 745,
758
+ UiActionCannotUseRequiresNPC = 746,
759
+ UiActionCannotUseRequiresVehicle = 747,
760
+ UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue1 = 748,
761
+ UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue2 = 749,
762
+ UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue3 = 750,
763
+ UiDialogTradeIndicateTradeAlreadyTradedSellDialogue1 = 751,
764
+ UiDialogTradeIndicateTradeAlreadyTradedSellDialogue2 = 752,
765
+ UiDialogTradeIndicateTradeAlreadyTradedSellDialogue3 = 753,
766
+ UiDialogTradeIndicateTradeTooMuchTradesDialogue1 = 754,
767
+ UiDialogTradeIndicateTradeTooMuchTradesDialogue2 = 755,
768
+ UiDialogTradeIndicateTradeTooMuchTradesDialogue3 = 756,
769
+ UnhitchCreature = 757,
770
+ Unknown = 758,
771
+ Unlimited = 759,
772
+ UnlockedChest = 760,
773
+ UnpurifiedFreshWater = 761,
774
+ UnpurifiedWaterInStill = 762,
775
+ UnpurifiedWaterInTop = 763,
776
+ Use = 764,
777
+ UsingBareHands = 765,
778
+ VehicleDefense = 766,
779
+ Vulnerable = 767,
780
+ Water = 768,
781
+ WaterGathering = 769,
782
+ WaterPutOutFire = 770,
783
+ WellIsDry = 771,
784
+ WellIsFull = 772,
785
+ WildGoatRefusedToBeMilked = 773,
786
+ WorkingYourselfIntoExhaustion = 774,
787
+ WorkingYourselfIntoExhaustionAndDrowning = 775,
788
+ WorldContainer = 776,
789
+ You = 777,
790
+ YouAbsorb = 778,
791
+ YouApplied = 779,
792
+ YouAreAlready = 780,
793
+ YouAte = 781,
794
+ YouBeginResting = 782,
795
+ YouCannotDoThatYet = 783,
796
+ YouCanNowCombatTheTides = 784,
797
+ YouCrafted = 785,
798
+ YouDoNotFindTreasureYet = 786,
799
+ YouDrank = 787,
800
+ YouDropTheTorch = 788,
801
+ YouEnchant = 789,
802
+ YouEquip = 790,
803
+ YouExude = 791,
804
+ YouExudeSome = 792,
805
+ YouExudeSomeReasonConflicting = 793,
806
+ YouExudeSomeReasonMax = 794,
807
+ YouExudeSomeReasonProperties = 795,
808
+ YouFailedTo = 796,
809
+ YouFailedToExtinguishedFireFully = 797,
810
+ YouFailedToHeal = 798,
811
+ YouFailedToHealOther = 799,
812
+ YouFire = 800,
813
+ YouGathered = 801,
814
+ YouHarvested = 802,
815
+ YouHave = 803,
816
+ YouHaveAlreadyLearned = 804,
817
+ YouHaveBeenCut = 805,
818
+ YouHaveCaged = 806,
819
+ YouHaveCommanded = 807,
820
+ YouHaveDied = 808,
821
+ YouHaveHealedOther = 809,
822
+ YouHaveKilled = 810,
823
+ YouHaveNotCommanded = 811,
824
+ YouHaveReleased = 812,
825
+ YouHaveSummoned = 813,
826
+ YouHaveTamed = 814,
827
+ YouHaveUncaged = 815,
828
+ YouNoticeBarren = 816,
829
+ YouNoticeBecomeEnraged = 817,
830
+ YouNoticeDying = 818,
831
+ YouNoticeFertilityDecreasing = 819,
832
+ YouNoticeFertilityIncreasing = 820,
833
+ YouNoticeGrowing = 821,
834
+ YouNoticeLavaCooling = 822,
835
+ YouNoticeLavaHardening = 823,
836
+ YouNoticePerish = 824,
837
+ YouNoticePlantDamage = 825,
838
+ YouNoticePlantRegenerated = 826,
839
+ YouNoticeRegrowing = 827,
840
+ YouNoticeStumbleInjureItself = 828,
841
+ YouNoticeTakeFromGround = 829,
842
+ YouNoticeWoundsClosing = 830,
843
+ YouOfferedToCreature = 831,
844
+ YouOfferedToCreatureRejects = 832,
845
+ YouOpen = 833,
846
+ YouPacked = 834,
847
+ YouPickedUp = 835,
848
+ YouRefine = 836,
849
+ YouReinforce = 837,
850
+ YouRepair = 838,
851
+ YouReturnFromCivilizationWith = 839,
852
+ YourFist = 840,
853
+ YourHands = 841,
854
+ YourInventory = 842,
855
+ YourIsland = 843,
856
+ YouSeeALivingMushroomSpore = 844,
857
+ YouSeeASkeletonCollapse = 845,
858
+ YouSeeASlimeCombine = 846,
859
+ YouSeeAZombieBleeding = 847,
860
+ YouSeeCoolDown = 848,
861
+ YouSeeDrop = 849,
862
+ YouSeeEngulfFire = 850,
863
+ YouSeeFireSpread = 851,
864
+ YouSeeHelpingPlant = 852,
865
+ YouSeeLay = 853,
866
+ YouSeeLayingTrap = 854,
867
+ YouSeeSpewLava = 855,
868
+ YouSeeSpiderSpin = 856,
869
+ YouSeeSpitAcid = 857,
870
+ YouSeeSpringForth = 858,
871
+ YouSeeSummon = 859,
872
+ YouSeeSwampFlood = 860,
873
+ YouSeeTrampling = 861,
874
+ YouSetTheTrapOff = 862,
875
+ YouStokeTheCreature = 863,
876
+ YouSwapMainHandAndOffHand = 864,
877
+ YouThrew = 865,
878
+ YouTilled = 866,
879
+ YouUnequip = 867,
880
+ YouUsed = 868,
881
+ YouViewTheItemsOn = 869,
882
+ YouWhileTraveling = 870
882
883
  }
883
884
  export default Message;
@@ -10,6 +10,7 @@
10
10
  */
11
11
  import "@wayward/game/IGlobal";
12
12
  import BaseMod from "@wayward/game/mod/BaseMod";
13
+ import type { ModInformation } from "@wayward/game/mod/ModInformation";
13
14
  import Log from "@wayward/utilities/Log";
14
15
  declare abstract class Mod extends BaseMod {
15
16
  /**
@@ -44,6 +45,20 @@ declare namespace Mod {
44
45
  * @param name Given a mod name, the decorated field will be injected with the enabled/loaded instance of the mod by that name.
45
46
  */
46
47
  function instance<M extends Mod>(name: string): <K extends string | number | symbol, T extends Record<K, M extends (new (index: number) => infer I) ? I : Mod>>(target: T, key: K) => void;
48
+ /**
49
+ * A function usable exclusively in the *top level* of a mod script, or within synchronous code called by the top level of the mod script.
50
+ * Returns a container for the mod's instance, its `ModInformation`, or `undefined` if it can't be found or this is used in the wrong context.
51
+ */
52
+ function get<M extends Mod>(): ModInformation & {
53
+ instance: M;
54
+ } | undefined;
55
+ /**
56
+ * Given a mod name, returns a container (its `ModInformation`) for the enabled/loaded instance of the mod by that name,
57
+ * or `undefined` if it can't be found.
58
+ */
59
+ function get<M extends Mod>(name: string): ModInformation & {
60
+ instance: M;
61
+ } | undefined;
47
62
  /**
48
63
  * Injects the decorated field with this mod's log.
49
64
  */
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2011-2025 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
+ declare const _default: import("@wayward/game/save/upgrade/UpgradeVersion").IUpgradeVersionDefinition<unknown>;
12
+ export default _default;
@@ -62,5 +62,6 @@ declare global {
62
62
  waywardPreload: IWaywardPreloadLoader | undefined;
63
63
  waywardTitleBar: IWaywardTitleBar | undefined;
64
64
  getScaleFactor(): number;
65
+ __modulename: string | undefined;
65
66
  }
66
67
  }
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.15.0-beta.dev.20250928.1",
4
+ "version": "2.15.0-beta.dev.20251001.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",