Weather Events
Estimated reading time: 2 minutesThe WeatherEvents module handles weather-related events and effects. It allows registering events on weather changes, modifying weather layers/effects, and adding custom weather types.
Use maplebirch.dynamic.regWeatherEvent / maplebirch.dynamic.addWeather (manager: maplebirch.dynamic.Weather). Do not rely on removed shortcut globals; see Getting Started for the supported Simple Frameworks shim surface.
Tip
Layer/effect changes must be registered before the framework's :passagestart phase. Using the recommended script load method ensures correct timing.
Core API
regWeatherEvent(eventId, options)
Register a new weather event.
delWeatherEvent(eventId)
Unregister a weather event.
addWeather(data)
Add custom weather types or exceptions.
