@wayward/types 2.15.4-beta.dev.20260403.1 → 2.15.4-beta.dev.20260407.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/curse/Curse.d.ts +9 -0
- package/definitions/game/game/curse/CurseEvent.d.ts +5 -0
- package/definitions/game/game/curse/event/CurseEventSuffusedWithMagic.d.ts +13 -0
- package/definitions/game/game/doodad/Doodad.d.ts +16 -1
- package/definitions/game/game/doodad/DoodadManager.d.ts +6 -1
- package/definitions/game/game/doodad/DoodadUtilities.d.ts +7 -2
- package/definitions/game/game/doodad/IDoodad.d.ts +1 -0
- package/definitions/game/game/doodad/IScarecrows.d.ts +12 -0
- package/definitions/game/game/entity/Human.d.ts +5 -0
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +3 -0
- package/definitions/game/game/inspection/infoProviders/Uses.d.ts +1 -0
- package/definitions/game/game/inspection/infoProviders/doodad/DoodadLightSource.d.ts +19 -0
- package/definitions/game/game/inspection/infoProviders/item/ItemUses.d.ts +1 -0
- package/definitions/game/game/inspection/infoProviders/item/use/ItemBuildInfo.d.ts +2 -2
- package/definitions/game/game/inspection/infoProviders/item/use/ItemCraftingIngredientInfo.d.ts +2 -2
- package/definitions/game/game/inspection/infoProviders/shared/SharedLightSourceInfo.d.ts +7 -23
- package/definitions/game/game/inspection/infoProviders/shared/SharedLitAndEquipmentUseInfo.d.ts +38 -0
- package/definitions/game/game/inspection/infoProviders/shared/SharedScareRadiusInfo.d.ts +19 -0
- package/definitions/game/game/inspection/inspections/DoodadInspection.d.ts +1 -0
- package/definitions/game/game/inspection/inspections/ItemInspection.d.ts +1 -0
- package/definitions/game/game/item/IItem.d.ts +2 -0
- package/definitions/game/game/item/Item.d.ts +39 -9
- package/definitions/game/game/item/ItemManager.d.ts +5 -0
- package/definitions/game/game/magic/IMagicalProperty.d.ts +3 -0
- package/definitions/game/game/milestones/IMilestone.d.ts +3 -1
- package/definitions/game/game/options/IGameOptions.d.ts +10 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Defiled.d.ts +17 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Warded.d.ts +17 -0
- package/definitions/game/game/tile/TileEventManager.d.ts +1 -0
- package/definitions/game/language/Dictionary.d.ts +112 -110
- package/definitions/game/language/DictionaryMap.d.ts +224 -220
- package/definitions/game/language/dictionary/Message.d.ts +696 -692
- package/definitions/game/language/dictionary/UiTranslation.d.ts +804 -801
- package/definitions/game/language/english/item/CursePropertyAffixes.d.ts +13 -0
- package/definitions/game/language/english/item/CurseSubPropertyAffixes.d.ts +13 -0
- package/definitions/game/save/SaveMetadata.d.ts +2 -4
- package/definitions/game/save/data/SaveData.d.ts +6 -4
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +7 -0
- package/definitions/test/suite/unitTests/game/ContainerBucketItemList.spec.d.ts +13 -0
- package/definitions/test/suite/unitTests/game/Curse.spec.d.ts +13 -0
- package/definitions/test/suite/unitTests/game/SaveLoad.spec.d.ts +13 -0
- package/definitions/utilities/random/SeededGenerator.d.ts +1 -0
- package/package.json +1 -1
|
@@ -81,7 +81,9 @@ export declare enum Milestone {
|
|
|
81
81
|
InternalItemDiscovered = 69,
|
|
82
82
|
Cursed = 70,
|
|
83
83
|
Cursebreaker = 71,
|
|
84
|
-
Oblivious = 72
|
|
84
|
+
Oblivious = 72,
|
|
85
|
+
Warded = 73,
|
|
86
|
+
Defiled = 74
|
|
85
87
|
}
|
|
86
88
|
export type ExcludeInternalMilestones<MILESTONE extends Milestone> = PickValueKeys<typeof Milestone, MILESTONE> extends `Internal${string}` ? never : MILESTONE;
|
|
87
89
|
export declare enum MilestoneVisibility {
|
|
@@ -49,6 +49,12 @@ export interface IGameOptions {
|
|
|
49
49
|
*/
|
|
50
50
|
applyTravelingEffects: boolean;
|
|
51
51
|
};
|
|
52
|
+
doodads: {
|
|
53
|
+
/**
|
|
54
|
+
* A bonus amount added to the scare radius of Curse Ward doodads.
|
|
55
|
+
*/
|
|
56
|
+
curseWardScareRadiusBonus: number;
|
|
57
|
+
};
|
|
52
58
|
creatures: {
|
|
53
59
|
/**
|
|
54
60
|
* Whether creatures attack when unprovoked
|
|
@@ -512,4 +518,8 @@ export interface IGameOptionsItemMagic {
|
|
|
512
518
|
* Disables `bonusChance` and `bonusChanceUsesContextualMultiplier`.
|
|
513
519
|
*/
|
|
514
520
|
randomizeAsRange: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* The chance that a magical property becomes a curse.
|
|
523
|
+
*/
|
|
524
|
+
curseChance: number;
|
|
515
525
|
}
|
|
@@ -28,6 +28,7 @@ import Curator from "@wayward/game/game/options/modifiers/milestone/modifiers/Cu
|
|
|
28
28
|
import Cursebreaker from "@wayward/game/game/options/modifiers/milestone/modifiers/Cursebreaker";
|
|
29
29
|
import Cursed from "@wayward/game/game/options/modifiers/milestone/modifiers/Cursed";
|
|
30
30
|
import Dedicated from "@wayward/game/game/options/modifiers/milestone/modifiers/Dedicated";
|
|
31
|
+
import Defiled from "@wayward/game/game/options/modifiers/milestone/modifiers/Defiled";
|
|
31
32
|
import DestroyerOfMagi from "@wayward/game/game/options/modifiers/milestone/modifiers/DestroyerOfMagi";
|
|
32
33
|
import Diverse from "@wayward/game/game/options/modifiers/milestone/modifiers/Diverse";
|
|
33
34
|
import Doctor from "@wayward/game/game/options/modifiers/milestone/modifiers/Doctor";
|
|
@@ -76,6 +77,7 @@ import TreasureHunter from "@wayward/game/game/options/modifiers/milestone/modif
|
|
|
76
77
|
import Treasurer from "@wayward/game/game/options/modifiers/milestone/modifiers/Treasurer";
|
|
77
78
|
import Turbulent from "@wayward/game/game/options/modifiers/milestone/modifiers/Turbulent";
|
|
78
79
|
import Versatile from "@wayward/game/game/options/modifiers/milestone/modifiers/Versatile";
|
|
80
|
+
import Warded from "@wayward/game/game/options/modifiers/milestone/modifiers/Warded";
|
|
79
81
|
import Weathered from "@wayward/game/game/options/modifiers/milestone/modifiers/Weathered";
|
|
80
82
|
import Translation from "@wayward/game/language/Translation";
|
|
81
83
|
export declare const milestoneModifiers: {
|
|
@@ -143,6 +145,8 @@ export declare const milestoneModifiers: {
|
|
|
143
145
|
65: typeof Turbulent;
|
|
144
146
|
50: typeof Versatile;
|
|
145
147
|
29: typeof Weathered;
|
|
148
|
+
73: typeof Warded;
|
|
149
|
+
74: typeof Defiled;
|
|
146
150
|
};
|
|
147
151
|
declare class MilestoneModifiersManager extends GameplayModifiersManager<MilestoneModifier, Milestone, [Human?]> {
|
|
148
152
|
constructor();
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { IGameOptionsPartial } from "@wayward/game/game/options/IGameOptions";
|
|
12
|
+
import { MilestoneModifierGroup } from "@wayward/game/game/options/modifiers/milestone/IMilestoneModifier";
|
|
13
|
+
import MilestoneModifier from "@wayward/game/game/options/modifiers/milestone/MilestoneModifier";
|
|
14
|
+
export default class Defiled extends MilestoneModifier {
|
|
15
|
+
getOptions(): IGameOptionsPartial;
|
|
16
|
+
getGroup(): MilestoneModifierGroup;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { IGameOptionsPartial } from "@wayward/game/game/options/IGameOptions";
|
|
12
|
+
import { MilestoneModifierGroup } from "@wayward/game/game/options/modifiers/milestone/IMilestoneModifier";
|
|
13
|
+
import MilestoneModifier from "@wayward/game/game/options/modifiers/milestone/MilestoneModifier";
|
|
14
|
+
export default class Warded extends MilestoneModifier {
|
|
15
|
+
getOptions(): IGameOptionsPartial;
|
|
16
|
+
getGroup(): MilestoneModifierGroup;
|
|
17
|
+
}
|
|
@@ -38,6 +38,7 @@ export default class TileEventManager extends EntityManager<TileEvent> {
|
|
|
38
38
|
createFake(type: TileEventType, tile: Tile, id?: number): TileEvent | undefined;
|
|
39
39
|
protected onRemove(tileEvent: TileEvent): boolean;
|
|
40
40
|
getFromTile(tile: Tile, type: TileEventType): TileEvent | undefined;
|
|
41
|
+
removeIfExpired(tileEvent: TileEvent): boolean;
|
|
41
42
|
/**
|
|
42
43
|
* Gets an array of tile events that have the water property at a given tile.
|
|
43
44
|
* @param tile Tile that you want to look at.
|
|
@@ -35,115 +35,117 @@ declare enum Dictionary {
|
|
|
35
35
|
CurseComponent = 23,
|
|
36
36
|
CurseEvent = 24,
|
|
37
37
|
CurseEventGroup = 25,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
38
|
+
CursePropertyAffix = 26,
|
|
39
|
+
CurseSubPropertyAffix = 27,
|
|
40
|
+
CustomModifier = 28,
|
|
41
|
+
DamageType = 29,
|
|
42
|
+
Deity = 30,
|
|
43
|
+
DeitySymbol = 31,
|
|
44
|
+
Dialog = 32,
|
|
45
|
+
Direction = 33,
|
|
46
|
+
DisplayLevel = 34,
|
|
47
|
+
DoctorCure = 35,
|
|
48
|
+
DoctorMethod = 36,
|
|
49
|
+
Doodad = 37,
|
|
50
|
+
DoodadExtra = 38,
|
|
51
|
+
DoodadGroup = 39,
|
|
52
|
+
DrawnMapTheme = 40,
|
|
53
|
+
DurabilityLevel = 41,
|
|
54
|
+
EquipEffect = 42,
|
|
55
|
+
EquipSlot = 43,
|
|
56
|
+
ExhaustionLevel = 44,
|
|
57
|
+
FireStage = 45,
|
|
58
|
+
FontStyle = 46,
|
|
59
|
+
GameEndMessage = 47,
|
|
60
|
+
GameMode = 48,
|
|
61
|
+
GameOptionsIcon = 49,
|
|
62
|
+
Growth = 50,
|
|
63
|
+
GrowthFungus = 51,
|
|
64
|
+
Health = 52,
|
|
65
|
+
HealthAccuracy = 53,
|
|
66
|
+
HelpArticle = 54,
|
|
67
|
+
HighscoreSort = 55,
|
|
68
|
+
HumanName = 56,
|
|
69
|
+
HungerLevel = 57,
|
|
70
|
+
Input = 58,
|
|
71
|
+
InspectType = 59,
|
|
72
|
+
InterruptChoice = 60,
|
|
73
|
+
IslandModifier = 61,
|
|
74
|
+
IslandName = 62,
|
|
75
|
+
IslandNameBiomeDescriptor = 63,
|
|
76
|
+
IslandNameBiomeNoun = 64,
|
|
77
|
+
IslandNameModifierDescriptor = 65,
|
|
78
|
+
IslandNameOverrunWithCreatureDescriptor = 66,
|
|
79
|
+
Item = 67,
|
|
80
|
+
ItemAffixPostReformat = 68,
|
|
81
|
+
ItemAffixPreReformat = 69,
|
|
82
|
+
ItemExtra = 70,
|
|
83
|
+
ItemGroup = 71,
|
|
84
|
+
JoinServerRetryReason = 72,
|
|
85
|
+
Label = 73,
|
|
86
|
+
Level = 74,
|
|
87
|
+
LighthouseName = 75,
|
|
88
|
+
Loading = 76,
|
|
89
|
+
Macro = 77,
|
|
90
|
+
MagicalPropertyAffix = 78,
|
|
91
|
+
MagicalPropertyType = 79,
|
|
92
|
+
MagicalSubPropertyAffix = 80,
|
|
93
|
+
MapQuality = 81,
|
|
94
|
+
MenuBarButton = 82,
|
|
95
|
+
Message = 83,
|
|
96
|
+
MessagesDefaultFilter = 84,
|
|
97
|
+
MessagesTimestampMode = 85,
|
|
98
|
+
Milestone = 86,
|
|
99
|
+
MilestoneModifierGroup = 87,
|
|
100
|
+
MilestoneSort = 88,
|
|
101
|
+
Misc = 89,
|
|
102
|
+
ModLoadError = 90,
|
|
103
|
+
ModLoadFailureReason = 91,
|
|
104
|
+
ModProvide = 92,
|
|
105
|
+
ModSort = 93,
|
|
106
|
+
ModType = 94,
|
|
107
|
+
MultiplayerCompatibility = 95,
|
|
108
|
+
MultiplayerDisconnectReason = 96,
|
|
109
|
+
MusicPlaylist = 97,
|
|
110
|
+
Note = 98,
|
|
111
|
+
Npc = 99,
|
|
112
|
+
Number = 100,
|
|
113
|
+
PartOfDay = 101,
|
|
114
|
+
Prompt = 102,
|
|
115
|
+
QuadrantComponent = 103,
|
|
116
|
+
QuadrantComponentContextMenuAction = 104,
|
|
117
|
+
Quality = 105,
|
|
118
|
+
Quest = 106,
|
|
119
|
+
QuestRequirement = 107,
|
|
120
|
+
RecipeLevel = 108,
|
|
121
|
+
Region = 109,
|
|
122
|
+
Riddle = 110,
|
|
123
|
+
RunekeeperDomain = 111,
|
|
124
|
+
RunekeeperDomainEvent = 112,
|
|
125
|
+
SaveImportErrorReason = 113,
|
|
126
|
+
SaveSlotSort = 114,
|
|
127
|
+
Skill = 115,
|
|
128
|
+
SkillsSort = 116,
|
|
129
|
+
Source = 117,
|
|
130
|
+
Stat = 118,
|
|
131
|
+
Status = 119,
|
|
132
|
+
StatusEffect = 120,
|
|
133
|
+
StatusThreatLevel = 121,
|
|
134
|
+
SteamInputKeyboardPosition = 122,
|
|
135
|
+
TeamMemberResponsibility = 123,
|
|
136
|
+
TemperatureType = 124,
|
|
137
|
+
Term = 125,
|
|
138
|
+
Terrain = 126,
|
|
139
|
+
ThirstLevel = 127,
|
|
140
|
+
TileEvent = 128,
|
|
141
|
+
TooltipVisibilityOption = 129,
|
|
142
|
+
Ui = 130,
|
|
143
|
+
UiQuadrant = 131,
|
|
144
|
+
UnableToJoinReason = 132,
|
|
145
|
+
UnlockedRecipesStrategy = 133,
|
|
146
|
+
UsableActionType = 134,
|
|
147
|
+
Website = 135,
|
|
148
|
+
WeightStatus = 136,
|
|
149
|
+
WorldLayer = 137
|
|
148
150
|
}
|
|
149
151
|
export default Dictionary;
|