Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

WeatherRule

The one listed plugin’s answer to the weather question the look asks.

writeClear(world, target): void

Writes the identity of each of the game’s own factors into target’s custom, and 0 for each of its ground states into its ground, for a scene that draws no weather, such as an interior, so an effect reads its identity there as it does under a clear sky.

Parameter Type
world World
target LiveWeather

void


writeWeather(world, target): void

Writes world’s weather at its room second now into target, which holds the identity: every field it leaves is none. A page’s rig asks it each frame; a room, which draws nothing, never does.

Parameter Type
world World
target LiveWeather

void