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.
Access via maplebirch.dynamic.Weather or shortcut maplebirchFrameworks.addWeatherEvent().
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.
