@wayward/types 2.15.0-beta.dev.20251021.1 → 2.15.0-beta.dev.20251022.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.
Files changed (55) hide show
  1. package/definitions/game/game/Game.d.ts +1 -0
  2. package/definitions/game/game/curse/Curse.d.ts +1 -1
  3. package/definitions/game/game/doodad/Doodad.d.ts +8 -1
  4. package/definitions/game/game/options/modifiers/custom/CustomModifierDefinitions.d.ts +117 -0
  5. package/definitions/game/game/options/modifiers/custom/ICustomModifier.d.ts +78 -0
  6. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatureSpawnLimit.d.ts +13 -0
  7. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatureSpawnRate.d.ts +13 -0
  8. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreatures.d.ts +15 -0
  9. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierCreaturesOther.d.ts +13 -0
  10. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierItemDecay.d.ts +13 -0
  11. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierItemDurability.d.ts +13 -0
  12. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkills.d.ts +15 -0
  13. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsGainMultiplierGlobal.d.ts +13 -0
  14. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsInitialValueGlobal.d.ts +13 -0
  15. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierSkillsStartCount.d.ts +13 -0
  16. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStartingBiome.d.ts +14 -0
  17. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatGeneric.d.ts +15 -0
  18. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatLuck.d.ts +13 -0
  19. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatStrength.d.ts +13 -0
  20. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatusGeneric.d.ts +15 -0
  21. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayLength.d.ts +13 -0
  22. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeDayPercent.d.ts +13 -0
  23. package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierTimeInitial.d.ts +13 -0
  24. package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +1 -1
  25. package/definitions/game/game/time/TimeManager.d.ts +2 -0
  26. package/definitions/game/language/Dictionary.d.ts +3 -1
  27. package/definitions/game/language/DictionaryMap.d.ts +6 -0
  28. package/definitions/game/language/Translation.d.ts +1 -0
  29. package/definitions/game/language/dictionary/Message.d.ts +562 -564
  30. package/definitions/game/language/dictionary/Misc.d.ts +4 -0
  31. package/definitions/game/language/dictionary/UiTranslation.d.ts +824 -863
  32. package/definitions/game/language/english/game/CustomModifiers.d.ts +13 -0
  33. package/definitions/game/language/english/game/GameOptionsIcons.d.ts +13 -0
  34. package/definitions/game/ui/Ui.d.ts +3 -0
  35. package/definitions/game/ui/component/GameIcons.d.ts +4 -3
  36. package/definitions/game/ui/input/Bindable.d.ts +24 -23
  37. package/definitions/game/ui/screen/screens/game/InspectionsTooltipHandler.d.ts +2 -0
  38. package/definitions/game/ui/screen/screens/game/component/GameDetails.d.ts +4 -4
  39. package/definitions/game/ui/screen/screens/menu/menus/newgame/CustomGameOptionsMenu.d.ts +4 -3
  40. package/definitions/game/ui/screen/screens/menu/menus/newgame/TabGameMode.d.ts +1 -1
  41. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/CustomGameOptionsTab.d.ts +12 -2
  42. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabCreatures.d.ts +2 -3
  43. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabGeneral.d.ts +2 -2
  44. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabItems.d.ts +2 -2
  45. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabSkills.d.ts +2 -3
  46. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStats.d.ts +2 -2
  47. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabStatuses.d.ts +2 -2
  48. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTime.d.ts +2 -5
  49. package/definitions/game/ui/screen/screens/menu/menus/newgame/customgameoptions/TabTravel.d.ts +2 -2
  50. package/definitions/game/ui/screen/screens/menu/menus/pause/GameOptionsIcons.d.ts +2 -11
  51. package/definitions/game/ui/tooltip/TooltipManager.d.ts +1 -0
  52. package/definitions/game/utilities/object/Merge.d.ts +5 -0
  53. package/definitions/game/utilities/random/RandomValueGenerator.d.ts +4 -1
  54. package/definitions/game/utilities/random/generators/specific/RandomRange.d.ts +4 -1
  55. 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 = 6;
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;
@@ -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, set them on fire
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
  */
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -119,6 +119,7 @@ export declare const milestoneModifiers: {
119
119
  47: typeof Murderer;
120
120
  20: typeof Navigator;
121
121
  33: typeof Notekeeper;
122
+ 72: typeof Oblivious;
122
123
  34: typeof Operator;
123
124
  31: typeof Pacifier;
124
125
  10: typeof Thrower;
@@ -142,7 +143,6 @@ export declare const milestoneModifiers: {
142
143
  65: typeof Turbulent;
143
144
  50: typeof Versatile;
144
145
  29: typeof Weathered;
145
- 72: typeof Oblivious;
146
146
  };
147
147
  declare class MilestoneModifiersManager extends GameplayModifiersManager<MilestoneModifier, Milestone, [Human?]> {
148
148
  constructor();
@@ -11,6 +11,8 @@
11
11
  import type { PartOfDayGranular, TimeString } from "@wayward/game/game/time/ITimeManager";
12
12
  import { DayQuarter, TimeFormat } from "@wayward/game/game/time/ITimeManager";
13
13
  import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
14
+ export declare const DEFAULT_TIME_DAY_LENGTH = 3200;
15
+ export declare const DEFAULT_TIME_DAY_PERCENT = 0.625;
14
16
  export default class TimeManager {
15
17
  private dayLength;
16
18
  dayPercent: number;
@@ -142,6 +142,8 @@ declare enum Dictionary {
142
142
  UsableActionType = 130,
143
143
  Website = 131,
144
144
  WeightStatus = 132,
145
- WorldLayer = 133
145
+ WorldLayer = 133,
146
+ CustomModifier = 134,
147
+ GameOptionsIcon = 135
146
148
  }
147
149
  export default Dictionary;
@@ -98,6 +98,8 @@ import { ModSort } from "@wayward/game/ui/screen/screens/menu/menus/mods/IModsMe
98
98
  import { Direction } from "@wayward/game/utilities/math/Direction";
99
99
  import { ChangeType } from "@wayward/game/utilities/trello/ITrello";
100
100
  import WorldZ from "@wayward/utilities/game/WorldZ";
101
+ import { CustomModifierType } from "@wayward/game/game/options/modifiers/custom/ICustomModifier";
102
+ import { GameOptionsIcon } from "@wayward/game/ui/screen/screens/menu/menus/pause/GameOptionsIcons";
101
103
  export type Enum = Record<string, number> & Record<number, string>;
102
104
  export declare const SYMBOL_ANY_DICTIONARY: unique symbol;
103
105
  declare const dictionaryMap: {
@@ -1949,6 +1951,8 @@ declare const dictionaryMap: {
1949
1951
  131: typeof Website;
1950
1952
  132: typeof WeightStatus;
1951
1953
  133: typeof WorldZ;
1954
+ 134: typeof CustomModifierType;
1955
+ 135: typeof GameOptionsIcon;
1952
1956
  };
1953
1957
  export declare const strictDictionaries: {
1954
1958
  0: typeof ActionType;
@@ -3799,6 +3803,8 @@ export declare const strictDictionaries: {
3799
3803
  131: typeof Website;
3800
3804
  132: typeof WeightStatus;
3801
3805
  133: typeof WorldZ;
3806
+ 134: typeof CustomModifierType;
3807
+ 135: typeof GameOptionsIcon;
3802
3808
  };
3803
3809
  export type DictionaryEnum = (typeof dictionaryMap)[Dictionary];
3804
3810
  type ExtractEnumString<E> = E extends Record<string, infer V> ? V : never;
@@ -46,6 +46,7 @@ type Translation = TranslationImpl;
46
46
  declare namespace Translation {
47
47
  export function is(value: unknown): value is Translation;
48
48
  export function equals(a: Translation, b: Translation): boolean;
49
+ export function coalesce(...translations: Translation[]): Translation | undefined;
49
50
  export const RANDOM = "random";
50
51
  export const getString: typeof TranslationImpl.getString;
51
52
  export const resolve: typeof TranslationImpl.resolve;