five-on-it / packages/shared/src/weather / WeatherScript
Interface: WeatherScript
Defined in: packages/shared/src/weather.ts:88
A scripted weather: a kind and an intensity from a time, coming in over ramp, until a time (or for good).
Properties
from
from:
number
Defined in: packages/shared/src/weather.ts:90
The game minutes it starts at.
intensity
intensity:
number
Defined in: packages/shared/src/weather.ts:94
Its intensity, 0..1.
kind
kind:
"clear"|"overcast"|"rain"|"storm"|"fog"|"snow"
Defined in: packages/shared/src/weather.ts:92
The kind.
ramp
ramp:
number
Defined in: packages/shared/src/weather.ts:96
The game minutes it comes in over.
until?
optionaluntil?:number
Defined in: packages/shared/src/weather.ts:98
The game minutes it ends at, the natural weather back; for good without.