Dynamic Events

Estimated reading time: less than 1 minute

The DynamicManager module manages three types of dynamic events: time events, state events, and weather events. Access via maplebirch.dynamic.

Overview

Event TypeDescription
State EventsEvents triggered by game state changes
Time EventsEvents triggered at specific times
Weather EventsWeather-related events and custom weather types

Module Initialization

DynamicManager registers a :passagestart listener during the preInit phase. On the first Passage start, it initializes three sub-managers:

ELK not loaded. Ensure /elk.bundled.js is loaded before the app.