@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.
- package/definitions/game/game/island/Island.d.ts +1 -1
- package/definitions/game/game/tile/Tile.d.ts +1 -0
- package/definitions/game/language/dictionary/Message.d.ts +103 -102
- package/definitions/game/renderer/notifier/INotifier.d.ts +2 -1
- package/definitions/game/renderer/notifier/Notifier.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -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.
|
|
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"
|