@wayward/types 2.14.7-beta.dev.20250820.1 → 2.14.7-beta.dev.20250821.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/entity/Human.d.ts +3 -3
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/entity/skill/SkillManager.d.ts +1 -1
- package/definitions/game/game/entity/status/IStatus.d.ts +14 -6
- package/definitions/game/game/entity/status/Status.d.ts +7 -1
- package/definitions/game/game/entity/status/statuses/Runekeeper.d.ts +13 -0
- package/definitions/game/game/entity/status/statuses/Statistician.d.ts +13 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/RunekeeperModifier.d.ts +1 -1
- package/definitions/game/language/dictionary/Misc.d.ts +5 -1
- package/definitions/game/save/upgrade/versions/beta2.14.7/beta.2.14.7-dev20250821.d.ts +12 -0
- package/definitions/game/ui/screen/screens/game/static/Stats.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/static/stats/component/Statuses.d.ts +2 -2
- package/package.json +1 -1
|
@@ -300,7 +300,7 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
|
|
|
300
300
|
* @param chance A chance multiplier on top of the base rune chance of 10% (an additional 30% chance may be added by theurgy)
|
|
301
301
|
* @returns whether the rune was given
|
|
302
302
|
*/
|
|
303
|
-
giveRune(deity: ArrayOr<DeityReal>, chance: number, domain: Runekeeper.DomainData, context: IActionContext): boolean;
|
|
303
|
+
giveRune(deity: ArrayOr<DeityReal>, chance: number, domain: Runekeeper.DomainData, context: IActionContext, times?: number): boolean;
|
|
304
304
|
private actuallyGiveRune;
|
|
305
305
|
/**
|
|
306
306
|
* All the milestones we need to check on game load.
|
|
@@ -440,12 +440,12 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
|
|
|
440
440
|
private getBaseStatBonuses;
|
|
441
441
|
private getSkillGainMultiplier;
|
|
442
442
|
private canSkillGain;
|
|
443
|
-
protected onSkillGain(skill: SkillType, fromValue: number, toValue: number, mod: number): void;
|
|
443
|
+
protected onSkillGain(skill: SkillType, fromValue: number, toValue: number, mod: number, times?: number): void;
|
|
444
444
|
setStatChangeTimerIgnoreDifficultyOptions(stat: Stat | IStat, timer: number, amt?: number): void;
|
|
445
445
|
/**
|
|
446
446
|
* Improve one of the core player stats
|
|
447
447
|
*/
|
|
448
|
-
protected statGain(stat: Stat | ISkillAttribute, bypass: boolean, sourceSkill?: SkillType): void;
|
|
448
|
+
protected statGain(stat: Stat | ISkillAttribute, bypass: boolean, sourceSkill?: SkillType, times?: number): void;
|
|
449
449
|
protected calculateStats(): void;
|
|
450
450
|
kill(): void;
|
|
451
451
|
protected resetDefense(skipStatChangedEvent?: boolean): void;
|
|
@@ -146,7 +146,7 @@ export declare const actionDescriptionsSlow: {
|
|
|
146
146
|
122: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "Hidden" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
|
|
147
147
|
136: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Creature], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("./argument/ActionArgumentEnum").default<import("../ai/AI").AiType, "None" | "Attack" | "Pacified" | "Idle" | "Neutral" | "Scared" | "Hostile" | "Fearless" | "HostileFearless" | "Alerted" | "Waiting" | "Hidden" | "CanSwapWith" | "CanSwapLayers" | "FollowClose" | "FollowFar" | "Stay" | "AttackAdjacent" | "AttackInSight" | "Defend" | "Heel">], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetCreatureAi").ISetCreatureAiCanUse, [import("../creature/Creature").default | undefined, import("../../item/Item").default | undefined, import("../ai/AI").AiType]>;
|
|
148
148
|
6: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/SetDown").ISetDownCanUse, [import("../../item/Item").default]>;
|
|
149
|
-
123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Navigator" | "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "
|
|
149
|
+
123: import("./Action").Action<[[import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("@wayward/game/game/entity/action/actions/SetTitle").TitleType, "Skill" | "Milestone">], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../../milestones/IMilestone").Milestone, "Navigator" | "Statistician" | "Runekeeper" | "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Afflicted" | "Exsanguinated" | "InternalItemDiscovered">, import("./argument/ActionArgumentEnum").default<import("../IHuman").SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(import("@wayward/game/game/entity/action/actions/SetTitle").TitleType | undefined)?, (import("../IHuman").SkillType | import("../../milestones/IMilestone").Milestone | undefined)?]>;
|
|
150
150
|
119: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.NPCNearby, [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Island, import("@wayward/game/game/entity/action/IAction").ActionArgument.Vector2], [arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.Integer32]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/ShipToIsland").IShipToIslandCanUse, [import("../npc/NPC").default, (import("../../island/Island").default | import("../../../utilities/math/IVector").IVector2 | undefined)?, (number | undefined)?]>;
|
|
151
151
|
94: import("./Action").Action<[import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemInventory], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Shoot").IShootCanUse, [import("../../item/Item").default]>;
|
|
152
152
|
11: import("./Action").Action<[[arg1: import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("@wayward/game/game/entity/action/IAction").ActionArgument.ItemNearby, import("@wayward/game/game/entity/action/IAction").ActionArgument.DoodadNearby], [import("@wayward/game/game/entity/action/IAction").ActionArgument.Undefined, import("./argument/ActionArgumentEnum").default<import("../IHuman").RestType, "Resting" | "Sleeping">]], import("../Human").default<unknown, number, import("../../reference/IReferenceManager").ReferenceType.NPC | import("../../reference/IReferenceManager").ReferenceType.Player>, void, import("@wayward/game/game/entity/action/actions/Rest").IRestCanUse, [(import("../../doodad/Doodad").default | import("../../item/Item").default | undefined)?, (import("../IHuman").RestType | undefined)?]>;
|
|
@@ -16,5 +16,5 @@ export declare enum TitleType {
|
|
|
16
16
|
Milestone = 0,
|
|
17
17
|
Skill = 1
|
|
18
18
|
}
|
|
19
|
-
declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Navigator" | "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "
|
|
19
|
+
declare const _default: Action<[[ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<TitleType, "Skill" | "Milestone">], [arg1: ActionArgument.Undefined, import("../argument/ActionArgumentEnum").default<Milestone, "Navigator" | "Statistician" | "Runekeeper" | "Abnormalizer" | "Chef" | "Exterminator" | "Crafter" | "Gardener" | "Gatherer" | "Hunter" | "Locksmith" | "ReaperOfSouls" | "Survivor" | "Pitcher" | "Trapsetter" | "TreasureHunter" | "Collector" | "Explorer" | "Grandmaster" | "Prepared" | "Doctor" | "Artificer" | "Returned" | "DragonSlayer" | "Treasurer" | "Pulchritudinous" | "Friendly" | "Malevolent" | "Benevolent" | "Boundless" | "Talented" | "Weathered" | "Seasoned" | "Pacifier" | "Merchant" | "Notekeeper" | "Operator" | "Huntsman" | "Contender" | "Challenger" | "DestroyerOfMagi" | "Helmsman" | "Multitasker" | "Apocryphal" | "Diverse" | "InternalDiscoveredBoats" | "Traitor" | "MasterOfAll" | "Rouseabout" | "Murderer" | "Retailer" | "Masochist" | "Versatile" | "InternalStatDiscovery" | "Dedicated" | "Hounded" | "Serene" | "InternalRuneOrAltarDiscovery" | "Curator" | "Thaumaturgic" | "InternalDeityDiscovery" | "InternalMerchantsDiscovery" | "InternalDeitySystemDiscovery" | "Invoker" | "InternalDeityInvoked" | "InternalInsulationDiscovery" | "Turbulent" | "Afflicted" | "Exsanguinated" | "InternalItemDiscovered">, import("../argument/ActionArgumentEnum").default<SkillType, "None" | "Chemistry" | "Anatomy" | "Marksmanship" | "Blacksmithing" | "Botany" | "Camping" | "Cartography" | "Claythrowing" | "Cooking" | "Fishing" | "Fletching" | "Glassblowing" | "Leatherworking" | "Lockpicking" | "Lumberjacking" | "Mining" | "Mycology" | "Parrying" | "Stonecrafting" | "Swimming" | "Tactics" | "Tailoring" | "Throwing" | "Tinkering" | "Trapping" | "Woodworking" | "Taming" | "Horticulture" | "Bartering" | "Seafaring" | "Thaumaturgy" | "DualWielding" | "Theurgy">]], import("../../player/Player").default, void, import("@wayward/game/game/entity/action/IAction").IActionUsable, [(TitleType | undefined)?, (SkillType | Milestone | undefined)?]>;
|
|
20
20
|
export default _default;
|
|
@@ -15,7 +15,7 @@ import type EventEmitter from "@wayward/utilities/event/EventEmitter";
|
|
|
15
15
|
export interface ISkillConfiguration {
|
|
16
16
|
getSkillGainMultiplier?(skill: SkillType): number;
|
|
17
17
|
canSkillGain?(skill: SkillType): boolean;
|
|
18
|
-
onSkillGain?(skill: SkillType, fromValue: number, toValue: number, mod: number): any;
|
|
18
|
+
onSkillGain?(skill: SkillType, fromValue: number, toValue: number, mod: number, times: number): any;
|
|
19
19
|
}
|
|
20
20
|
export interface ISkillEvents {
|
|
21
21
|
/**
|
|
@@ -31,6 +31,7 @@ export interface IStatusDescription {
|
|
|
31
31
|
relevantStat?: Stat;
|
|
32
32
|
levelledDictionary?: Dictionary;
|
|
33
33
|
sound?: SfxType | Record<number, SfxType>;
|
|
34
|
+
/** Defaults to neutral */
|
|
34
35
|
threatLevel?: StatusThreatLevel | Record<number, StatusThreatLevel>;
|
|
35
36
|
/** An optional list of status effect levels that will be displayed in the `StatusInspection` for inspecting the status type itself */
|
|
36
37
|
listedLevels?: number[];
|
|
@@ -55,6 +56,7 @@ export interface IStatusDescription {
|
|
|
55
56
|
onRemove?(status: Status, oldLevel: number, reason: StatusChangeReason): any;
|
|
56
57
|
onTreated?(status: Status, oldLevel: number): any;
|
|
57
58
|
onPassed?(status: Status, oldLevel: number): any;
|
|
59
|
+
refresh?(status: Status): any;
|
|
58
60
|
}
|
|
59
61
|
export interface IStatusIconDescription {
|
|
60
62
|
/**
|
|
@@ -82,7 +84,9 @@ export declare enum StatusType {
|
|
|
82
84
|
Freezing = 8,
|
|
83
85
|
Frostbitten = 9,
|
|
84
86
|
Pacified = 10,
|
|
85
|
-
Frenzied = 11
|
|
87
|
+
Frenzied = 11,
|
|
88
|
+
Statistician = 12,
|
|
89
|
+
Runekeeper = 13
|
|
86
90
|
}
|
|
87
91
|
export declare enum StatusApplicability {
|
|
88
92
|
None = 0,
|
|
@@ -102,22 +106,26 @@ export declare enum StatusEffectType {
|
|
|
102
106
|
DealingAroundXDamageY = 1,
|
|
103
107
|
DealingXDamageY = 2,
|
|
104
108
|
IncreasesXRate = 3,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
IncreasesXRateByY = 4,
|
|
110
|
+
LosingXEveryY = 5,
|
|
111
|
+
MovementSpeedSlowed = 6,
|
|
112
|
+
PercentChanceToPassEveryX = 7,
|
|
113
|
+
ReducesXByYEveryZ = 8,
|
|
114
|
+
XCannotBeRegained = 9,
|
|
115
|
+
CannotX = 10
|
|
110
116
|
}
|
|
111
117
|
export interface StatusEffectTypeArguments {
|
|
112
118
|
[StatusEffectType.AddsAChanceOfXOnY]: [effect: TranslationArg, on?: TranslationArg];
|
|
113
119
|
[StatusEffectType.DealingAroundXDamageY]: [amount?: TranslationArg, eventOrDuration?: TranslationArg];
|
|
114
120
|
[StatusEffectType.DealingXDamageY]: [amount?: TranslationArg, eventOrDuration?: TranslationArg];
|
|
115
121
|
[StatusEffectType.IncreasesXRate]: [increased: TranslationArg];
|
|
122
|
+
[StatusEffectType.IncreasesXRateByY]: [increased: TranslationArg, by: TranslationArg];
|
|
116
123
|
[StatusEffectType.LosingXEveryY]: [lost: TranslationArg, eventOrDuration?: TranslationArg];
|
|
117
124
|
[StatusEffectType.MovementSpeedSlowed]: [];
|
|
118
125
|
[StatusEffectType.PercentChanceToPassEveryX]: [percent: TranslationArg, eventOrDuration?: TranslationArg];
|
|
119
126
|
[StatusEffectType.ReducesXByYEveryZ]: [reduces: TranslationArg, amount: TranslationArg | undefined, eventOrDuration: TranslationArg];
|
|
120
127
|
[StatusEffectType.XCannotBeRegained]: [notRegainable: TranslationArg];
|
|
128
|
+
[StatusEffectType.CannotX]: [x: TranslationArg];
|
|
121
129
|
}
|
|
122
130
|
export declare enum StatusEffectGroup {
|
|
123
131
|
VeryBad = 0,
|
|
@@ -39,7 +39,13 @@ export declare enum StatusParticleEvent {
|
|
|
39
39
|
Passed = 2
|
|
40
40
|
}
|
|
41
41
|
export declare enum UiStatusType {
|
|
42
|
-
Cut = -100000
|
|
42
|
+
Cut = -100000,
|
|
43
|
+
RunekeeperEvil = -99999,
|
|
44
|
+
RunekeeperChaos = -99998,
|
|
45
|
+
RunekeeperGood = -99997,
|
|
46
|
+
StatisticianStrength = -99996,
|
|
47
|
+
StatisticianDexterity = -99995,
|
|
48
|
+
StatisticianMetabolism = -99994
|
|
43
49
|
}
|
|
44
50
|
export interface IStatusEvents {
|
|
45
51
|
tick(): any;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { IStatusDescription } from "@wayward/game/game/entity/status/IStatus";
|
|
12
|
+
declare const _default: IStatusDescription;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { IStatusDescription } from "@wayward/game/game/entity/status/IStatus";
|
|
12
|
+
declare const _default: IStatusDescription;
|
|
13
|
+
export default _default;
|
|
@@ -14,7 +14,7 @@ import MilestoneModifier, { MilestoneModifierGroup } from "@wayward/game/game/op
|
|
|
14
14
|
import type { TranslationArg } from "@wayward/game/language/ITranslation";
|
|
15
15
|
export default class Runekeeper extends MilestoneModifier {
|
|
16
16
|
getOptions(): IGameOptionsPartial;
|
|
17
|
-
|
|
17
|
+
getTranslationArgs(): TranslationArg[] | undefined;
|
|
18
18
|
getGroup(): MilestoneModifierGroup;
|
|
19
19
|
after: Milestone[];
|
|
20
20
|
}
|
|
@@ -206,7 +206,11 @@ export declare enum Term {
|
|
|
206
206
|
XTick = 15,
|
|
207
207
|
XtoYZ = 16,
|
|
208
208
|
XUndiscovered = 17,
|
|
209
|
-
XY = 18
|
|
209
|
+
XY = 18,
|
|
210
|
+
XGain = 19,
|
|
211
|
+
GainX = 20,
|
|
212
|
+
XReward = 21,
|
|
213
|
+
BeRewardedByX = 22
|
|
210
214
|
}
|
|
211
215
|
export declare enum Label {
|
|
212
216
|
LabelColonValue = 0,
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
declare const _default: import("@wayward/game/save/upgrade/UpgradeVersion").IUpgradeVersionDefinition<unknown>;
|
|
12
|
+
export default _default;
|
|
@@ -17,7 +17,8 @@ import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitte
|
|
|
17
17
|
export declare enum StatsClasses {
|
|
18
18
|
Quadrant = "stats-quadrant",
|
|
19
19
|
Main = "stats",
|
|
20
|
-
DiscoveryHint = "stats-discovery-hint"
|
|
20
|
+
DiscoveryHint = "stats-discovery-hint",
|
|
21
|
+
GenericStatuses = "stats-generic-statuses"
|
|
21
22
|
}
|
|
22
23
|
export default class StatsQuadrant extends QuadrantComponent {
|
|
23
24
|
static preferredQuadrant: Quadrant;
|
|
@@ -37,12 +37,12 @@ export interface IStatusesEvents extends Events<Component> {
|
|
|
37
37
|
update(): any;
|
|
38
38
|
}
|
|
39
39
|
export default class Statuses extends Component {
|
|
40
|
-
readonly stat?: Stat | undefined;
|
|
40
|
+
readonly stat?: (Stat | "all") | undefined;
|
|
41
41
|
event: IEventEmitter<this, IStatusesEvents>;
|
|
42
42
|
private readonly statusIcons;
|
|
43
43
|
private readonly entityRef;
|
|
44
44
|
get entity(): EntityWithStats | undefined;
|
|
45
|
-
constructor(entity: EntityWithStats, stat?: Stat | undefined);
|
|
45
|
+
constructor(entity: EntityWithStats, stat?: (Stat | "all") | undefined);
|
|
46
46
|
protected onToggleScreenshotMode(gameScreen: GameScreen, enabled: boolean): void;
|
|
47
47
|
/**
|
|
48
48
|
* Event handler for the status effects of this entity changing
|
package/package.json
CHANGED