diff --git a/tools/climate-diag.ts b/tools/climate-diag.ts index 35c9fef2..dbf884e9 100644 --- a/tools/climate-diag.ts +++ b/tools/climate-diag.ts @@ -56,13 +56,13 @@ const totalTurns = parseInt(opt('turns', '200'), 10) const every = parseInt(opt('every', '10'), 10) const jsonMode = flag('json') const terrainDetail = flag('terrain-detail') -const paramsPath = opt('params', path.join(ROOT, 'games/age-of-four/data/climate_params.json')) -const specPath = path.join(ROOT, 'games/age-of-four/data/climate_spec.json') +const paramsPath = opt('params', path.join(ROOT, 'games/age-of-dwarves/data/climate_params.json')) +const specPath = path.join(ROOT, 'games/age-of-dwarves/data/climate_spec.json') // ── Load data from disk (bypass Vite) ──────────────────────────────────────── function loadTerrainCache(): Map> { - const terrainDir = path.join(ROOT, 'games/age-of-four/data/terrain') + const terrainDir = path.join(ROOT, 'games/age-of-dwarves/data/terrain') const cache = new Map>() for (const file of fs.readdirSync(terrainDir)) { if (!file.endsWith('.json')) continue diff --git a/tools/population_sim.py b/tools/population_sim.py index e616954e..4aaa3578 100644 --- a/tools/population_sim.py +++ b/tools/population_sim.py @@ -17,7 +17,7 @@ from pathlib import Path from typing import Optional ROOT = Path(__file__).resolve().parent.parent -WEIGHTS_PATH = ROOT / "games/age-of-four/data/world/traits/biome_trait_weights.json" +WEIGHTS_PATH = ROOT / "games/age-of-dwarves/data/world/traits/biome_trait_weights.json" # --- Constants matching GDScript ---