Docs/JSON

World and seasons

Configure the shared clock, automatic seasons, Nomad refills and weather in world.json.

API version 1Lua 5.1Updated 2026-11-07

Clock, seasons, Nomad refills and weather. Values apply live on /scenario reload, except season.force, which is applied when the world loads (restart). The values below are the defaults of scenarios/default/world.json.

{
  "time_scale": 1.0,
  "season": {
    "force": "",
    "fade_minutes": 8,
    "summer_days": [1.5, 4],
    "winter_days": [1, 2.5],
    "warning_minutes": 2
  },
  "nomads": {
    "refill_reset_minutes": [20, 60],
    "refill_amount": [10, 50]
  },
  "weather": {
    "duration_seconds": [300, 1200],
    "weights": {
      "Aurora": 1,
      "Storm": 10,
      "Rain": 10,
      "Overcast": 10,
      "Wind": 10,
      "Neutral": 60
    }
  }
}

Layering: season, nomads, weather and weather.weights merge key by key; [min, max] pairs replace whole.

  • time_scale: day/night speed from 0–100; 1 is normal and 0 pauses the clock. It does not change real-time physics, AI, loot or weather durations.
  • season.force: "summer" or "winter" forces the shared season on every start; empty (default) keeps the saved world, which is summer for a new one. Winter brings cold exposure outside shelters (4x faster in water, 8x submerged, judged from the server-tracked position), frozen items, snow storms with fog, and 100 m AI vision in fog. /season [summer|winter] changes it live and saves it, but a non-empty setting is applied again on restart.
  • season.fade_minutes: real minutes a season change takes to blend (default 8; 0 changes at once). The world keeps a winter amount from 0 to 1 that moves toward the target season at that pace and is saved with the world. Snow cover on the ground and trees follows it on clients, winter cold scales with it (summer warming stops once it passes 10%), the chance for new loot to spawn frozen scales with it, a Storm's fog and the fog cap on AI vision scale with it, and the discrete season the game reads (camo, footsteps, rain turning to snow) flips at 50%. Item freezing already in an inventory is still decided by the client's own timer.
  • season.summer_days and season.winter_days: the random length [min, max] of each automatic season, in in-game days (defaults [1.5, 4] and [1, 2.5]; [0, 0] for either turns automatic changes off). The server rolls a length when a season starts, saves the deadline in the world, and then flips the target season and fades as above. A game day takes about 2.4 real hours at time_scale 1 (144 minutes divided by time_scale), so the defaults mean roughly 3.6-9.6 real hours of summer and 2.4-6 of winter. Winter is the harsher season, so it is shorter by default. Changing the target by hand (/season) restarts the schedule, and moving the day or time is followed consistently because the schedule is kept in game days. season.force still forces the starting season on every restart; with automatic changes on, leave it empty to keep the saved season across restarts.
  • season.warning_minutes: real minutes before an automatic change that every ready player gets an orange notice ("The air is growing colder. Winter is coming."); 0 sends none and announces at the change instead. A change made by hand (/season, the admin menu) or an automatic change that the clock reached without a warning is announced when it begins ("The season is changing. ..."). Every season warning, change and finished fade is also written to the server log with a [season] prefix. Default 3.
  • nomads.refill_reset_minutes: [min, max] real minutes; after each refill the server waits a random time in this range (default [20, 60]; [0, 0] disables refills). The countdown is saved with the world.
  • nomads.refill_amount: [min, max] Nomads each refill adds, picked at random and capped at 100 (default [10, 50]). Every connected player gets a native toast when a refill happens.
  • weather.duration_seconds: [min, max] real seconds a weather lasts, 10 to 86400 (default [300, 1200]). The next duration is drawn uniformly from the range.
  • weather.weights: relative weight of each weather when one ends: exactly the keys Aurora, Storm, Rain, Overcast, Wind and Neutral (the names the client knows), integers of at least 0 that add up to more than 0. The defaults (1, 10, 10, 10, 10, 60 out of 101) are the vanilla roll. Fog is never rolled; set it with /weather.

Errors name the range, for example world.json: time_scale: must be a number 0..100 (default 1 = normal day/night speed).

Not configurable (fixed in code): the Nomad population cap of 100, the start time of a new world (12:00), and the clock rate (2400 clock units per game day at time_scale 1).

Found a mistake or missing detail? Tell us in the Discord.