@wayward/types 2.15.0-beta.dev.20251023.1 → 2.15.0-beta.dev.20251025.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 (39) hide show
  1. package/definitions/game/game/curse/Curse.d.ts +12 -2
  2. package/definitions/game/game/curse/CurseEvent.d.ts +6 -1
  3. package/definitions/game/game/curse/event/CurseEventCraftingInspiration.d.ts +3 -2
  4. package/definitions/game/game/curse/event/CurseEventFrigidNight.d.ts +2 -0
  5. package/definitions/game/game/curse/event/CurseEventHeatWave.d.ts +2 -0
  6. package/definitions/game/game/curse/event/CurseEventLucky.d.ts +2 -1
  7. package/definitions/game/game/curse/event/CurseEventNewPlants.d.ts +2 -0
  8. package/definitions/game/game/curse/event/CurseEventPlantDeath.d.ts +2 -0
  9. package/definitions/game/game/curse/event/CurseEventUnlucky.d.ts +2 -1
  10. package/definitions/game/game/entity/Entity.d.ts +2 -2
  11. package/definitions/game/game/entity/EntityMovable.d.ts +4 -0
  12. package/definitions/game/game/entity/Human.d.ts +2 -1
  13. package/definitions/game/game/entity/IHuman.d.ts +11 -0
  14. package/definitions/game/game/entity/action/IActionContext.d.ts +2 -0
  15. package/definitions/game/game/entity/action/usable/UsableAction.d.ts +2 -2
  16. package/definitions/game/game/entity/ai/AI.d.ts +3 -3
  17. package/definitions/game/game/entity/creature/Creature.d.ts +5 -1
  18. package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +17 -0
  19. package/definitions/game/game/entity/creature/zone/zones/arid/AridCreatureCombos.d.ts +13 -0
  20. package/definitions/game/game/entity/creature/zone/zones/coastal/CoastalCreatureCombos.d.ts +13 -0
  21. package/definitions/game/game/entity/creature/zone/zones/iceCap/IceCapCreatureCombos.d.ts +13 -0
  22. package/definitions/game/game/entity/creature/zone/zones/volcanic/VolcanicCreatureCombos.d.ts +13 -0
  23. package/definitions/game/game/entity/creature/zone/zones/wetlands/WetlandsCreatureCombos.d.ts +13 -0
  24. package/definitions/game/game/inspection/infoProviders/stat/TemperatureInfo.d.ts +18 -0
  25. package/definitions/game/game/inspection/inspections/DeityInspection.d.ts +1 -0
  26. package/definitions/game/game/item/Item.d.ts +2 -1
  27. package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +6 -3
  28. package/definitions/game/game/tile/Tile.d.ts +3 -2
  29. package/definitions/game/game/tile/events/Fire.d.ts +1 -1
  30. package/definitions/game/language/Translation.d.ts +1 -1
  31. package/definitions/game/language/dictionary/Message.d.ts +845 -844
  32. package/definitions/game/language/dictionary/UiTranslation.d.ts +632 -628
  33. package/definitions/game/renderer/notifier/INotifier.d.ts +4 -0
  34. package/definitions/game/renderer/world/WorldRenderer.d.ts +0 -1
  35. package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +2 -2
  36. package/definitions/game/ui/util/ImagePath.d.ts +1 -0
  37. package/definitions/game/utilities/Observer.d.ts +2 -0
  38. package/definitions/game/utilities/dev/Debug.d.ts +1 -1
  39. package/package.json +1 -1
@@ -16,6 +16,7 @@ import { SkillType } from "@wayward/game/game/entity/skill/ISkills";
16
16
  import type Island from "@wayward/game/game/island/Island";
17
17
  import type { IVector2 } from "@wayward/game/utilities/math/IVector";
18
18
  import { IRange, IRangeRange } from "@wayward/utilities/math/Range";
19
+ import type { WeightedOption } from "@wayward/utilities/random/IRandom";
19
20
  import DataComponent from "@wayward/game/game/entity/data/DataComponent";
