-- Seed excursion / roadside-rest tuning into runtime_config.payload (merged with existing keys).
UPDATE runtime_config
SET
    payload = payload || '{
        "adventureStartChance": 0.0001,
        "adventureCooldownMs": 300000,
        "adventureOutDurationMs": 20000,
        "adventureWildMinMs": 560000,
        "adventureWildMaxMs": 2960000,
        "adventureReturnDurationMs": 20000,
        "adventureDepthWorldUnits": 20,
        "adventureEncounterCooldownMs": 6000,
        "adventureReturnEncounterEnabled": true,
        "lowHpThreshold": 0.25,
        "roadsideRestExitHp": 0.7,
        "adventureRestTargetHp": 0.7,
        "roadsideRestMinMs": 240000,
        "roadsideRestMaxMs": 600000,
        "roadsideRestHpPerSecond": 0.003,
        "adventureRestHpPerSecond": 0.004
    }'::jsonb,
    updated_at = now()
WHERE id = TRUE;
