@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.
- package/definitions/game/game/doodad/Doodad.d.ts +2 -0
- package/definitions/game/game/inspection/infoProviders/doodad/DoodadUses.d.ts +5 -5
- package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadAttachContainerInfo.d.ts +15 -0
- package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadDisplayItemsInfo.d.ts +15 -0
- package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadGatherInfo.d.ts +15 -0
- package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadHitchInfo.d.ts +15 -0
- package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadLockpickInfo.d.ts +15 -0
- package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadPourInfo.d.ts +15 -0
- package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadTestDepthInfo.d.ts +15 -0
- package/definitions/game/game/inspection/infoProviders/shared/SharedRequirementInfo.d.ts +28 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +2 -2
- package/definitions/game/language/dictionary/Message.d.ts +62 -62
- package/definitions/game/language/dictionary/UiTranslation.d.ts +803 -801
- package/definitions/utilities/string/TextFileFormatting.d.ts +8 -0
- package/package.json +1 -1
|
@@ -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
|
|
12
|
-
import type
|
|
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<
|
|
21
|
+
protected getUseInfoHandlers(): Array<UseInfo<any, any, any, Doodad>>;
|
|
22
|
+
private getDescriptionActions;
|
|
23
23
|
}
|
package/definitions/game/game/inspection/infoProviders/doodad/use/DoodadAttachContainerInfo.d.ts
ADDED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|