20
21
  export declare const CURSE_CAP = 10000;
21
22
  export declare const CURSE_COMPONENT_ATTACK_CAP = 50;
@@ -92,6 +93,14 @@ export declare const CURSE_EVENTS_ENTITY_DESPAWN_CHANCE = 0.1;
92
93
  * This multiplier affects how quickly curse ward doodads & items are extinguished compared to the rest
93
94
  */
94
95
  export declare const CURSE_EVENTS_EXTINGUISH_WARD_MULTIPLIER = 0.2;
96
+ export declare const CURSE_EVENTS_RUNE_CHANCE_MULTIPLIER_UNLUCKY: IRange<number>;
97
+ export declare const CURSE_EVENTS_RUNE_CHANCE_MULTIPLIER_LUCKY: IRange<number>;
98
+ /**
99
+ * additional runes granted to the player on kills/tames using intInRange.
100
+ * the amounts in the ranges are scaled by curse %
101
+ */
102
+ export declare const CURSE_EVENTS_RUNES_KILL_TAME: Array<WeightedOption<IRange>>;
103
+ export declare const CURSE_EVENTS_RUNES_SURVIVED: IRange<number>;
95
104
  declare namespace Curse {
96
105
  interface Helper {
97
106
  context: CurseEventContext;
@@ -111,8 +120,8 @@ declare namespace Curse {
111
120
  function reload(island: Island, isNew?: boolean): void;
112
121
  function spawnCurseEvents(island: Island, humans: Human[]): void;
113
122
  function attemptCurseEventSpawn(category: CurseCategory, human: Human, curse: number, humans: Human[], events: CurseEventInstance[]): CurseEventInstance | undefined;
114
- function attemptSpecificCurseEventSpawn(human: Human, type: CurseEventType, humans: Human[], curse?: number): CurseEventInstance | undefined;
115
- function attemptSpecificCurseEventSpawnOnPlayer(player: Human, curseType: CurseEventType): CurseEventInstance | undefined;
123
+ function attemptSpecificCurseEventSpawn(human: Human, type: CurseEventType, humans: Human[], curse?: number, force?: boolean | "full"): CurseEventInstance | undefined;
124
+ function attemptSpecificCurseEventSpawnOnPlayer(player: Human, curseType: CurseEventType, force: boolean | "full"): CurseEventInstance | undefined;
116
125
  function unload(island: Island): void;
117
126
  function cleanup(island: Island, humans?: Human[], isMorning?: boolean): void;
118
127
  function cleanupEphemerals(island: Island): void;
@@ -123,6 +132,7 @@ declare const SYMBOL_CURSE_EVENT_GLOBAL_SUBSCRIBER_INSTANCE: unique symbol;
123
132
  declare const SYMBOL_CURSE_EVENT_ACTIVE_SUBSCRIBER_INSTANCE: unique symbol;
124
133
  interface Curse {
125
134
  night?: true;
135
+ globalCurse?: number;
126
136
  events?: CurseEventInstance[];
127
137
  cooldown?: number;
128
138
  warned?: true;
@@ -25,6 +25,7 @@ import type TileEvent from "@wayward/game/game/tile/TileEvent";
25
25
  import type WorldZ from "@wayward/utilities/game/WorldZ";
26
26
  import type { StatusEffectList } from "@wayward/game/game/entity/status/StatusEffectList";
27
27
  import type { CurseEventInstance } from "@wayward/game/game/curse/Curse";
28
+ import type { DeityReal } from "@wayward/game/game/deity/Deity";
28
29
  /** The API that curse events have access to */
29
30
  export interface CurseEventContext {
30
31
  readonly type: CurseEventType;
@@ -109,6 +110,7 @@ export interface CurseEventExtinguishOptions {
109
110
  }
110
111
  export interface CurseEvent {
111
112
  group: CurseGroup;
113
+ alignment: DeityReal;
112
114
  category: CurseCategory;
113
115
  /**
114
116
  * The chance that this curse event will spawn compared to other events.
@@ -134,7 +136,10 @@ export interface CurseEvent {
134
136
  * This is used for the `CurseEventContext.getRandomTile` and `CurseEventContext.getNearbyPlayers` methods.
135
137
  */
136
138
  radius?: number;
137
- getOptions?(): IGameOptionsPartial;
139
+ /**
140
+ * Custom game options to apply during the curse event. Note that this only runs once, right at the start of the event.
141
+ */
142
+ getOptions?(context: CurseEventContext): IGameOptionsPartial;
138
143
  subscribers?: Array<Class<CurseEventSubscriber>>;
139
144
  onStart?(context: CurseEventContext): void;
140
145
  onEnd?(context: CurseEventContext): void;
@@ -9,7 +9,8 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
12
- export declare const CURSE_EVENT_CRAFTING_INSPIRATION_DIFFICULTY_MULTIPLIER = 0.85;
13
- export declare const CURSE_EVENT_CRAFTING_INSPIRATION_MAGIC_CHANCE_MULTIPLIER = 0.5;
12
+ import { IRange } from "@wayward/utilities/math/Range";
13
+ export declare const CURSE_EVENT_CRAFTING_INSPIRATION_DIFFICULTY_MULTIPLIER: IRange<number>;
14
+ export declare const CURSE_EVENT_CRAFTING_INSPIRATION_MAGIC_CHANCE_MULTIPLIER: IRange<number>;
14
15
  declare const _default: CurseEvent;
15
16
  export default _default;
@@ -9,6 +9,8 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
12
+ import { IRange } from "@wayward/utilities/math/Range";
12
13
  export declare const CURSE_EVENT_FRIGID_NIGHT_TEMP_GRADIENT: number[];
14
+ export declare const CURSE_EVENT_FRIGID_NIGHT_CURSE_MULTIPLIER: IRange<number>;
13
15
  declare const _default: CurseEvent;
14
16
  export default _default;
@@ -9,6 +9,8 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
12
+ import { IRange } from "@wayward/utilities/math/Range";
12
13
  export declare const CURSE_EVENT_HEAT_WAVE_TEMP_GRADIENT: number[];
14
+ export declare const CURSE_EVENT_HEAT_WAVE_CURSE_MULTIPLIER: IRange<number>;
13
15
  declare const _default: CurseEvent;
14
16
  export default _default;
@@ -9,6 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
12
- export declare const CURSE_EVENT_LUCKY_LUCK_MULTIPLIER = 1.1;
12
+ import { IRange } from "@wayward/utilities/math/Range";
13
+ export declare const CURSE_EVENT_LUCKY_LUCK_MULTIPLIER: IRange<number>;
13
14
  declare const _default: CurseEvent;
14
15
  export default _default;
@@ -9,7 +9,9 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
12
+ import { IRange } from "@wayward/utilities/math/Range";
12
13
  export declare const CURSE_EVENT_NEW_PLAMTS_CHANCE_GRADIENT: number[];
14
+ export declare const CURSE_EVENT_NEW_PLAMTS_CURSE_MULTIPLIER: IRange<number>;
13
15
  export declare const CURSE_EVENT_NEW_PLAMTS_DRYAD_CHANCE_GRADIENT: number[];
14
16
  declare const _default: CurseEvent;
15
17
  export default _default;
@@ -9,7 +9,9 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
12
+ import { IRange } from "@wayward/utilities/math/Range";
12
13
  export declare const CURSE_EVENT_PLAMTS_DEATH_CHANCE_GRADIENT: number[];
14
+ export declare const CURSE_EVENT_PLAMTS_DEATH_CURSE_MULTIPLIER: IRange<number>;
13
15
  export declare const CURSE_EVENT_PLAMTS_DEATH_DRYAD_CHANCE_GRADIENT: number[];
14
16
  declare const _default: CurseEvent;
15
17
  export default _default;
@@ -9,6 +9,7 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import { CurseEvent } from "@wayward/game/game/curse/CurseEvent";
12
- export declare const CURSE_EVENT_UNLUCKY_LUCK_MULTIPLIER = 0.9;
12
+ import { IRange } from "@wayward/utilities/math/Range";
13
+ export declare const CURSE_EVENT_UNLUCKY_LUCK_MULTIPLIER: IRange<number>;
13
14
  declare const _default: CurseEvent;
14
15
  export default _default;
@@ -37,6 +37,7 @@ import type { RenderSource, UpdateRenderFlag } from "@wayward/game/renderer/IRen
37
37
  import type { Renderer } from "@wayward/game/renderer/Renderer";
38
38
  import type { INotificationLocation, ItemNotifierType, MarkerDescription, StatNotificationType } from "@wayward/game/renderer/notifier/INotifier";
39
39
  import type { MarkerType } from "@wayward/game/renderer/notifier/INotifier";
40
+ import Debug from "@wayward/game/utilities/dev/Debug";
40
41
  import type { IVector3 } from "@wayward/game/utilities/math/IVector";
41
42
  import type { IVector4 } from "@wayward/game/utilities/math/Vector4";
42
43
  import EventEmitter from "@wayward/utilities/event/EventEmitter";
@@ -82,8 +83,7 @@ export default abstract class Entity<DescriptionType = unknown, TypeType extends
82
83
  */
83
84
  addReferenceId(): void;
84
85
  abstract getName(): Translation;
85
- /** @deprecated Console helper */
86
- protected get debug(): any;
86
+ get debug(): Debug.JIT<[]>;
87
87
  /**
88
88
  * Called when filling out the entities description for the first time
89
89
  */
@@ -161,6 +161,10 @@ export default abstract class EntityMovable<DescriptionType = unknown, TypeType
161
161
  * Gets movement progress and moves the state machine forward when the movement is completed
162
162
  */
163
163
  getMovementProgress(timeStamp: number): number;
164
+ /**
165
+ * Returns the Y offset when rendering this entity when it's flying
166
+ */
167
+ getFlyingOffsetY(movementProgress: number): number;
164
168
  protected onMovementCompleted(movingData: IMovingData): void;
165
169
  get isFlying(): boolean;
166
170
  get isFastMoving(): boolean;
@@ -63,6 +63,7 @@ import type { FieldOfView } from "@wayward/game/renderer/fieldOfView/FieldOfView
63
63
  import { CanASeeBType } from "@wayward/game/renderer/fieldOfView/IFieldOfView";
64
64
  import type { SortDirection } from "@wayward/game/save/ISaveManager";
65
65
  import type { IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
66
+ import Debug from "@wayward/game/utilities/dev/Debug";
66
67
  import { Direction } from "@wayward/game/utilities/math/Direction";
67
68
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
68
69
  import Vector2 from "@wayward/game/utilities/math/Vector2";
@@ -192,7 +193,7 @@ export default abstract class Human<DescriptionType = unknown, TypeType extends
192
193
  * Luck is a multiplier applied to some random chance calculations.
193
194
  */
194
195
  get luck(): number;
195
- protected get debug(): any;
196
+ get debug(): Debug.JIT<[]>;
196
197
  updateDirection(tile: Tile | Direction.Cardinal, updateVehicleDirection?: boolean): Direction.Cardinal;
197
198
  protected onMovementCompleted(movingData: IMovingData): void;
198
199
  moveTowardsIsland(direction: Direction.Cardinal | Direction.None, options?: Partial<IMoveToIslandOptions>): Promise<void>;
@@ -9,12 +9,14 @@
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
11
  import type { IHasImagePath } from "@wayward/game/game/IObject";
12
+ import type { DeityReal } from "@wayward/game/game/deity/Deity";
12
13
  import type Doodad from "@wayward/game/game/doodad/Doodad";
13
14
  import type EntityWithStats from "@wayward/game/game/entity/EntityWithStats";
14
15
  import type Human from "@wayward/game/game/entity/Human";
15
16
  import type { AttackType, DamageType } from "@wayward/game/game/entity/IEntity";
16
17
  import type { Stat } from "@wayward/game/game/entity/IStats";
17
18
  import type { ActionType } from "@wayward/game/game/entity/action/IAction";
19
+ import type IActionContext from "@wayward/game/game/entity/action/IActionContext";
18
20
  import type { CreatureType, IDamageInfo } from "@wayward/game/game/entity/creature/ICreature";
19
21
  import type NPC from "@wayward/game/game/entity/npc/NPC";
20
22
  import type { IMovementIntent, WalkTo, WeightStatus } from "@wayward/game/game/entity/player/IPlayer";
@@ -26,6 +28,7 @@ import type Island from "@wayward/game/game/island/Island";
26
28
  import type { IContainer } from "@wayward/game/game/item/IItem";
27
29
  import { ItemType, ItemTypeGroup, RecipeLevel } from "@wayward/game/game/item/IItem";
28
30
  import type Item from "@wayward/game/game/item/Item";
31
+ import type Runekeeper from "@wayward/game/game/milestones/milestone/Runekeeper";
29
32
  import { TempType } from "@wayward/game/game/temperature/ITemperature";
30
33
  import type Tile from "@wayward/game/game/tile/Tile";
31
34
  import Message from "@wayward/game/language/dictionary/Message";
@@ -308,6 +311,14 @@ export interface IHumanEvents extends Events<EntityWithStats>, ISkillEvents {
308
311
  * @param tile The tile to get the movement penalty of
309
312
  */
310
313
  getTilePenalty(penalty: number, tile: Tile): number;
314
+ /**
315
+ * Allows modifying the curse value. This should only be used in debug tools or similar mods — the curse stat tooltip will be incorrect!
316
+ */
317
+ getCurse(curse: number): number;
318
+ /**
319
+ * Allows modifying a rune chance roll.
320
+ */
321
+ getRuneChance(chance: number, deity: ArrayOr<DeityReal>, domain: Runekeeper.DomainData, context: IActionContext): number;
311
322
  }
312
323
  export interface IHairstyleDescription extends IModdable, IHasImagePath {
313
324
  name: string;
@@ -18,6 +18,8 @@ import Translation from "@wayward/game/language/Translation";
18
18
  interface IActionContext {
19
19
  action: ActionType;
20
20
  executorReference?: Reference;
21
+ toolReference?: Reference;
22
+ targetReference?: Reference;
21
23
  tool?: ISerializedTranslation;
22
24
  target?: ISerializedTranslation;
23
25
  details?: Record<string, TranslationArg>;
@@ -26,6 +26,7 @@ import type Translation from "@wayward/game/language/Translation";
26
26
  import Message from "@wayward/game/language/dictionary/Message";
27
27
  import type { HighlightSelector } from "@wayward/game/ui/util/IHighlight";
28
28
  import Observer from "@wayward/game/utilities/Observer";
29
+ import Debug from "@wayward/game/utilities/dev/Debug";
29
30
  import EventEmitter from "@wayward/utilities/event/EventEmitter";
30
31
  export interface IUsableActionResolveUsingOptions {
31
32
  /** Whether to skip filling in the `fromTile` and `targetTile` properties. Defaults to `true` */
@@ -66,8 +67,7 @@ declare class UsableAction<REQUIREMENTS extends IUsableActionRequirements = IUsa
66
67
  private _disposed;
67
68
  get disposed(): boolean;
68
69
  constructor(requirements: REQUIREMENTS, definition: DEFINITION);
69
- /** @deprecated For console use only */
70
- protected get debug(): any;
70
+ get debug(): Debug.JIT<[]>;
71
71
  addUser(user: UsableActionRegistrar): this;
72
72
  removeUser(user: UsableActionRegistrar): this;
73
73
  is(id?: ActionId): boolean;
@@ -87,9 +87,9 @@ export declare enum AiMaskOrder {
87
87
  IfTamed = 6,
88
88
  Hidden = 7,
89
89
  Frenzied = 8,
90
- Pacified = 9,
91
- NeutralDueToEvent = 10,
92
- HostileDueToEvent = 11,
90
+ NeutralDueToEvent = 9,
91
+ HostileDueToEvent = 10,
92
+ Pacified = 11,
93
93
  WaitingForNoPlayerAdjacent = 12,
94
94
  Angered = 13,
95
95
  RecentlyAlerted = 14,
@@ -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, bonusTime?: number): boolean;
112
+ tame(human: Human, bonusTime?: number, wasByPlayerAction?: boolean): 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
  */
@@ -221,6 +221,10 @@ export default class Creature extends EntityWithStats<ICreatureDescription, Crea
221
221
  private breakItems;
222
222
  private processAiChanges;
223
223
  private addAlertedMarker;
224
+ /**
225
+ * Used for offseting notifiers
226
+ */
227
+ getMovementOffsetY(timeStamp: number): number;
224
228
  /**
225
229
  * @returns Whether the creature has lost interest
226
230
  */
@@ -10,7 +10,9 @@
10
10
  */
11
11
  import type { DoodadType } from "@wayward/game/game/doodad/IDoodad";
12
12
  import type { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
13
+ import type { ItemType } from "@wayward/game/game/item/IItem";
13
14
  import type { TerrainType } from "@wayward/game/game/tile/ITerrain";
15
+ import type { TileEventType } from "@wayward/game/game/tile/ITileEvent";
14
16
  import type { PartOfDay } from "@wayward/game/game/time/ITimeManager";
15
17
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
16
18
  import type WorldZ from "@wayward/utilities/game/WorldZ";
@@ -42,6 +44,7 @@ export interface IBiomeCreatureZones {
42
44
  guardians?: IBiomeGuardianZoneTiers;
43
45
  tileReplacements?: IBiomeTileReplacements;
44
46
  doodadReplacements?: IBiomeDoodadReplacements;
47
+ creatureCombos?: IBiomeCreatureCombos;
45
48
  }
46
49
  export type IBiomeCreatureZoneTiers = PartialRecord<`tier${number}`, IBiomeCreatureZoneTier>;
47
50
  export type IBiomeCreatureZoneTier = Map<WorldZ, IBiomeCreatureZoneSpawnGroup[]>;
@@ -68,6 +71,20 @@ export interface IBiomeDoodadReplacement {
68
71
  }
69
72
  export type IBiomeDoodadReplacements = PartialRecord<`tier${number}`, IBiomeDoodadReplacement[]>;
70
73
  export declare function doodadReplacementsTiers(replacements: IBiomeDoodadReplacements): IBiomeDoodadReplacements;
74
+ export interface IBiomeCreatureCombo {
75
+ /** The doodad to spawn when the creature is present. */
76
+ doodad?: DoodadType;
77
+ /** The tile event to spawn when the creature is present. */
78
+ tileEvent?: TileEventType;
79
+ /** The item to spawn when the creature is present. */
80
+ item?: ItemType;
81
+ /** `0` = 0% chance of spawning when the creature is present, `1` = 100%. Defaults to `1`. */
82
+ chance?: number;
83
+ /** Number of times to attempt spawning in the zone. Defaults to `1`. */
84
+ attempts?: number;
85
+ }
86
+ export type IBiomeCreatureCombos = PartialRecord<CreatureType, IBiomeCreatureCombo[]>;
87
+ export declare function creatureCombos(spawns: IBiomeCreatureCombos): IBiomeCreatureCombos;
71
88
  /**
72
89
  * The default size of a zone, on each axis. IE, a value of 60 is 60 tiles wide and 60 tiles long.
73
90
  */
@@ -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 { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
12
+ declare const _default: Partial<Record<CreatureType, import("@wayward/game/game/entity/creature/zone/ICreatureZone").IBiomeCreatureCombo[]>>;
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 { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
12
+ declare const _default: Partial<Record<CreatureType, import("@wayward/game/game/entity/creature/zone/ICreatureZone").IBiomeCreatureCombo[]>>;
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 { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
12
+ declare const _default: Partial<Record<CreatureType, import("@wayward/game/game/entity/creature/zone/ICreatureZone").IBiomeCreatureCombo[]>>;
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 { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
12
+ declare const _default: Partial<Record<CreatureType, import("@wayward/game/game/entity/creature/zone/ICreatureZone").IBiomeCreatureCombo[]>>;
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 { CreatureType } from "@wayward/game/game/entity/creature/ICreature";
12
+ declare const _default: Partial<Record<CreatureType, import("@wayward/game/game/entity/creature/zone/ICreatureZone").IBiomeCreatureCombo[]>>;
13
+ 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 { InfoProvider } from "@wayward/game/game/inspection/InfoProvider";
12
+ import { StatInfo } from "@wayward/game/game/inspection/infoProviders/stat/StatInfo";
13
+ export declare enum TemperatureInfoClasses {
14
+ }
15
+ export default class TemperatureInfo extends StatInfo {
16
+ private readonly temperatureFactors;
17
+ get(): InfoProvider[];
18
+ }
@@ -28,5 +28,6 @@ export default class DeityInspection extends Inspection<DeityReal> {
28
28
  private getDomainActions;
29
29
  private getDomainSkills;
30
30
  private getDomainCreatures;
31
+ private getDomainCurseEvents;
31
32
  private getDomainOther;
32
33
  }
@@ -50,6 +50,7 @@ import { Article } from "@wayward/game/language/ITranslation";
50
50
  import type TranslationImpl from "@wayward/game/language/impl/TranslationImpl";
51
51
  import type { SortDirection } from "@wayward/game/save/ISaveManager";
52
52
  import type { IUnserializedCallback } from "@wayward/game/save/serializer/ISerializer";
53
+ import Debug from "@wayward/game/utilities/dev/Debug";
53
54
  import type { Direction } from "@wayward/game/utilities/math/Direction";
54
55
  import type { IVector3 } from "@wayward/game/utilities/math/IVector";
55
56
  import type { IEventEmitter } from "@wayward/utilities/event/EventEmitter";
@@ -210,7 +211,7 @@ export default class Item extends EntityMovable<IItemDescription, ItemType, Refe
210
211
  * - `item.getName(undefined, 3)` // "stone axes"
211
212
  */
212
213
  getName(article?: Article, options?: Partial<IItemGetNameOptions>): TranslationImpl;
213
- protected get debug(): any;
214
+ get debug(): Debug.JIT<[overrideToStringTag?: string]>;
214
215
  protected get typeEnum(): typeof ItemType;
215
216
  protected getDescription(): IItemDescription | undefined;
216
217
  get isTransient(): boolean;
@@ -14,6 +14,7 @@ import type { CreatureType } from "@wayward/game/game/entity/creature/ICreature"
14
14
  import type { SkillType } from "../../entity/skill/ISkills";
15
15
  import type { NPCType } from "@wayward/game/game/entity/npc/INPCs";
16
16
  import type { ItemType } from "@wayward/game/game/item/IItem";
17
+ import type { CurseEventType } from "@wayward/game/game/curse/ICurse";
17
18
  declare namespace Runekeeper {
18
19
  enum Domain {
19
20
  Action = 0,
@@ -24,12 +25,13 @@ declare namespace Runekeeper {
24
25
  Event = 5,
25
26
  Craft = 6,
26
27
  Disassemble = 7,
27
- Dismantle = 8
28
+ Dismantle = 8,
29
+ CurseEvent = 9
28
30
  }
29
31
  type DomainName = Lowercase<keyof typeof Domain>;
30
- const DOMAINS: ("action" | "event" | "dismantle" | "craft" | "skill" | "disassemble" | "killcreature" | "tamecreature" | "killnpc")[];
32
+ const DOMAINS: ("action" | "event" | "craft" | "curseevent" | "skill" | "disassemble" | "dismantle" | "killcreature" | "tamecreature" | "killnpc")[];
31
33
  type DomainData = `${DomainName}:${number}`;
32
- function domainName(domain: Domain): DomainName;
34
+ function domainName(domain: Domain | DomainData): DomainName;
33
35
  function isDiscovered(domain: DomainData): boolean;
34
36
  function action(type: ActionType): DomainData;
35
37
  function skill(type: SkillType): DomainData;
@@ -39,6 +41,7 @@ declare namespace Runekeeper {
39
41
  function killCreature(type: CreatureType): DomainData;
40
42
  function tameCreature(type: CreatureType): DomainData;
41
43
  function killNPC(type: NPCType): DomainData;
44
+ function curseEvent(type: CurseEventType): DomainData;
42
45
  enum Event {
43
46
  FireSpread = 0,
44
47
  KillAberrant = 1,
@@ -37,6 +37,7 @@ import type { IRendererOrigin } from "@wayward/game/renderer/context/RendererOri
37
37
  import { FieldOfView } from "@wayward/game/renderer/fieldOfView/FieldOfView";
38
38
  import type { IFieldOfViewOrigin } from "@wayward/game/renderer/fieldOfView/IFieldOfView";
39
39
  import { CanASeeBType } from "@wayward/game/renderer/fieldOfView/IFieldOfView";
40
+ import Debug from "@wayward/game/utilities/dev/Debug";
40
41
  import { Direction } from "@wayward/game/utilities/math/Direction";
41
42
  import type { IVector2, IVector3 } from "@wayward/game/utilities/math/IVector";
42
43
  import { DistanceType } from "@wayward/game/utilities/math/Vector2";
@@ -137,8 +138,7 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
137
138
  constructor(island: Island, x: number, y: number, z: number, id: number, rendererData: number, quality: Quality, isFake?: true);
138
139
  get point(): IVector3;
139
140
  get description(): ITerrainDescription | undefined;
140
- /** @deprecated Console helper */
141
- protected get debug(): any;
141
+ get debug(): Debug.JIT<[]>;
142
142
  toString(): string;
143
143
  getName(layerIndex?: number, article?: Article, options?: ITileGetNameOptions): Translation;
144
144
  get type(): TerrainType;
@@ -474,6 +474,7 @@ export default class Tile implements IVector4, Partial<ITileContainer>, IFieldOf
474
474
  * Array version of tilesAround
475
475
  */
476
476
  getTilesAround(includeCurrentTile?: boolean, includeCorners?: boolean): Tile[];
477
+ getFlyingOffset(): number;
477
478
  /**
478
479
  * IterableIterator version of TileHelpers.getTilesAround
479
480
  */
@@ -8,7 +8,7 @@
8
8
  * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
9
  * https://github.com/WaywardGame/types/wiki
10
10
  */
11
- import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
11
+ import { type ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
12
12
  import type TileEvent from "@wayward/game/game/tile/TileEvent";
13
13
  interface IFireDescription extends ITileEventDescription {
14
14
  spread(tileEvent: TileEvent, ticks: number): void;
@@ -207,7 +207,7 @@ declare namespace Translation {
207
207
  constructor(base?: FVal, reformatter?: SupplierOr<Translation | undefined>);
208
208
  noParenthesis(): this;
209
209
  percentage(isPercentage?: boolean, premultiplied?: boolean): this;
210
- translate(simple?: boolean): Translation;
210
+ translate(simple?: boolean | "unless verbose"): Translation;
211
211
  private parenthesize;
212
212
  private translateAndFormatComponent;
213
213
  private translateComponent;