Skip to content

five-on-it / packages/shared/src/weather / RoomWeather

Interface: RoomWeather ​

Defined in: packages/shared/src/weather.ts:102

A room's weather: its seed and climate, and a script in force.

Properties ​

climate ​

climate: "none" | "temperate" | "meadow" | "forest" | "alpine" | "farmland" | "steppe" | "desert" | "autumn" | "coast"

Defined in: packages/shared/src/weather.ts:106

Its climate.


night? ​

optional night?: boolean

Defined in: packages/shared/src/weather.ts:113

Whether the dark of night shortens sight (@foi/ai's visibility.ts): the room's sky is on (a level that ships); off on the test levels and the e2e servers by default.


script? ​

optional script?: WeatherScript

Defined in: packages/shared/src/weather.ts:108

A script in force, if any.


seed ​

seed: number

Defined in: packages/shared/src/weather.ts:104

The seed its fronts are drawn from.