@wayward/types 2.15.4-beta.dev.20260407.1 → 2.15.4-beta.dev.20260408.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.
@@ -202,6 +202,8 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
202
202
  canPickUp(human: Human): boolean;
203
203
  getPickUpTypes(): ItemType[] | undefined;
204
204
  getAssociatedItem(): ItemType | ItemTypeExtra;
205
+ static getAvailableActions(type: DoodadType, description: IDoodadDescription): ActionType[];
206
+ private static canCraft;
205
207
  getActions(): ActionType[] | undefined;
206
208
  /**
207
209
  * Can the doodad be gathered from in its current form?
@@ -8,16 +8,16 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type Doodad from "@wayward/game/game/doodad/Doodad";
12
- import type { DoodadType, IDoodadDescription } from "@wayward/game/game/doodad/IDoodad";
13
- import { ActionType } from "@wayward/game/game/entity/action/IAction";
11
+ import Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { type DoodadType, type IDoodadDescription } from "@wayward/game/game/doodad/IDoodad";
13
+ import type { ActionType } from "@wayward/game/game/entity/action/IAction";
14
14
  import { EntityType } from "@wayward/game/game/entity/IEntity";
15
- import type { IUseInfoBase } from "@wayward/game/game/inspection/infoProviders/UseInfo";
16
15
  import type UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
17
16
  import Uses from "@wayward/game/game/inspection/infoProviders/Uses";
18
17
  export default class DoodadUses extends Uses<Doodad> {
19
18
  protected getEntityType(): EntityType.Doodad;
20
19
  protected getDescription(type: DoodadType): IDoodadDescription | undefined;
21
20
  protected getUses(description: IDoodadDescription): ActionType[];
22
- protected getUseInfoHandlers(): Array<UseInfo<IUseInfoBase<Doodad, ActionType.StartFire | ActionType.Ignite | ActionType.Equip>, ActionType.StartFire | ActionType.Ignite | ActionType.Equip, {}, Doodad>>;
21
+ protected getUseInfoHandlers(): Array<UseInfo<any, any, any, Doodad>>;
22
+ private getDescriptionActions;
23
23
  }
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { ActionType } from "@wayward/game/game/entity/action/IAction";
13
+ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
14
+ declare const _default: UseInfo<import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Doodad, ActionType.AttachContainer>, ActionType.AttachContainer, {}, Doodad>;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { ActionType } from "@wayward/game/game/entity/action/IAction";
13
+ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
14
+ declare const _default: UseInfo<import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Doodad, ActionType.DisplayItem>, ActionType.DisplayItem, {}, Doodad>;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { ActionType } from "@wayward/game/game/entity/action/IAction";
13
+ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
14
+ declare const _default: UseInfo<import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Doodad, ActionType.Gather>, ActionType.Gather, {}, Doodad>;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { ActionType } from "@wayward/game/game/entity/action/IAction";
13
+ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
14
+ declare const _default: UseInfo<import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Doodad, ActionType.Hitch>, ActionType.Hitch, {}, Doodad>;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { ActionType } from "@wayward/game/game/entity/action/IAction";
13
+ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
14
+ declare const _default: UseInfo<import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Doodad, ActionType.Lockpick>, ActionType.Lockpick, {}, Doodad>;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { ActionType } from "@wayward/game/game/entity/action/IAction";
13
+ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
14
+ declare const _default: UseInfo<import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Doodad, ActionType.Pour>, ActionType.Pour, {}, Doodad>;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type Doodad from "@wayward/game/game/doodad/Doodad";
12
+ import { ActionType } from "@wayward/game/game/entity/action/IAction";
13
+ import UseInfo from "@wayward/game/game/inspection/infoProviders/UseInfo";
14
+ declare const _default: UseInfo<import("@wayward/game/game/inspection/infoProviders/UseInfo").IUseInfoBase<Doodad, ActionType.TestDepth>, ActionType.TestDepth, {}, Doodad>;
15
+ export default _default;
@@ -0,0 +1,28 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ import type { ActionType } from "@wayward/game/game/entity/action/IAction";
12
+ import LabelledValue from "@wayward/game/game/inspection/infoProviders/LabelledValue";
13
+ import type { ItemType, ItemTypeGroup } from "@wayward/game/game/item/IItem";
14
+ import UiTranslation from "@wayward/game/language/dictionary/UiTranslation";
15
+ import Translation from "@wayward/game/language/Translation";
16
+ export interface IRequirementInfoType {
17
+ item: ItemType;
18
+ itemGroup: ItemTypeGroup;
19
+ actionItem: ActionType;
20
+ other: UiTranslation;
21
+ }
22
+ interface SharedRequirementInfo {
23
+ add<TYPE extends keyof IRequirementInfoType>(type: TYPE, value: IRequirementInfoType[TYPE]): this;
24
+ toTranslation(): Translation;
25
+ toInfoProvider(): LabelledValue;
26
+ }
27
+ declare function SharedRequirementInfo<TYPE extends keyof IRequirementInfoType>(type: TYPE, value: IRequirementInfoType[TYPE]): SharedRequirementInfo;
28
+ export default SharedRequirementInfo;
@@ -96,6 +96,7 @@ export declare const milestoneModifiers: {
96
96
  71: typeof Cursebreaker;
97
97
  70: typeof Cursed;
98
98
  52: typeof Dedicated;
99
+ 74: typeof Defiled;
99
100
  38: typeof DestroyerOfMagi;
100
101
  42: typeof Diverse;
101
102
  17: typeof Doctor;
@@ -144,9 +145,8 @@ export declare const milestoneModifiers: {
144
145
  22: typeof Treasurer;
145
146
  65: typeof Turbulent;
146
147
  50: typeof Versatile;
147
- 29: typeof Weathered;
148
148
  73: typeof Warded;
149
- 74: typeof Defiled;
149
+ 29: typeof Weathered;
150
150
  };
151
151
  declare class MilestoneModifiersManager extends GameplayModifiersManager<MilestoneModifier, Milestone, [Human?]> {
152
152
  constructor();
@@ -830,68 +830,68 @@ declare enum Message {
830
830
  YouFailedToHealOther = 818,
831
831
  YouFire = 819,
832
832
  YouGathered = 820,
833
- YouHarvested = 821,
834
- YouHave = 822,
835
- YouHaveAlreadyLearned = 823,
836
- YouHaveBeenCut = 824,
837
- YouHaveCaged = 825,
838
- YouHaveCommanded = 826,
839
- YouHaveDied = 827,
840
- YouHaveHarmedOther = 828,
841
- YouHaveHealedOther = 829,
842
- YouHaveKilled = 830,
843
- YouHaveNotCommanded = 831,
844
- YouHaveReleased = 832,
845
- YouHaveSummoned = 833,
846
- YouHaveTamed = 834,
847
- YouHaveUncaged = 835,
848
- YouNoticeBecomeEnraged = 836,
849
- YouNoticeDying = 837,
850
- YouNoticeFertilityDecreasing = 838,
851
- YouNoticeFertilityIncreasing = 839,
852
- YouNoticeGrowing = 840,
853
- YouNoticeLavaCooling = 841,
854
- YouNoticeLavaHardening = 842,
855
- YouNoticePerish = 843,
856
- YouNoticePlantDamage = 844,
857
- YouNoticePlantRegenerated = 845,
858
- YouNoticeStumbleInjureItself = 846,
859
- YouNoticeTakeFromGround = 847,
860
- YouNoticeWoundsClosing = 848,
861
- YouOfferedToCreature = 849,
862
- YouOfferedToCreatureRejects = 850,
863
- YouOpen = 851,
864
- YouPacked = 852,
865
- YouPickedUp = 853,
866
- YouRefine = 854,
867
- YouReinforce = 855,
868
- YouRepair = 856,
869
- YouReturnFromCivilizationWith = 857,
870
- YourFist = 858,
871
- YourHands = 859,
872
- YourInventory = 860,
873
- YourIsland = 861,
874
- YouSeeALivingMushroomSpore = 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
- YouSeeSpiderSpin = 874,
887
- YouSeeSpitAcid = 875,
888
- YouSeeSpringForth = 876,
889
- YouSeeSummon = 877,
890
- YouSeeSwampFlood = 878,
891
- YouSeeTrampling = 879,
892
- YouSetTheTrapOff = 880,
893
- YouStokeTheCreature = 881,
894
- YouHarmTheCreatureByStoking = 882,
833
+ YouHarmTheCreatureByStoking = 821,
834
+ YouHarvested = 822,
835
+ YouHave = 823,
836
+ YouHaveAlreadyLearned = 824,
837
+ YouHaveBeenCut = 825,
838
+ YouHaveCaged = 826,
839
+ YouHaveCommanded = 827,
840
+ YouHaveDied = 828,
841
+ YouHaveHarmedOther = 829,
842
+ YouHaveHealedOther = 830,
843
+ YouHaveKilled = 831,
844
+ YouHaveNotCommanded = 832,
845
+ YouHaveReleased = 833,
846
+ YouHaveSummoned = 834,
847
+ YouHaveTamed = 835,
848
+ YouHaveUncaged = 836,
849
+ YouNoticeBecomeEnraged = 837,
850
+ YouNoticeDying = 838,
851
+ YouNoticeFertilityDecreasing = 839,
852
+ YouNoticeFertilityIncreasing = 840,
853
+ YouNoticeGrowing = 841,
854
+ YouNoticeLavaCooling = 842,
855
+ YouNoticeLavaHardening = 843,
856
+ YouNoticePerish = 844,
857
+ YouNoticePlantDamage = 845,
858
+ YouNoticePlantRegenerated = 846,
859
+ YouNoticeStumbleInjureItself = 847,
860
+ YouNoticeTakeFromGround = 848,
861
+ YouNoticeWoundsClosing = 849,
862
+ YouOfferedToCreature = 850,
863
+ YouOfferedToCreatureRejects = 851,
864
+ YouOpen = 852,
865
+ YouPacked = 853,
866
+ YouPickedUp = 854,
867
+ YouRefine = 855,
868
+ YouReinforce = 856,
869
+ YouRepair = 857,
870
+ YouReturnFromCivilizationWith = 858,
871
+ YourFist = 859,
872
+ YourHands = 860,
873
+ YourInventory = 861,
874
+ YourIsland = 862,
875
+ YouSeeALivingMushroomSpore = 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
+ YouSeeSpiderSpin = 875,
888
+ YouSeeSpitAcid = 876,
889
+ YouSeeSpringForth = 877,
890
+ YouSeeSummon = 878,
891
+ YouSeeSwampFlood = 879,
892
+ YouSeeTrampling = 880,
893
+ YouSetTheTrapOff = 881,
894
+ YouStokeTheCreature = 882,
895
895
  YouSwapMainHandAndOffHand = 883,
896
896
  YouThrew = 884,
897
897
  YouTilled = 885,