Skip to content

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

Variable: WEATHER ​

const WEATHER: object

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

The weather's timing (game minutes) and its memory.

Type Declaration ​

blend ​

readonly blend: 5 = 5

A front comes in over this long.

dryDown ​

readonly dryDown: 40 = 40

...and dry in about this long.

front ​

readonly front: 30 = 30

A front lasts this long.

keep ​

readonly keep: 0.7 = 0.7

The share of a regime's fronts that follow it.

melt ​

readonly melt: 120 = 120

...and melts in about this long once it stops.

memory ​

readonly memory: 360 = 360

How far back the wetness and the snow are worked out from.

regime ​

readonly regime: 240 = 240

A regime (the kind most of its fronts follow) lasts this long.

snowUp ​

readonly snowUp: 30 = 30

Snow settles in about this long...

wetUp ​

readonly wetUp: 10 = 10

The roads get wet in about this long in the rain (the time constant)...