@wayward/types 2.15.0-beta.dev.20251021.1 → 2.15.0-beta.dev.20251023.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/Game.d.ts +1 -0
- package/definitions/game/game/curse/Curse.d.ts +2 -1
- package/definitions/game/game/curse/CurseEvent.d.ts +11 -0
- package/definitions/game/game/curse/event/CurseEventHatedByTheWilds.d.ts +18 -0
- package/definitions/game/game/curse/event/CurseEventLovedByTheWilds.d.ts +18 -0
- package/definitions/game/game/doodad/Doodad.d.ts +8 -1
- package/definitions/game/game/entity/ai/AI.d.ts +11 -7
- package/definitions/game/game/entity/creature/Creature.d.ts +3 -1
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +1 -1
- package/definitions/game/game/options/modifiers/custom/CustomModifierDefinitions.d.ts +117 -0
- package/definitions/game/game/options/modifiers/custom/ICustomModifier.d.ts +78 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatureSpawnLimit.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatureSpawnRate.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatures.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreaturesOther.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierItemDecay.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierItemDurability.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkills.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsGainMultiplierGlobal.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsInitialValueGlobal.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsStartCount.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStartingBiome.d.ts +14 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatGeneric.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatLuck.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatStrength.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatusGeneric.d.ts +15 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayLength.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayPercent.d.ts +13 -0
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeInitial.d.ts +13 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +1 -1
- package/definitions/game/game/time/TimeManager.d.ts +2 -0
- package/definitions/game/language/Dictionary.d.ts +110 -108
- package/definitions/game/language/DictionaryMap.d.ts +220 -214
- package/definitions/game/language/Translation.d.ts +1 -0
- package/definitions/game/language/dictionary/Message.d.ts +562 -564
- package/definitions/game/language/dictionary/Misc.d.ts +4 -0
- package/definitions/game/language/dictionary/UiTranslation.d.ts +824 -863
- package/definitions/game/language/english/game/CustomModifiers.d.ts +13 -0
- package/definitions/game/language/english/game/GameOptionsIcons.d.ts +13 -0
- package/definitions/game/ui/Ui.d.ts +3 -0
- package/definitions/game/ui/component/GameIcons.d.ts +4 -3
- package/definitions/game/ui/input/Bindable.d.ts +24 -23
- package/definitions/game/ui/screen/screens/game/InspectionsTooltipHandler.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/component/GameDetails.d.ts +4 -4
- package/definitions/game/ui/screen/screens/menu/menus/MainMenu.d.ts +7 -1
- package/definitions/game/ui/screen/screens/menu/menus/newgame/CustomGameOptionsMenu.d.ts +4 -3
- package/definitions/game/ui/screen/screens/menu/menus/newgame/TabGameMode.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/CustomGameOptionsTab.d.ts +12 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabCreatures.d.ts +2 -3
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabGeneral.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabItems.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabSkills.d.ts +2 -3
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStats.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStatuses.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTime.d.ts +2 -5
- package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTravel.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/pause/GameOptionsIcons.d.ts +2 -11
- package/definitions/game/ui/tooltip/TooltipManager.d.ts +1 -0
- package/definitions/game/utilities/object/Merge.d.ts +5 -0
- package/definitions/game/utilities/random/RandomValueGenerator.d.ts +4 -1
- package/definitions/game/utilities/random/generators/specific/RandomRange.d.ts +4 -1
- package/definitions/utilities/Errors.d.ts +1 -1
- package/definitions/utilities/log/ErrorReporting.d.ts +1 -0
- package/package.json +1 -1
|
@@ -177,6 +177,7 @@ export declare class Game extends EventEmitter.Host<IGameEvents> {
|
|
|
177
177
|
selectBiome(position: IVector2 | undefined, random: Random): BiomeTypes;
|
|
178
178
|
getGameMode(): GameMode;
|
|
179
179
|
getGameOptionsBeforeModifiers(): IGameOptions;
|
|
180
|
+
getCustomGameOptionsPartial(): IGameOptionsPartial;
|
|
180
181
|
/** A game options modifier that always returns an empty array by default, to be injected into */
|
|
181
182
|
getAdditionalGameOptionsSources(): IGameOptionsPartial[];
|
|
182
183
|
getGameOptions(): IGameOptions;
|
|
@@ -26,7 +26,7 @@ export declare const CURSE_COMPONENT_CRAFTING_CAP = 3000;
|
|
|
26
26
|
export declare const CURSE_COMPONENT_CRAFTING_MIN_EFFECT = 0.3;
|
|
27
27
|
export declare const CURSE_COMPONENT_KILLING_CAP = 500;
|
|
28
28
|
export declare const CURSE_COMPONENT_SKILL_CAP = 100;
|
|
29
|
-
export declare const CURSE_COMPONENT_SLEEPLESSNESS_CAP_DAYS =
|
|
29
|
+
export declare const CURSE_COMPONENT_SLEEPLESSNESS_CAP_DAYS = 3;
|
|
30
30
|
interface CurseComponentDefinition {
|
|
31
31
|
readonly maxCurseContribution: number | null;
|
|
32
32
|
compute(human: Human): number;
|
|
@@ -138,6 +138,7 @@ export interface CurseEventInstance {
|
|
|
138
138
|
curse: number;
|
|
139
139
|
point: IVector2;
|
|
140
140
|
creatures?: number[];
|
|
141
|
+
savedData?: Record<string, any>;
|
|
141
142
|
subscribers?: string[];
|
|
142
143
|
scriptProcesses?: ScriptProcessState[];
|
|
143
144
|
[SYMBOL_CURSE_EVENT_SUBSCRIBER_INSTANCES]?: Record<string, CurseEventSubscriber>;
|
|
@@ -81,7 +81,18 @@ export interface CurseEventContext {
|
|
|
81
81
|
uninject(): void;
|
|
82
82
|
uninject<T extends CurseEventSubscriber>(subscriber: Class<T>): void;
|
|
83
83
|
toString(): string;
|
|
84
|
+
data<T>(def: CurseEventContextDataDefinition<T>): CurseEventContextData<T>;
|
|
84
85
|
}
|
|
86
|
+
export interface CurseEventContextDataDefinition<T> {
|
|
87
|
+
readonly id: string;
|
|
88
|
+
initializer?(): T;
|
|
89
|
+
}
|
|
90
|
+
export interface CurseEventContextData<T> {
|
|
91
|
+
get(): T;
|
|
92
|
+
set(value: T): void;
|
|
93
|
+
}
|
|
94
|
+
export declare function CurseEventContextData<T>(id: string): CurseEventContextDataDefinition<T | undefined>;
|
|
95
|
+
export declare function CurseEventContextData<T>(id: string, initializer: () => T): CurseEventContextDataDefinition<T>;
|
|
85
96
|
export interface CurseEventExtinguishOptions {
|
|
86
97
|
/**
|
|
87
98
|
* The number of flat ticks to reduce decays by
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
|
|
12
|
+
import { IRange } from "@wayward/utilities/math/Range";
|
|
13
|
+
export declare const CURSE_EVENT_HATED_BY_WILDS_MIN_CHANCE = 0.01;
|
|
14
|
+
export declare const CURSE_EVENT_HATED_BY_WILDS_CURSE_MULTIPLIER: IRange<number>;
|
|
15
|
+
export declare const CURSE_EVENT_HATED_BY_WILDS_COOLDOWN: IRange<number>;
|
|
16
|
+
export declare const CURSE_EVENT_HATED_BY_WILDS_HOSTILE_PER_PROC_CAP = 5;
|
|
17
|
+
declare const _default: CurseEvent;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
|
|
12
|
+
import { IRange } from "@wayward/utilities/math/Range";
|
|
13
|
+
export declare const CURSE_EVENT_LOVED_BY_WILDS_MIN_CHANCE = 0.01;
|
|
14
|
+
export declare const CURSE_EVENT_LOVED_BY_WILDS_CURSE_MULTIPLIER: IRange<number>;
|
|
15
|
+
export declare const CURSE_EVENT_LOVED_BY_WILDS_RANDOM_HAPPINESS_AT_END: IRange<number>;
|
|
16
|
+
export declare const CURSE_EVENT_LOVED_BY_WILDS_COOLDOWN: IRange<number>;
|
|
17
|
+
declare const _default: CurseEvent;
|
|
18
|
+
export default _default;
|
|
@@ -309,7 +309,7 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
|
|
|
309
309
|
canInspect(human: Human): boolean;
|
|
310
310
|
private processSpecials;
|
|
311
311
|
/**
|
|
312
|
-
* Check for items on top of lit/fire doodads,
|
|
312
|
+
* Check for items on top of lit/fire doodads (that are OpenFireSource), and automatically "stoke" the items
|
|
313
313
|
*/
|
|
314
314
|
private processFire;
|
|
315
315
|
/**
|
|
@@ -400,6 +400,13 @@ export default class Doodad extends EntityMovable<IDoodadDescription, DoodadType
|
|
|
400
400
|
*/
|
|
401
401
|
willStillWorkInTemperature(): boolean;
|
|
402
402
|
forceDecayTick(): void;
|
|
403
|
+
/**
|
|
404
|
+
* Stokes fire from the StokeFire action and other events like directly dropping items into open fire sources.
|
|
405
|
+
* @param stokeValue The amount to stoke the fire by.
|
|
406
|
+
* @param human The human that is stoking the fire.
|
|
407
|
+
* @returns True if fire overflowed, false if not.
|
|
408
|
+
*/
|
|
409
|
+
stokeFire(stokeValue: number, human?: Human): boolean;
|
|
403
410
|
/**
|
|
404
411
|
* Decay over time
|
|
405
412
|
*/
|
|
@@ -73,7 +73,9 @@ export declare enum AiMaskType {
|
|
|
73
73
|
RecentlyAlerted = 12,
|
|
74
74
|
WrongLayerForZone = 13,
|
|
75
75
|
RecentlySwappedLayers = 14,
|
|
76
|
-
CanSwapLayersIfTamed = 15
|
|
76
|
+
CanSwapLayersIfTamed = 15,
|
|
77
|
+
NeutralDueToEvent = 16,
|
|
78
|
+
HostileDueToEvent = 17
|
|
77
79
|
}
|
|
78
80
|
export declare enum AiMaskOrder {
|
|
79
81
|
Released = 0,
|
|
@@ -86,12 +88,14 @@ export declare enum AiMaskOrder {
|
|
|
86
88
|
Hidden = 7,
|
|
87
89
|
Frenzied = 8,
|
|
88
90
|
Pacified = 9,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
NeutralDueToEvent = 10,
|
|
92
|
+
HostileDueToEvent = 11,
|
|
93
|
+
WaitingForNoPlayerAdjacent = 12,
|
|
94
|
+
Angered = 13,
|
|
95
|
+
RecentlyAlerted = 14,
|
|
96
|
+
WrongLayerForZone = 15,
|
|
97
|
+
RecentlySwappedLayers = 16,
|
|
98
|
+
CanSwapLayersIfTamed = 17
|
|
95
99
|
}
|
|
96
100
|
export interface IAiMaskDescription {
|
|
97
101
|
/**
|
|
@@ -109,7 +109,7 @@ export default class Creature extends EntityWithStats<ICreatureDescription, Crea
|
|
|
109
109
|
load(): void;
|
|
110
110
|
checkForBurn(moveType?: MoveType): boolean;
|
|
111
111
|
private setOwner;
|
|
112
|
-
tame(human: Human,
|
|
112
|
+
tame(human: Human, bonusTime?: number): boolean;
|
|
113
113
|
/**
|
|
114
114
|
* Increases the creature's maximum health in the event of offering/re-taming and petting (to a lesser extent)
|
|
115
115
|
*/
|
|
@@ -164,6 +164,8 @@ export default class Creature extends EntityWithStats<ICreatureDescription, Crea
|
|
|
164
164
|
getAttackOutcome(enemy: Human | Creature | undefined, force?: boolean, humans?: Human[], description?: ICreatureDescription, moveType?: MoveType): CreatureAttackOutcome;
|
|
165
165
|
processAttack(description: ICreatureDescription, humans: Human[], moveType: MoveType | undefined, enemyIn: Human | Creature | undefined): boolean;
|
|
166
166
|
getProducedTemperature(): number | undefined;
|
|
167
|
+
makeAberrant(): number | undefined;
|
|
168
|
+
unAberrant(restoreHealth: number): boolean;
|
|
167
169
|
protected updateTileWhenMoving(fromTile: Tile, toTile: Tile): boolean;
|
|
168
170
|
protected onStatChange(stat: IStat, oldValue: number, info: IStatChangeInfo): void;
|
|
169
171
|
/**
|
|
@@ -43,7 +43,7 @@ export default class CreatureManager extends EntityManager<Creature, IEntityRemo
|
|
|
43
43
|
loadEntity(creature: Creature): void;
|
|
44
44
|
static getName(creature: Creature | CreatureType, aberrant?: boolean, count?: number, article?: Article): TranslationImpl;
|
|
45
45
|
getName(creature: Creature | CreatureType, aberrant?: boolean, count?: number, article?: Article): TranslationImpl;
|
|
46
|
-
|
|
46
|
+
calculateHappinessTameTime(human: Human, creature: Creature, bonusTime?: number): number;
|
|
47
47
|
/**
|
|
48
48
|
* Spawns a creature.
|
|
49
49
|
* @param type The type of creature to spawn.
|
|
@@ -0,0 +1,117 @@
|
|
|
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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
import { CustomModifierType } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
13
|
+
import { GameOptionsIcon } from "@wayward/game/ui/screen/screens/menu/menus/pause/GameOptionsIcons";
|
|
14
|
+
declare const map: {
|
|
15
|
+
0: GameOptionsIcon.Respawn;
|
|
16
|
+
1: GameOptionsIcon.Crafting;
|
|
17
|
+
2: GameOptionsIcon.Crafting;
|
|
18
|
+
3: GameOptionsIcon.Curse;
|
|
19
|
+
4: GameOptionsIcon.Peaceful;
|
|
20
|
+
5: GameOptionsIcon.Creatures;
|
|
21
|
+
6: GameOptionsIcon.Creatures;
|
|
22
|
+
7: GameOptionsIcon.Creatures;
|
|
23
|
+
8: GameOptionsIcon.Creatures;
|
|
24
|
+
9: GameOptionsIcon.Creatures;
|
|
25
|
+
10: GameOptionsIcon.Travel;
|
|
26
|
+
11: GameOptionsIcon.Travel;
|
|
27
|
+
12: GameOptionsIcon.Luck;
|
|
28
|
+
13: GameOptionsIcon.Weight;
|
|
29
|
+
14: GameOptionsIcon.Health;
|
|
30
|
+
15: GameOptionsIcon.Stamina;
|
|
31
|
+
16: GameOptionsIcon.Hunger;
|
|
32
|
+
17: GameOptionsIcon.Thirst;
|
|
33
|
+
18: GameOptionsIcon.Items;
|
|
34
|
+
19: GameOptionsIcon.NoItems;
|
|
35
|
+
20: GameOptionsIcon.Items;
|
|
36
|
+
21: GameOptionsIcon.Items;
|
|
37
|
+
22: GameOptionsIcon.Skills;
|
|
38
|
+
23: GameOptionsIcon.Skills;
|
|
39
|
+
24: GameOptionsIcon.Skills;
|
|
40
|
+
25: GameOptionsIcon.Skills;
|
|
41
|
+
26: GameOptionsIcon.EternalDay;
|
|
42
|
+
27: GameOptionsIcon.EternalNight;
|
|
43
|
+
28: GameOptionsIcon.Time;
|
|
44
|
+
29: GameOptionsIcon.Time;
|
|
45
|
+
30: GameOptionsIcon.Time;
|
|
46
|
+
31: GameOptionsIcon.Time;
|
|
47
|
+
32: GameOptionsIcon.Bleeding;
|
|
48
|
+
33: GameOptionsIcon.Poisoned;
|
|
49
|
+
34: GameOptionsIcon.Burned;
|
|
50
|
+
35: null;
|
|
51
|
+
36: null;
|
|
52
|
+
37: null;
|
|
53
|
+
38: null;
|
|
54
|
+
39: null;
|
|
55
|
+
40: null;
|
|
56
|
+
41: null;
|
|
57
|
+
42: null;
|
|
58
|
+
43: null;
|
|
59
|
+
44: null;
|
|
60
|
+
45: null;
|
|
61
|
+
};
|
|
62
|
+
export declare const customModifierToGameOptionsIconMap: Record<CustomModifierType, GameOptionsIcon | null>;
|
|
63
|
+
export type CustomModifierTypeReal = keyof {
|
|
64
|
+
[TYPE in CustomModifierType as typeof map[TYPE] extends null ? never : TYPE]: true;
|
|
65
|
+
};
|
|
66
|
+
export declare const customModifierDescriptions: {
|
|
67
|
+
0: CustomModifierDefinition<[]>;
|
|
68
|
+
1: CustomModifierDefinition<[]>;
|
|
69
|
+
2: CustomModifierDefinition<[]>;
|
|
70
|
+
3: CustomModifierDefinition<[]>;
|
|
71
|
+
4: CustomModifierDefinition<[]>;
|
|
72
|
+
5: CustomModifierDefinition<[]>;
|
|
73
|
+
8: CustomModifierDefinition<[creature: Map<import("../../../entity/creature/ICreature").CreatureType, import("@wayward/game/game/options/IGameOptions").IGameOptionsCreature>]>;
|
|
74
|
+
9: CustomModifierDefinition<[aberrants: boolean]>;
|
|
75
|
+
6: CustomModifierDefinition<[spawnLimit: number]>;
|
|
76
|
+
7: CustomModifierDefinition<[rateMultiplier: number]>;
|
|
77
|
+
10: CustomModifierDefinition<[biome: import("../../../biome/IBiome").BiomeType]>;
|
|
78
|
+
11: CustomModifierDefinition<[]>;
|
|
79
|
+
12: CustomModifierDefinition<[luckMultiplier: number]>;
|
|
80
|
+
13: CustomModifierDefinition<[bonus: number]>;
|
|
81
|
+
14: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
|
|
82
|
+
15: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
|
|
83
|
+
16: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
|
|
84
|
+
17: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStat>]>;
|
|
85
|
+
18: CustomModifierDefinition<[]>;
|
|
86
|
+
19: CustomModifierDefinition<[]>;
|
|
87
|
+
20: CustomModifierDefinition<[multiplier: number]>;
|
|
88
|
+
21: CustomModifierDefinition<[multiplier: number]>;
|
|
89
|
+
22: CustomModifierDefinition<[count: number]>;
|
|
90
|
+
23: CustomModifierDefinition<[initial: number]>;
|
|
91
|
+
24: CustomModifierDefinition<[multiplier: number]>;
|
|
92
|
+
25: CustomModifierDefinition<[skill: Map<import("../../../entity/skill/ISkills").SkillType, import("@wayward/game/game/options/IGameOptions").IGameOptionsSkill>]>;
|
|
93
|
+
26: CustomModifierDefinition<[]>;
|
|
94
|
+
27: CustomModifierDefinition<[]>;
|
|
95
|
+
28: CustomModifierDefinition<[]>;
|
|
96
|
+
29: CustomModifierDefinition<[initial: number]>;
|
|
97
|
+
30: CustomModifierDefinition<[length: number]>;
|
|
98
|
+
31: CustomModifierDefinition<[percent: number]>;
|
|
99
|
+
32: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStatus>]>;
|
|
100
|
+
33: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStatus>]>;
|
|
101
|
+
34: CustomModifierDefinition<[options: Partial<import("@wayward/game/game/options/IGameOptions").IGameOptionsStatus>]>;
|
|
102
|
+
};
|
|
103
|
+
export type CustomModifierArgs = {
|
|
104
|
+
[TYPE in CustomModifierTypeReal]: ((typeof customModifierDescriptions)[TYPE] extends CustomModifierDefinition<infer ARGS> ? ARGS : never);
|
|
105
|
+
};
|
|
106
|
+
export type CustomModifierTypeRealSimple = keyof {
|
|
107
|
+
[TYPE in CustomModifierTypeReal as CustomModifierArgs[TYPE] extends [] ? TYPE : never]: true;
|
|
108
|
+
};
|
|
109
|
+
export interface CustomModifierInstance<TYPE extends CustomModifierTypeReal> {
|
|
110
|
+
type: TYPE;
|
|
111
|
+
args: CustomModifierArgs[TYPE];
|
|
112
|
+
}
|
|
113
|
+
export declare namespace CustomModifierInstance {
|
|
114
|
+
function args<TYPE extends CustomModifierTypeReal>(type: TYPE, instances: Array<CustomModifierInstance<CustomModifierTypeReal>>): CustomModifierArgs[TYPE] | [];
|
|
115
|
+
function args<TYPE extends CustomModifierTypeReal>(instance: CustomModifierInstance<TYPE>): CustomModifierArgs[TYPE];
|
|
116
|
+
}
|
|
117
|
+
export {};
|
|
@@ -0,0 +1,78 @@
|
|
|
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 type { TranslationArg } from "@wayward/game/language/ITranslation";
|
|
13
|
+
import type Translation from "@wayward/game/language/Translation";
|
|
14
|
+
import type { RandomReference } from "@wayward/game/utilities/random/RandomReference";
|
|
15
|
+
import type { RandomInstance } from "@wayward/utilities/random/IRandom";
|
|
16
|
+
export declare enum CustomModifierType {
|
|
17
|
+
Respawn = 0,
|
|
18
|
+
RecipesNone = 1,
|
|
19
|
+
RecipesAll = 2,
|
|
20
|
+
NoCurseEvents = 3,
|
|
21
|
+
Peaceful = 4,
|
|
22
|
+
FearlessCreatures = 5,
|
|
23
|
+
SpawnLimit = 6,
|
|
24
|
+
SpawnRate = 7,
|
|
25
|
+
Creatures = 8,
|
|
26
|
+
OtherCreatures = 9,
|
|
27
|
+
StartingBiome = 10,
|
|
28
|
+
NoTravelEffects = 11,
|
|
29
|
+
Luck = 12,
|
|
30
|
+
Strength = 13,
|
|
31
|
+
Health = 14,
|
|
32
|
+
Stamina = 15,
|
|
33
|
+
Hunger = 16,
|
|
34
|
+
Thirst = 17,
|
|
35
|
+
TileContainers = 18,
|
|
36
|
+
NoStartingItems = 19,
|
|
37
|
+
ItemDurability = 20,
|
|
38
|
+
ItemDecay = 21,
|
|
39
|
+
StartingSkills = 22,
|
|
40
|
+
GlobalInitialSkillsValue = 23,
|
|
41
|
+
GlobalSkillGainMultiplier = 24,
|
|
42
|
+
Skills = 25,
|
|
43
|
+
EternalDay = 26,
|
|
44
|
+
EternalNight = 27,
|
|
45
|
+
FrozenTime = 28,
|
|
46
|
+
InitialTime = 29,
|
|
47
|
+
DayLength = 30,
|
|
48
|
+
DayPercent = 31,
|
|
49
|
+
Bleeding = 32,
|
|
50
|
+
Poisoned = 33,
|
|
51
|
+
Burned = 34,
|
|
52
|
+
SpecificCreatureAlwaysSpawns = 35,
|
|
53
|
+
SpecificCreatureSpawningDisabled = 36,
|
|
54
|
+
SpecificCreatureSpawns = 37,
|
|
55
|
+
StatInitial = 38,
|
|
56
|
+
StatMax = 39,
|
|
57
|
+
StatMultiplier = 40,
|
|
58
|
+
SpecificSkillInitial = 41,
|
|
59
|
+
SpecificSkillGainMultiplier = 42,
|
|
60
|
+
StatusInitial = 43,
|
|
61
|
+
StatusUntreatable = 44,
|
|
62
|
+
StatusPassChanceMultiplier = 45
|
|
63
|
+
}
|
|
64
|
+
export interface CustomModifierTranslationGroup {
|
|
65
|
+
label: Translation;
|
|
66
|
+
group: Translation[];
|
|
67
|
+
}
|
|
68
|
+
export type CustomModifierTranslation = Translation | CustomModifierTranslationGroup;
|
|
69
|
+
export interface CustomModifierDefinition<ARGS extends any[] = []> {
|
|
70
|
+
parse?(options: IGameOptionsPartial): ARGS["length"] extends 1 ? ArrayOr<ARGS[0]> | undefined : ARGS | undefined;
|
|
71
|
+
options: SupplierOr<IGameOptionsPartial, [...ARGS, random: RandomInstance | RandomReference]>;
|
|
72
|
+
/** Incompatible with `translationArgs` */
|
|
73
|
+
translate?(options: IGameOptionsPartial): ArrayOr<CustomModifierTranslation> | undefined;
|
|
74
|
+
/** Incompatible with `translate` */
|
|
75
|
+
translationArgs?(options: IGameOptionsPartial): TranslationArg[] | undefined;
|
|
76
|
+
}
|
|
77
|
+
export declare function CustomModifierDefinition<ARGS extends any[] = []>(definition: CustomModifierDefinition<ARGS>): CustomModifierDefinition<ARGS>;
|
|
78
|
+
export declare function SimpleCustomModifierDefinition(options: IGameOptionsPartial): CustomModifierDefinition;
|
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[spawnLimit: number]>;
|
|
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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[rateMultiplier: number]>;
|
|
13
|
+
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 { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
|
|
12
|
+
import type { IGameOptionsCreature } from "@wayward/game/game/options/IGameOptions";
|
|
13
|
+
import { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
14
|
+
declare const _default: CustomModifierDefinition<[creature: Map<CreatureType, IGameOptionsCreature>]>;
|
|
15
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreaturesOther.d.ts
ADDED
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[aberrants: boolean]>;
|
|
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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[multiplier: number]>;
|
|
13
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierItemDurability.d.ts
ADDED
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[multiplier: number]>;
|
|
13
|
+
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 { SkillType } from "@wayward/game/game/entity/skill/ISkills";
|
|
12
|
+
import type { IGameOptionsSkill } from "@wayward/game/game/options/IGameOptions";
|
|
13
|
+
import { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
14
|
+
declare const _default: CustomModifierDefinition<[skill: Map<SkillType, IGameOptionsSkill>]>;
|
|
15
|
+
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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[multiplier: number]>;
|
|
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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[initial: number]>;
|
|
13
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsStartCount.d.ts
ADDED
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[count: number]>;
|
|
13
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStartingBiome.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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 { BiomeType } from "@wayward/game/game/biome/IBiome";
|
|
12
|
+
import { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
13
|
+
declare const _default: CustomModifierDefinition<[biome: BiomeType]>;
|
|
14
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatGeneric.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 { Stat } from "@wayward/game/game/entity/IStats";
|
|
12
|
+
import type { IGameOptionsStat } from "@wayward/game/game/options/IGameOptions";
|
|
13
|
+
import { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
14
|
+
declare const _default: (stat: Stat) => CustomModifierDefinition<[options: Partial<IGameOptionsStat>]>;
|
|
15
|
+
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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[luckMultiplier: number]>;
|
|
13
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatStrength.d.ts
ADDED
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[bonus: number]>;
|
|
13
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatusGeneric.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 { StatusType } from "@wayward/game/game/entity/status/IStatus";
|
|
12
|
+
import type { IGameOptionsStatus } from "@wayward/game/game/options/IGameOptions";
|
|
13
|
+
import { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
14
|
+
declare const _default: (status: StatusType) => CustomModifierDefinition<[options: Partial<IGameOptionsStatus>]>;
|
|
15
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayLength.d.ts
ADDED
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[length: number]>;
|
|
13
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayPercent.d.ts
ADDED
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[percent: number]>;
|
|
13
|
+
export default _default;
|
package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeInitial.d.ts
ADDED
|
@@ -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 { CustomModifierDefinition } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
|
|
12
|
+
declare const _default: CustomModifierDefinition<[initial: number]>;
|
|
13
|
+
export default _default;
|