Skip to content

Weather zones

How to play

Weather is spatial: RAIN, STORM, SNOW and FOG zones spawn dynamically per biome, drift, and expire.

  • /weather [rain|storm|snow|fog|none] (admin) — force a zone at your position, or clear all zones.
  • /weather-forecast — list active zones and their distance.

WeatherManager ticks zone drift and expiry inside the game loop.

Configuration

data/config/weather.yaml (bundled default resources/config/weather.yaml, schema weather.schema.json):

enabled: true
weatherTypes:
  - type: RAIN
    biomes: [plains, forest]
    enabled: true
    spawnRatePerBiomeTick: 0.0002
    minDurationTicks: 1200
    maxDurationTicks: 12000
    minRadius: 48.0
    maxRadius: 192.0
    driftSpeed: 0.1

Reload with /reload.

Weather zones

Defined in data/config/weather.yaml. Zones spawn per biome tick, drift, and expire. Force one with /weather, inspect active zones with /weather-forecast.

Type Biomes Spawn rate/tick Duration (ticks) Radius Drift
RAIN plains, forest 0.0002 1200–12000 48.0–192.0 0.1
STORM plains, forest, mountains 0.00005 600–3600 32.0–128.0 0.15
SNOW tundra, mountains 0.0003 2400–24000 64.0–256.0 0.05
FOG forest, plains, mountains 0.0001 3000–18000 32.0–96.0 0.02