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