Skip to content

five-on-it / packages/protocol/src/city / WeatherMessage

Variable: WeatherMessage ​

const WeatherMessage: ZodObject<{ climate: ZodEnum<{ alpine: "alpine"; autumn: "autumn"; coast: "coast"; desert: "desert"; farmland: "farmland"; forest: "forest"; meadow: "meadow"; none: "none"; steppe: "steppe"; temperate: "temperate"; }>; night: ZodOptional<ZodBoolean>; script: ZodOptional<ZodObject<{ from: ZodNumber; intensity: ZodNumber; kind: ZodEnum<{ clear: "clear"; fog: "fog"; overcast: "overcast"; rain: "rain"; snow: "snow"; storm: "storm"; }>; ramp: ZodNumber; until: ZodOptional<ZodNumber>; }, $strip>>; seed: ZodNumber; type: ZodLiteral<"weather">; }, $strip>

Defined in: packages/protocol/src/city.ts:71

The room's weather (@foi/shared's RoomWeather): the seed its fronts are drawn from, its climate, a script in force (a kind at an intensity from a game minute, coming in over ramp minutes, until a minute or for good), and whether the dark of night shortens sight (night).