@wayward/types 2.11.0-beta.dev.20211212.3 → 2.11.0-beta.dev.20211213.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.
@@ -16,7 +16,7 @@ import type Human from "game/entity/Human";
16
16
  import { MoveType } from "game/entity/IEntity";
17
17
  import type Player from "game/entity/player/Player";
18
18
  import type { ITile } from "game/tile/ITerrain";
19
- import type Vector3 from "utilities/math/Vector3";
19
+ import Vector3 from "utilities/math/Vector3";
20
20
  export interface ICreatureManagerEvents extends Events<EntityManager<Creature>> {
21
21
  /**
22
22
  * Called when a creature is about to be spawned
@@ -60,6 +60,11 @@ export default class CreatureManager extends EntityManager<Creature> {
60
60
  spawnFromGroup(creatureGroup: SpawnGroup, x: number, y: number, z: number, bypass?: boolean, bypassCreatureLimit?: boolean): Creature | undefined;
61
61
  exists(creature: Creature): boolean;
62
62
  maybeSpawnClawWorm(target: Human | Creature): void;
63
+ /**
64
+ * Maybe spawns a Dryad based on target reputation, plants around target, and chance.
65
+ * @param target Human that we check around to find a suitable spawn.
66
+ */
67
+ maybeSpawnDryad(target: Human): void;
63
68
  remove(creature: Creature): void;
64
69
  updateAll(realPlayers: Player[]): void;
65
70
  /**
@@ -75,7 +75,8 @@ export declare enum CreatureType {
75
75
  VoidDweller = 48,
76
76
  SnowWalker = 49,
77
77
  Mammoth = 50,
78
- Pangolin = 51
78
+ Pangolin = 51,
79
+ Dryad = 52
79
80
  }
80
81
  export interface ICreatureOld extends Creature {
81
82
  hp: number;
@@ -171,6 +171,10 @@ export interface IItemDescription extends IObjectDescription, IModdable, ITemper
171
171
  */
172
172
  createTileEventOnCraft?: TileEventType;
173
173
  showOverHair?: boolean;
174
+ /**
175
+ * If set to true, still render the hair under this equipment.
176
+ */
177
+ showOnTopOfHair?: boolean;
174
178
  hasSleepImage?: boolean;
175
179
  /**
176
180
  * If set to true, the item will count as something you can start on fire or where fire can spread to.
@@ -1086,7 +1090,9 @@ export declare enum ItemType {
1086
1090
  PalapalaiFrond = 627,
1087
1091
  PalapalaiSpores = 628,
1088
1092
  ButtonMushroomSpores = 629,
1089
- FlyAmanitaSpores = 630
1093
+ FlyAmanitaSpores = 630,
1094
+ BrambleCrown = 631,
1095
+ DarkBrambleCrown = 632
1090
1096
  }
1091
1097
  export declare enum ItemTypeGroup {
1092
1098
  Invalid = 800,
@@ -18,7 +18,8 @@ export declare enum LootGroupType {
18
18
  Highest = 5,
19
19
  Low = 6,
20
20
  SeaTreasure = 7,
21
- VeryHigh = 8
21
+ VeryHigh = 8,
22
+ SeedsSpores = 9
22
23
  }
23
24
  export declare const lootGroup: (ItemType[] | undefined)[];
24
25
  export default lootGroup;
@@ -716,184 +716,185 @@ declare enum Message {
716
716
  StillHasNoWaterToPurify = 704,
717
717
  StirredUpClawWorm = 705,
718
718
  StirredUpCreature = 706,
719
- StoppedYourBleeding = 707,
720
- StopUsingBoat = 708,
721
- Strength = 709,
722
- StrengthIncreasing = 710,
723
- SummonedGuardiansByDiggingTreasure = 711,
724
- SummonedGuardiansByLockpicking = 712,
725
- SummonVoidDwellerItem = 713,
726
- SummonVoidDwellerRinging = 714,
727
- SummonVoidDwellerShiver = 715,
728
- SunNotBrightEnoughToStartFire = 716,
729
- Swimming = 717,
730
- TakenFromGroundBecomeTamed = 718,
731
- Tame = 719,
732
- TamedCreature = 720,
733
- TeleportBlocked = 721,
734
- Teleported = 722,
735
- ThanksBuying = 723,
736
- ThanksSelling = 724,
737
- TheCreature = 725,
738
- TheirFist = 726,
739
- ThePlant = 727,
740
- ThereIsNoContainerOnTheStill = 728,
741
- ThereIsNoSunToStartFire = 729,
742
- ThisCannotBeMilked = 730,
743
- Throw = 731,
744
- ThrownIntoDepths = 732,
745
- ThrownIntoObstacle = 733,
746
- ThrownIntoVoid = 734,
747
- Tier = 735,
748
- TierGroup = 736,
749
- Till = 737,
750
- Tilling = 738,
751
- TimeIs = 739,
752
- TimeIsDawn = 740,
753
- TimeIsDaytime = 741,
754
- TimeIsDusk = 742,
755
- TimeIsNighttime = 743,
756
- TimeIsSunrise = 744,
757
- TimeIsSunset = 745,
758
- ToDamageAChest = 746,
759
- ToFight = 747,
760
- TooDamaged = 748,
761
- TooExhaustedToJump = 749,
762
- Touching = 750,
763
- TradeBarterCreditForItem = 751,
764
- TradeItemForBarterCredit = 752,
765
- TradingWith = 753,
766
- TrampledFire = 754,
767
- TrampledIntoGround = 755,
768
- TrampleIntoGround = 756,
769
- Trampling = 757,
770
- TransmogrificationNotPossible = 758,
771
- Transmogrified = 759,
772
- Transmogrify = 760,
773
- TrapMissed = 761,
774
- TrapStoppedYou = 762,
775
- Traveling = 763,
776
- TreasureIsBlocked = 764,
777
- UnEquip = 765,
778
- UnEquipAll = 766,
779
- Unhitch = 767,
780
- UnhitchCreature = 768,
781
- Unknown = 769,
782
- UnknownItem = 770,
783
- Unlimited = 771,
784
- UnlockedChest = 772,
785
- UnlockedTime = 773,
786
- UnpurifiedFreshWater = 774,
787
- UnpurifiedWaterInStill = 775,
788
- UsingBareHands = 776,
789
- Vulnerable = 777,
790
- WaitUntilFireCooledToGetWater = 778,
791
- Water = 779,
792
- WaterGathering = 780,
793
- WaterPutOutFire = 781,
794
- Weight = 782,
795
- WellIsDry = 783,
796
- WellIsFull = 784,
797
- West = 785,
798
- WestNorthwest = 786,
799
- WestSouthwest = 787,
800
- WildGoatRefusedToBeMilked = 788,
801
- WillNotTrade = 789,
802
- WithYouSee = 790,
803
- WorkingYourselfIntoExhaustion = 791,
804
- WorkingYourselfIntoExhaustionAndDrowning = 792,
805
- Worth = 793,
806
- You = 794,
807
- YouApplied = 795,
808
- YouAte = 796,
809
- YouBeginResting = 797,
810
- YouCannotDoThatYet = 798,
811
- YouCanNowCombatTheTides = 799,
812
- YouCooledLava = 800,
813
- YouCrafted = 801,
814
- YouDied = 802,
815
- YouDoNotFindTreasureYet = 803,
816
- YouDrank = 804,
817
- YouDropTheTorch = 805,
818
- YouEnchant = 806,
819
- YouEquip = 807,
820
- YouFailedTo = 808,
821
- YouFailedToExtinguishedFireFully = 809,
822
- YouFailedToHeal = 810,
823
- YouFailedToHealOther = 811,
824
- YouFire = 812,
825
- YouGathered = 813,
826
- YouGatheredAndDropped = 814,
827
- YouHarvested = 815,
828
- YouHarvestedAndDropped = 816,
829
- YouHave = 817,
830
- YouHaveAlreadyLearned = 818,
831
- YouHaveDied = 819,
832
- YouHaveEnabledDisabled = 820,
833
- YouHaveHealedOther = 821,
834
- YouHaveKilled = 822,
835
- YouHaveReleased = 823,
836
- YouHaveTamed = 824,
837
- YouNeedMoreCredit = 825,
838
- YouNeedXToY = 826,
839
- YouNoticeBarren = 827,
840
- YouNoticeBecomeEnraged = 828,
841
- YouNoticeDying = 829,
842
- YouNoticeFertilityDecreasing = 830,
843
- YouNoticeFertilityIncreasing = 831,
844
- YouNoticeGrowing = 832,
845
- YouNoticeLavaCooling = 833,
846
- YouNoticeLavaHardening = 834,
847
- YouNoticePerish = 835,
848
- YouNoticePlantDamage = 836,
849
- YouNoticePlantRegenerated = 837,
850
- YouNoticeRegrowing = 838,
851
- YouNoticeStumbleInjureItself = 839,
852
- YouNoticeTakeFromGround = 840,
853
- YouNoticeWoundsClosing = 841,
854
- YouNoticeZombieHorde = 842,
855
- YouOfferedToCreature = 843,
856
- YouOpen = 844,
857
- YouPacked = 845,
858
- YouPickedUp = 846,
859
- YouRefine = 847,
860
- YouReinforce = 848,
861
- YouRepair = 849,
862
- YouReturnFromCivilizationWith = 850,
863
- YourFist = 851,
864
- YourHands = 852,
865
- YourHighSkill = 853,
866
- YourInventory = 854,
867
- YourIsland = 855,
868
- YourLowSkill = 856,
869
- YourModerateSkill = 857,
870
- YourRubbingNoEffect = 858,
871
- YouRub = 859,
872
- YouSee = 860,
873
- YouSeeALivingMushroomSpore = 861,
874
- YouSeeAnAberrant = 862,
875
- YouSeeASkeletonCollapse = 863,
876
- YouSeeASlimeCombine = 864,
877
- YouSeeAZombieBleeding = 865,
878
- YouSeeCoolDown = 866,
879
- YouSeeDrop = 867,
880
- YouSeeEngulfFire = 868,
881
- YouSeeFireSpread = 869,
882
- YouSeeHelpingPlant = 870,
883
- YouSeeLay = 871,
884
- YouSeeLayingTrap = 872,
885
- YouSeeSpewLava = 873,
886
- YouSeeSpitAcid = 874,
887
- YouSeeSpringForth = 875,
888
- YouSeeSummon = 876,
889
- YouSeeSwampFlood = 877,
890
- YouSeeTrampling = 878,
891
- YouSetTheTrapOff = 879,
892
- YouStokeTheFireElemental = 880,
893
- YouThrew = 881,
894
- YouTilled = 882,
895
- YouUnequip = 883,
896
- YouUsed = 884,
897
- YouWhileTraveling = 885
719
+ DryadSprouted = 707,
720
+ StoppedYourBleeding = 708,
721
+ StopUsingBoat = 709,
722
+ Strength = 710,
723
+ StrengthIncreasing = 711,
724
+ SummonedGuardiansByDiggingTreasure = 712,
725
+ SummonedGuardiansByLockpicking = 713,
726
+ SummonVoidDwellerItem = 714,
727
+ SummonVoidDwellerRinging = 715,
728
+ SummonVoidDwellerShiver = 716,
729
+ SunNotBrightEnoughToStartFire = 717,
730
+ Swimming = 718,
731
+ TakenFromGroundBecomeTamed = 719,
732
+ Tame = 720,
733
+ TamedCreature = 721,
734
+ TeleportBlocked = 722,
735
+ Teleported = 723,
736
+ ThanksBuying = 724,
737
+ ThanksSelling = 725,
738
+ TheCreature = 726,
739
+ TheirFist = 727,
740
+ ThePlant = 728,
741
+ ThereIsNoContainerOnTheStill = 729,
742
+ ThereIsNoSunToStartFire = 730,
743
+ ThisCannotBeMilked = 731,
744
+ Throw = 732,
745
+ ThrownIntoDepths = 733,
746
+ ThrownIntoObstacle = 734,
747
+ ThrownIntoVoid = 735,
748
+ Tier = 736,
749
+ TierGroup = 737,
750
+ Till = 738,
751
+ Tilling = 739,
752
+ TimeIs = 740,
753
+ TimeIsDawn = 741,
754
+ TimeIsDaytime = 742,
755
+ TimeIsDusk = 743,
756
+ TimeIsNighttime = 744,
757
+ TimeIsSunrise = 745,
758
+ TimeIsSunset = 746,
759
+ ToDamageAChest = 747,
760
+ ToFight = 748,
761
+ TooDamaged = 749,
762
+ TooExhaustedToJump = 750,
763
+ Touching = 751,
764
+ TradeBarterCreditForItem = 752,
765
+ TradeItemForBarterCredit = 753,
766
+ TradingWith = 754,
767
+ TrampledFire = 755,
768
+ TrampledIntoGround = 756,
769
+ TrampleIntoGround = 757,
770
+ Trampling = 758,
771
+ TransmogrificationNotPossible = 759,
772
+ Transmogrified = 760,
773
+ Transmogrify = 761,
774
+ TrapMissed = 762,
775
+ TrapStoppedYou = 763,
776
+ Traveling = 764,
777
+ TreasureIsBlocked = 765,
778
+ UnEquip = 766,
779
+ UnEquipAll = 767,
780
+ Unhitch = 768,
781
+ UnhitchCreature = 769,
782
+ Unknown = 770,
783
+ UnknownItem = 771,
784
+ Unlimited = 772,
785
+ UnlockedChest = 773,
786
+ UnlockedTime = 774,
787
+ UnpurifiedFreshWater = 775,
788
+ UnpurifiedWaterInStill = 776,
789
+ UsingBareHands = 777,
790
+ Vulnerable = 778,
791
+ WaitUntilFireCooledToGetWater = 779,
792
+ Water = 780,
793
+ WaterGathering = 781,
794
+ WaterPutOutFire = 782,
795
+ Weight = 783,
796
+ WellIsDry = 784,
797
+ WellIsFull = 785,
798
+ West = 786,
799
+ WestNorthwest = 787,
800
+ WestSouthwest = 788,
801
+ WildGoatRefusedToBeMilked = 789,
802
+ WillNotTrade = 790,
803
+ WithYouSee = 791,
804
+ WorkingYourselfIntoExhaustion = 792,
805
+ WorkingYourselfIntoExhaustionAndDrowning = 793,
806
+ Worth = 794,
807
+ You = 795,
808
+ YouApplied = 796,
809
+ YouAte = 797,
810
+ YouBeginResting = 798,
811
+ YouCannotDoThatYet = 799,
812
+ YouCanNowCombatTheTides = 800,
813
+ YouCooledLava = 801,
814
+ YouCrafted = 802,
815
+ YouDied = 803,
816
+ YouDoNotFindTreasureYet = 804,
817
+ YouDrank = 805,
818
+ YouDropTheTorch = 806,
819
+ YouEnchant = 807,
820
+ YouEquip = 808,
821
+ YouFailedTo = 809,
822
+ YouFailedToExtinguishedFireFully = 810,
823
+ YouFailedToHeal = 811,
824
+ YouFailedToHealOther = 812,
825
+ YouFire = 813,
826
+ YouGathered = 814,
827
+ YouGatheredAndDropped = 815,
828
+ YouHarvested = 816,
829
+ YouHarvestedAndDropped = 817,
830
+ YouHave = 818,
831
+ YouHaveAlreadyLearned = 819,
832
+ YouHaveDied = 820,
833
+ YouHaveEnabledDisabled = 821,
834
+ YouHaveHealedOther = 822,
835
+ YouHaveKilled = 823,
836
+ YouHaveReleased = 824,
837
+ YouHaveTamed = 825,
838
+ YouNeedMoreCredit = 826,
839
+ YouNeedXToY = 827,
840
+ YouNoticeBarren = 828,
841
+ YouNoticeBecomeEnraged = 829,
842
+ YouNoticeDying = 830,
843
+ YouNoticeFertilityDecreasing = 831,
844
+ YouNoticeFertilityIncreasing = 832,
845
+ YouNoticeGrowing = 833,
846
+ YouNoticeLavaCooling = 834,
847
+ YouNoticeLavaHardening = 835,
848
+ YouNoticePerish = 836,
849
+ YouNoticePlantDamage = 837,
850
+ YouNoticePlantRegenerated = 838,
851
+ YouNoticeRegrowing = 839,
852
+ YouNoticeStumbleInjureItself = 840,
853
+ YouNoticeTakeFromGround = 841,
854
+ YouNoticeWoundsClosing = 842,
855
+ YouNoticeZombieHorde = 843,
856
+ YouOfferedToCreature = 844,
857
+ YouOpen = 845,
858
+ YouPacked = 846,
859
+ YouPickedUp = 847,
860
+ YouRefine = 848,
861
+ YouReinforce = 849,
862
+ YouRepair = 850,
863
+ YouReturnFromCivilizationWith = 851,
864
+ YourFist = 852,
865
+ YourHands = 853,
866
+ YourHighSkill = 854,
867
+ YourInventory = 855,
868
+ YourIsland = 856,
869
+ YourLowSkill = 857,
870
+ YourModerateSkill = 858,
871
+ YourRubbingNoEffect = 859,
872
+ YouRub = 860,
873
+ YouSee = 861,
874
+ YouSeeALivingMushroomSpore = 862,
875
+ YouSeeAnAberrant = 863,
876
+ YouSeeASkeletonCollapse = 864,
877
+ YouSeeASlimeCombine = 865,
878
+ YouSeeAZombieBleeding = 866,
879
+ YouSeeCoolDown = 867,
880
+ YouSeeDrop = 868,
881
+ YouSeeEngulfFire = 869,
882
+ YouSeeFireSpread = 870,
883
+ YouSeeHelpingPlant = 871,
884
+ YouSeeLay = 872,
885
+ YouSeeLayingTrap = 873,
886
+ YouSeeSpewLava = 874,
887
+ YouSeeSpitAcid = 875,
888
+ YouSeeSpringForth = 876,
889
+ YouSeeSummon = 877,
890
+ YouSeeSwampFlood = 878,
891
+ YouSeeTrampling = 879,
892
+ YouSetTheTrapOff = 880,
893
+ YouStokeTheFireElemental = 881,
894
+ YouThrew = 882,
895
+ YouTilled = 883,
896
+ YouUnequip = 884,
897
+ YouUsed = 885,
898
+ YouWhileTraveling = 886
898
899
  }
899
900
  export default Message;
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.20211212.3",
4
+ "version": "2.11.0-beta.dev.20211213.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",