@wayward/types 2.15.3-beta.dev.20251222.1 → 2.15.3-beta.dev.20251224.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.
@@ -18,7 +18,7 @@ import Human from "@wayward/game/game/entity/Human";
18
18
  import type { SkillType } from "../entity/skill/ISkills";
19
19
  import Creature from "@wayward/game/game/entity/creature/Creature";
20
20
  import CreatureManager from "@wayward/game/game/entity/creature/CreatureManager";
21
- import type { IDamageInfo, IDamageOutcome, IDamageOutcomeInput } from "@wayward/game/game/entity/creature/ICreature";
21
+ import { type IDamageInfo, type IDamageOutcome, type IDamageOutcomeInput } from "@wayward/game/game/entity/creature/ICreature";
22
22
  import CorpseManager from "@wayward/game/game/entity/creature/corpse/CorpseManager";
23
23
  import CreatureZoneManager from "@wayward/game/game/entity/creature/zone/CreatureZoneManager";
24
24
  import FlowFieldManager from "@wayward/game/game/entity/flowfield/FlowFieldManager";
@@ -469,6 +469,7 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
469
469
  */
470
470
  getPreferredAdjacentTile(human: Human, clientSide: boolean): Tile | undefined;
471
471
  tilesInRange(type: DistanceType, range: number, includeCurrentTile?: boolean): Tile[];
472
+ squareSpiralOutwards(includeCurrentTile?: boolean): Generator<Tile>;
472
473
  openTileInRange(type: DistanceType, range: number, includeCurrentTile?: boolean, excludeWater?: boolean): Tile | undefined;
