@wayward/types 2.14.4-beta.dev.20250203.1 → 2.14.4-beta.dev.20250207.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.
@@ -78,7 +78,7 @@ export interface ITileEventDescription extends IObjectDescription, IModdable, IC
78
78
  canCreate?(island: Island, type: TileEventType, tile: Tile, tileType: TerrainType): boolean;
79
79
  create?(tileEvent: TileEvent): void;
80
80
  remove?(tileEvent: TileEvent): void;
81
- update?(tileEvent: TileEvent): void;
81
+ update?(tileEvent: TileEvent, ticks: number): void;
82
82
  /**
83
83
  * Gets the temperature produced by this tile event. Positive values are "heat", negative values are "cold".
84
84
  * Refer to the values of the `Temperature` enum to see the possible range.
@@ -96,7 +96,7 @@ export default class TileEvent extends EntityMovable<ITileEventDescription, Tile
96
96
  protected updateTileWhenMoving(fromTile: Tile, toTile: Tile): boolean;
97
97
  addToTile(tile: Tile): void;
98
98
  removeFromTile(updateTile: boolean): void;
99
- burn(fire: TileEvent): void;
99
+ burn(fire: TileEvent, ticks: number): void;
100
100
  /**
101
101
  * Gets the builder/creator of this event, or `undefined` if the tile event is creatorless.
102
102
  */
@@ -44,7 +44,7 @@ export default class TileEventManager extends EntityManager<TileEvent> {
44
44
  */
45
45
  getPuddles(tile: Tile): TileEvent[] | undefined;
46
46
  canGather(tile: Tile): TileEvent | undefined;
47
- updateAll(): void;
47
+ updateAll(ticks: number): void;
48
48
  /**
49
49
  * Overflow fire around the tile
50
50
  */
@@ -24,6 +24,6 @@ declare const _default: {
24
24
  getMeltRate(island: Island, terrainType: TerrainType, tile: Tile): number;
25
25
  canMelt(island: Island, terrainType: TerrainType, tile: Tile): boolean;
26
26
  canCreate(island: Island, type: TileEventType, tile: Tile, tileType: TerrainType): boolean;
27
- update(tileEvent: TileEvent): void;
27
+ update(tileEvent: TileEvent, ticks: number): void;
28
28
  };
29
29
  export default _default;
@@ -11,7 +11,7 @@
11
11
  import { LiquidType } from "@wayward/game/game/island/IIsland";
12
12
  import type { ITileEventDescription } from "@wayward/game/game/tile/ITileEvent";
13
13
  import type TileEvent from "@wayward/game/game/tile/TileEvent";
14
- export declare function puddleUpdate(tileEvent: TileEvent, description: ITileEventDescription, liquidType: LiquidType): void;
14
+ export declare function puddleUpdate(tileEvent: TileEvent, description: ITileEventDescription, liquidType: LiquidType, ticks: number): void;
15
15
  export declare const puddleOfFreshWater: ITileEventDescription;
16
16
  export declare const puddleOfPurifiedFreshWater: ITileEventDescription;
17
17
  export declare const puddleOfUnpurifiedFreshWater: ITileEventDescription;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.14.4-beta.dev.20250203.1",
4
+ "version": "2.14.4-beta.dev.20250207.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",