@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.
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +6 -1
- package/definitions/game/game/entity/creature/ICreature.d.ts +2 -1
- package/definitions/game/game/item/IItem.d.ts +7 -1
- package/definitions/game/game/item/LootGroups.d.ts +2 -1
- package/definitions/game/language/dictionary/Message.d.ts +180 -179
- package/package.json +1 -1
|
@@ -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
|
|
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
|
/**
|
|
@@ -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,
|
|
@@ -716,184 +716,185 @@ declare enum Message {
|
|
|
716
716
|
StillHasNoWaterToPurify = 704,
|
|
717
717
|
StirredUpClawWorm = 705,
|
|
718
718
|
StirredUpCreature = 706,
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
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