From c9541362f9c95eff54b34a20234bd914faaca5c9 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Mon, 6 Apr 2026 08:19:42 +0200 Subject: [PATCH] fix(assets): clean up stale grain_belt comment in settlement scorer Co-Authored-By: Claude Sonnet 4.6 --- spikes/heightmap-pipeline/generate_kallast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spikes/heightmap-pipeline/generate_kallast.py b/spikes/heightmap-pipeline/generate_kallast.py index 4b3dc6c62..fdef2958d 100644 --- a/spikes/heightmap-pipeline/generate_kallast.py +++ b/spikes/heightmap-pipeline/generate_kallast.py @@ -347,7 +347,7 @@ def place_settlements(terrain: np.ndarray, cities: list) -> list: ty, tx = cy + dy, cx + dx if 0 <= ty < H and 0 <= tx < W: c = classified[ty, tx] - # Score: higher for plains/grain_belt, acceptable for coast/lowland + # Score: higher for plains/grassland, acceptable for coast/lowland score = 0 if c in (5, 6): # plains/grassland (ideal settlement terrain) score = 20 - (abs(dy) + abs(dx)) * 0.2