Other great resources: Official JS API docs, Scripting Forum
Â
setWeather(WEATHER_RAIN); // rain starts, any other weather ends
Requires:
Environmental effects:
Related constants: