defineWeather
defineWeather(
name,options):WeatherHandle
Declares a weather at module scope, such as a storm or a game’s own
heat: the factors that differ from clear’s, and the ground’s levels
under it. Throws for a name that is not kebab-case and a factor out of
its range. weather({ presets }) installs it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
options |
WeatherPresetOptions |