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

setLightingWeather

setLightingWeather(world, weather): void

Lays weather over the weather this page’s look draws, past the game’s rule and the scene’s own, or lets it go with null: a presentation verb, as setLightingHour is, for the devtools, a photo mode or a shot, which the room’s record never hears. Refuses a factor out of its range, and throws in development, keeping the weather it laid before.

Parameter Type
world World
weather Partial<LiveWeather> | null

void