@wayward/types 2.15.3-beta.dev.20251221.1 → 2.15.3-beta.dev.20251223.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/.github/workflows/main.yml +1 -1
- 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 +179 -178
- package/definitions/game/renderer/notifier/INotifier.d.ts +2 -1
- package/definitions/game/renderer/notifier/Notifier.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +4 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ on:
|
|
|
8
8
|
env:
|
|
9
9
|
REPO_NAME: ${{ github.event.repository.name }}
|
|
10
10
|
EXTRA_RELEASE_ARGS: ${{ github.ref == 'refs/heads/development' && '--prerelease' || '' }}
|
|
11
|
-
EXTRA_NPM_ARGS: ${{ github.ref == 'refs/heads/development' && '--tag dev' || '' }}
|
|
11
|
+
EXTRA_NPM_ARGS: ${{ github.ref == 'refs/heads/development' && '--tag dev' || '--tag latest' }}
|
|
12
12
|
|
|
13
13
|
jobs:
|
|
14
14
|
release:
|
|
@@ -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
|
|
@@ -714,183 +714,184 @@ declare enum Message {
|
|
|
714
714
|
SummonVoidDwellerItem = 702,
|
|
715
715
|
SummonVoidDwellerRinging = 703,
|
|
716
716
|
SummonVoidDwellerShiver = 704,
|
|
717
|
-
|
|
718
|
-
|
|
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
|
-
|
|
717
|
+
VoidDwellerVanishes = 705,
|
|
718
|
+
SunNotBrightEnoughToStartFire = 706,
|
|
719
|
+
SwampWater = 707,
|
|
720
|
+
Swimming = 708,
|
|
721
|
+
TakenFromGroundBecomeTamed = 709,
|
|
722
|
+
TeleportBlocked = 710,
|
|
723
|
+
Teleported = 711,
|
|
724
|
+
TheirFist = 712,
|
|
725
|
+
TheirInventory = 713,
|
|
726
|
+
ThePlant = 714,
|
|
727
|
+
ThereIsNoContainerOnTheStill = 715,
|
|
728
|
+
ThereIsNoSunToStartFire = 716,
|
|
729
|
+
ThisCannotBeMilked = 717,
|
|
730
|
+
Throw = 718,
|
|
731
|
+
ThrownIntoDepths = 719,
|
|
732
|
+
ThrownIntoObstacle = 720,
|
|
733
|
+
ThrownIntoVoid = 721,
|
|
734
|
+
TierGroup = 722,
|
|
735
|
+
TileMakeCaveEntranceNearby = 723,
|
|
736
|
+
TileMakeCaveEntrancePassable = 724,
|
|
737
|
+
TileMakeCaveEntranceVoid = 725,
|
|
738
|
+
Till = 726,
|
|
739
|
+
Tilling = 727,
|
|
740
|
+
TimeIs = 728,
|
|
741
|
+
TimeIsDawn = 729,
|
|
742
|
+
TimeIsDaytime = 730,
|
|
743
|
+
TimeIsDusk = 731,
|
|
744
|
+
TimeIsNighttime = 732,
|
|
745
|
+
TimeIsSunrise = 733,
|
|
746
|
+
TimeIsSunset = 734,
|
|
747
|
+
ToFight = 735,
|
|
748
|
+
TooDamaged = 736,
|
|
749
|
+
TooExhaustedToJump = 737,
|
|
750
|
+
Touching = 738,
|
|
751
|
+
TrampledFire = 739,
|
|
752
|
+
TrampledFireFail = 740,
|
|
753
|
+
TrampledFirePartial = 741,
|
|
754
|
+
TrampledIntoGround = 742,
|
|
755
|
+
TrampleIntoGround = 743,
|
|
756
|
+
Trampling = 744,
|
|
757
|
+
TransmogrificationNoEffect = 745,
|
|
758
|
+
TransmogrificationNotPossible = 746,
|
|
759
|
+
Transmogrified = 747,
|
|
760
|
+
TrapMissed = 748,
|
|
761
|
+
TrapStoppedYou = 749,
|
|
762
|
+
Traveling = 750,
|
|
763
|
+
Treasure = 751,
|
|
764
|
+
TreasureIsBlocked = 752,
|
|
765
|
+
UiActionCannotUseInaccessibleItem = 753,
|
|
766
|
+
UiActionCannotUseInThisSituation = 754,
|
|
767
|
+
UiActionCannotUseNoItemHovered = 755,
|
|
768
|
+
UiActionCannotUseNotInRange = 756,
|
|
769
|
+
UiActionCannotUseOnThisIsland = 757,
|
|
770
|
+
UiActionCannotUseRequiresCreature = 758,
|
|
771
|
+
UiActionCannotUseRequiresDoodad = 759,
|
|
772
|
+
UiActionCannotUseRequiresItem = 760,
|
|
773
|
+
UiActionCannotUseRequiresNPC = 761,
|
|
774
|
+
UiActionCannotUseRequiresVehicle = 762,
|
|
775
|
+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue1 = 763,
|
|
776
|
+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue2 = 764,
|
|
777
|
+
UiDialogTradeIndicateTradeAlreadyTradedBuyDialogue3 = 765,
|
|
778
|
+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue1 = 766,
|
|
779
|
+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue2 = 767,
|
|
780
|
+
UiDialogTradeIndicateTradeAlreadyTradedSellDialogue3 = 768,
|
|
781
|
+
UiDialogTradeIndicateTradeTooMuchTradesDialogue1 = 769,
|
|
782
|
+
UiDialogTradeIndicateTradeTooMuchTradesDialogue2 = 770,
|
|
783
|
+
UiDialogTradeIndicateTradeTooMuchTradesDialogue3 = 771,
|
|
784
|
+
UnhitchCreature = 772,
|
|
785
|
+
Unknown = 773,
|
|
786
|
+
Unlimited = 774,
|
|
787
|
+
UnlockedChest = 775,
|
|
788
|
+
UnpurifiedFreshWater = 776,
|
|
789
|
+
UnpurifiedWaterInStill = 777,
|
|
790
|
+
UnpurifiedWaterInTop = 778,
|
|
791
|
+
Use = 779,
|
|
792
|
+
UsingBareHands = 780,
|
|
793
|
+
VehicleDefense = 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/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts
CHANGED
|
@@ -88,6 +88,10 @@ export default class ContainerBucketItemList extends Component implements ISorta
|
|
|
88
88
|
private readonly bucketRef;
|
|
89
89
|
get bucket(): ContainerBucket;
|
|
90
90
|
constructor(bucket: ContainerBucket, container?: IContainer);
|
|
91
|
+
/**
|
|
92
|
+
* This is required because ItemComponents might have created subscribers (i.e. registered highlights), which would remain even after this ContainerBucketItemList is removed since the child ItemComponents remain referenced by the highlights manager.
|
|
93
|
+
*/
|
|
94
|
+
protected onRemoved(): void;
|
|
91
95
|
private readonly activeReasons;
|
|
92
96
|
toggleActive(reason: string, active: boolean): void;
|
|
93
97
|
getSortableID(child: Component & Partial<ItemComponent>): number | undefined;
|
package/package.json
CHANGED