feat: Terrain-Template-Auswahl (sc_list_templates / sc_new_from_template)

Aus vorgefertigten Basis-Karten (data/maps/templates/) eine Arbeits-Basiskarte erzeugen, statt jedes Terrain manuell zu bauen. workspace.py: TEMPLATES_DIR + list_templates/read_terrain_meta/new_from_template. tools/terrain_roundtrip_test.py belegt section-stabilen RichChk-Durchlauf; tools/template_tools_test.py testet die neuen Tools end-to-end.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kenearos 2026-06-22 19:29:22 +02:00
parent 4075cf4ebd
commit aba9759400
6 changed files with 390 additions and 1 deletions

5
.gitignore vendored
View file

@ -10,3 +10,8 @@ __pycache__/
data/maps/*
!data/maps/base-map.scx
!data/maps/.gitkeep
# Template-Ordner: Struktur + README einchecken, die Template-Maps selbst aber nicht
# (koennen gross / lizenzbehaftet sein).
!data/maps/templates/
data/maps/templates/*
!data/maps/templates/README.md