473
474
  /**
474
475
  * Array version of tilesAround
@@ -790,107 +790,108 @@ declare enum Message {
790
790
  Use = 778,
791
791
  UsingBareHands = 779,
792
792
  VehicleDefense = 780,
793
- Vulnerable = 781,
794
- Water = 782,
795
- WaterGathering = 783,
796
- WaterPutOutFire = 784,
797
- WellIsDry = 785,
798
- WellIsFull = 786,
799
- WildGoatRefusedToBeMilked = 787,
800
- WorkingYourselfIntoExhaustion = 788,
801
- WorkingYourselfIntoExhaustionAndDrowning = 789,
802
- WorldContainer = 790,
803
- You = 791,
804
- YouAbsorb = 792,
805
- YouApplied = 793,
806
- YouAreAlready = 794,
807
- YouAte = 795,
808
- YouBeginResting = 796,
809
- YouCannotDoThatYet = 797,
810
- YouCanNowCombatTheTides = 798,
811
- YouCrafted = 799,
812
- YouDoNotFindTreasureYet = 800,
813
- YouDrank = 801,
814
- YouDropTheTorch = 802,
815
- YouEnchant = 803,
816
- YouEquip = 804,
817
- YouExude = 805,
818
- YouExudeSome = 806,
819
- YouExudeSomeReasonConflicting = 807,
820
- YouExudeSomeReasonMax = 808,
821
- YouExudeSomeReasonProperties = 809,
822
- YouFailedTo = 810,
823
- YouFailedToExtinguishedFireFully = 811,
824
- YouFailedToHeal = 812,
825
- YouFailedToHealOther = 813,
826
- YouFire = 814,
827
- YouGathered = 815,
828
- YouHarvested = 816,
829
- YouHave = 817,
830
- YouHaveAlreadyLearned = 818,
831
- YouHaveBeenCut = 819,
832
- YouHaveCaged = 820,
833
- YouHaveCommanded = 821,
834
- YouHaveDied = 822,
835
- YouHaveHealedOther = 823,
836
- YouHaveKilled = 824,
837
- YouHaveNotCommanded = 825,
838
- YouHaveReleased = 826,
839
- YouHaveSummoned = 827,
840
- YouHaveTamed = 828,
841
- YouHaveUncaged = 829,
842
- YouNoticeBecomeEnraged = 830,
843
- YouNoticeDying = 831,
844
- YouNoticeFertilityDecreasing = 832,
845
- YouNoticeFertilityIncreasing = 833,
846
- YouNoticeGrowing = 834,
847
- YouNoticeLavaCooling = 835,
848
- YouNoticeLavaHardening = 836,
849
- YouNoticePerish = 837,
850
- YouNoticePlantDamage = 838,
851
- YouNoticePlantRegenerated = 839,
852
- YouNoticeStumbleInjureItself = 840,
853
- YouNoticeTakeFromGround = 841,
854
- YouNoticeWoundsClosing = 842,
855
- YouOfferedToCreature = 843,
856
- YouOfferedToCreatureRejects = 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
- YourInventory = 854,
867
- YourIsland = 855,
868
- YouSeeALivingMushroomSpore = 856,
869
- YouSeeASkeletonCollapse = 857,
870
- YouSeeASlimeCombine = 858,
871
- YouSeeAZombieBleeding = 859,
872
- YouSeeCoolDown = 860,
873
- YouSeeDrop = 861,
874
- YouSeeEngulfFire = 862,
875
- YouSeeFireSpread = 863,
876
- YouSeeHelpingPlant = 864,
877
- YouSeeLay = 865,
878
- YouSeeLayingTrap = 866,
879
- YouSeeSpewLava = 867,
880
- YouSeeSpiderSpin = 868,
881
- YouSeeSpitAcid = 869,
882
- YouSeeSpringForth = 870,
883
- YouSeeSummon = 871,
884
- YouSeeSwampFlood = 872,
885
- YouSeeTrampling = 873,
886
- YouSetTheTrapOff = 874,
887
- YouStokeTheCreature = 875,
888
- YouSwapMainHandAndOffHand = 876,
889
- YouThrew = 877,
890
- YouTilled = 878,
891
- YouUnequip = 879,
892
- YouUsed = 880,
893
- YouViewTheItemsOn = 881,
894
- YouWhileTraveling = 882
793
+ VoidDwellerVanishes = 781,
794
+ Vulnerable = 782,
795
+ Water = 783,
796
+ WaterGathering = 784,
797
+ WaterPutOutFire = 785,
798
+ WellIsDry = 786,
799
+ WellIsFull = 787,
800
+ WildGoatRefusedToBeMilked = 788,
801
+ WorkingYourselfIntoExhaustion = 789,
802
+ WorkingYourselfIntoExhaustionAndDrowning = 790,
803
+ WorldContainer = 791,
804
+ You = 792,
805
+ YouAbsorb = 793,
806
+ YouApplied = 794,
807
+ YouAreAlready = 795,
808
+ YouAte = 796,
809
+ YouBeginResting = 797,
810
+ YouCannotDoThatYet = 798,
811
+ YouCanNowCombatTheTides = 799,
812
+ YouCrafted = 800,
813
+ YouDoNotFindTreasureYet = 801,
814
+ YouDrank = 802,
815
+ YouDropTheTorch = 803,
816
+ YouEnchant = 804,
817
+ YouEquip = 805,
818
+ YouExude = 806,
819
+ YouExudeSome = 807,
820
+ YouExudeSomeReasonConflicting = 808,
821
+ YouExudeSomeReasonMax = 809,
822
+ YouExudeSomeReasonProperties = 810,
823
+ YouFailedTo = 811,
824
+ YouFailedToExtinguishedFireFully = 812,
825
+ YouFailedToHeal = 813,
826
+ YouFailedToHealOther = 814,
827
+ YouFire = 815,
828
+ YouGathered = 816,
829
+ YouHarvested = 817,
830
+ YouHave = 818,
831
+ YouHaveAlreadyLearned = 819,
832
+ YouHaveBeenCut = 820,
833
+ YouHaveCaged = 821,
834
+ YouHaveCommanded = 822,
835
+ YouHaveDied = 823,
836
+ YouHaveHealedOther = 824,
837
+ YouHaveKilled = 825,
838
+ YouHaveNotCommanded = 826,
839
+ YouHaveReleased = 827,
840
+ YouHaveSummoned = 828,
841
+ YouHaveTamed = 829,
842
+ YouHaveUncaged = 830,
843
+ YouNoticeBecomeEnraged = 831,
844
+ YouNoticeDying = 832,
845
+ YouNoticeFertilityDecreasing = 833,
846
+ YouNoticeFertilityIncreasing = 834,
847
+ YouNoticeGrowing = 835,
848
+ YouNoticeLavaCooling = 836,
849
+ YouNoticeLavaHardening = 837,
850
+ YouNoticePerish = 838,
851
+ YouNoticePlantDamage = 839,
852
+ YouNoticePlantRegenerated = 840,
853
+ YouNoticeStumbleInjureItself = 841,
854
+ YouNoticeTakeFromGround = 842,
855
+ YouNoticeWoundsClosing = 843,
856
+ YouOfferedToCreature = 844,
857
+ YouOfferedToCreatureRejects = 845,
858
+ YouOpen = 846,
859
+ YouPacked = 847,
860
+ YouPickedUp = 848,
861
+ YouRefine = 849,
862
+ YouReinforce = 850,
863
+ YouRepair = 851,
864
+ YouReturnFromCivilizationWith = 852,
865
+ YourFist = 853,
866
+ YourHands = 854,
867
+ YourInventory = 855,
868
+ YourIsland = 856,
869
+ YouSeeALivingMushroomSpore = 857,
870
+ YouSeeASkeletonCollapse = 858,
871
+ YouSeeASlimeCombine = 859,
872
+ YouSeeAZombieBleeding = 860,
873
+ YouSeeCoolDown = 861,
874
+ YouSeeDrop = 862,
875
+ YouSeeEngulfFire = 863,
876
+ YouSeeFireSpread = 864,
877
+ YouSeeHelpingPlant = 865,
878
+ YouSeeLay = 866,
879
+ YouSeeLayingTrap = 867,
880
+ YouSeeSpewLava = 868,
881
+ YouSeeSpiderSpin = 869,
882
+ YouSeeSpitAcid = 870,
883
+ YouSeeSpringForth = 871,
884
+ YouSeeSummon = 872,
885
+ YouSeeSwampFlood = 873,
886
+ YouSeeTrampling = 874,
887
+ YouSetTheTrapOff = 875,
888
+ YouStokeTheCreature = 876,
889
+ YouSwapMainHandAndOffHand = 877,
890
+ YouThrew = 878,
891
+ YouTilled = 879,
892
+ YouUnequip = 880,
893
+ YouUsed = 881,
894
+ YouViewTheItemsOn = 882,
895
+ YouWhileTraveling = 883
895
896
  }
896
897
  export default Message;
@@ -59,7 +59,8 @@ export declare enum NotifierIconType {
59
59
  ItemDecay = 5,
60
60
  Talk = 6,
61
61
  DualWieldEnabled = 7,
62
- DualWieldDisabled = 8
62
+ DualWieldDisabled = 8,
63
+ Ringing = 9
63
64
  }
64
65
  export declare enum MarkerType {
65
66
  Tamed = 0,
@@ -31,6 +31,7 @@ export declare class Notifier {
31
31
  constructor(context: IRendererContext, capacity: number);
32
32
  setResources(resourceContainer: IResourceContainer): void;
33
33
  clear(): void;
34
+ clearFor(location: INotificationLocation): void;
34
35
  delete(): void;
35
36
  addItem(location: INotificationLocation, itemNotifierType: ItemNotifierType, type: DisplayableItemType, baseType?: DisplayableItemType): void;
36
37
  addCreature(location: INotificationLocation, creatureNotifierType: CreatureNotifierType, type: CreatureType, aberrant?: boolean): void;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.15.3-beta.dev.20251222.1",
4
+ "version": "2.15.3-beta.dev.20251224.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/WaywardGame/types.git"
8
+ "url": "git+https://github.com/WaywardGame/types.git"
9
9
  },
10
10
  "scripts": {
11
11
  "clean": "npx rimraf ./definitions ./*.tsbuildinfo"