village-builder

VB-440: Developing a tile tells the route cache

Status: done (2026-11-14) Priority: 2 Size: S Arch: roads Phase: implement Design ref: World, climate and travel (Worn paths); src/sim/routes.js, tileCost Goal: A developed tile walks as open ground (tileCost, src/sim/routes.js: cost 1, whatever its biome), so developing one changes its walking cost. Three acts developed a tile without telling the route cache, so routes cached past it stayed stale until something else dropped them: a household’s broken field (sim/fields, broken), its new meadow (sim/meadows, addMeadow) and a village plot’s broken field (sim/expansion, finishStep). Every other writer of w.dev already calls costChanged. Kim, 14 November: found by the review of PR #134, whose research is not merged; this fix is taken from it. Acceptance criteria: