TDSTOS 1382de63fc Add natural disasters system
Introduce a natural-disasters feature: add DisasterManager, an abstract NaturalDisaster base class, and four concrete implementations (Earthquake, Meteor, Thunder, Tornado). Integrate the manager into SpeedHG (property, initialization/start) so disasters run on a timed cycle with guards for game state, grace period and per-disaster validation. Implementations: Meteor spawns a non-destructive LargeFireball impact, Earthquake applies nausea/impulses and particles, Thunder triggers multiple lightning strikes with fire chance, Tornado creates a particle vortex and pulls nearby players (uses a coroutine for precomputation). Add localization keys for disaster warnings in en_US.yml. Safety/cancel logic and flight/timeout cutoffs included to avoid leaks or invalid triggers.
2026-04-04 07:13:39 +02:00
2026-04-04 07:13:39 +02:00
2025-12-01 03:46:14 +01:00
2026-03-28 23:51:32 +01:00
2025-12-01 03:45:44 +01:00
2025-12-01 19:35:32 +01:00
2025-12-01 03:45:44 +01:00
Description
No description provided
784 KiB
Languages
Kotlin 100%