1681-engine / index / WeatherTable
Interface: WeatherTable<K> ​
Defined in: src/ambient/weather.ts:33
Type Parameters ​
| Type Parameter | Default type |
|---|---|
K extends string | string |
Properties ​
fadeMs ​
ts
fadeMs: number;Defined in: src/ambient/weather.ts:37
How long a change of kind takes to fade out and in.
places ​
ts
places: Readonly<Record<string, readonly WeatherEntry<K>[]>>;Defined in: src/ambient/weather.ts:39
Each place's own list; a place with none (a cave) has no weather, even inside a sky.
skies? ​
ts
optional skies?: Readonly<Record<string, WeatherSky<K>>>;Defined in: src/ambient/weather.ts:41
Groups of neighbouring places that share one sky, by group id.
slotMs ​
ts
slotMs: number;Defined in: src/ambient/weather.ts:35
How long one roll of the sky lasts.