village-builder

VB-271: Walking costs more on a slope

Status: done (2026-11-10) Priority: 3 Size: S Design ref: design.md, World, climate and travel, the row Walking and terrain (slopes Decided, 10 Nov) Goal: Routes prefer flat ground and a pawn walks slower on a steep step: stepCost (src/sim/routes.js) adds SLOPE.perRise for each unit of elevation between the two tiles (w.he), at most SLOPE.max, the same up and down, so the way back stays the way there, reversed. Acceptance criteria: