Place training camps by map and x/y instead of geographic coordinates

Every resort names its map (Germany, Europe, Middle East) and carries x/y on
that map; coordinates stay null until the interface defines the map sizes.
Maps are their own list so further maps can be added later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-23 16:15:04 +02:00
1 parent d856000780
commit d6a929534b
3 files changed
+24 -14

No files matched your search

+7 -1
View File
@@ -47,11 +47,17 @@ Dokument eine Zeile, sobald seine Projektion festgelegt ist.
Projektion `TrainingCampView`:
- `camps[]`: ID, Region (`de`, `eu`, `me`), Name, Ort, Land, Position, vier Qualitätswerte (0–6), Basispreis, Bildschlüssel,
- `maps[]`: Karten mit ID, Name und – sobald festgelegt – Breite und Höhe; die UI zeigt je Karte einen Umschalter,
- `camps[]`: ID, Karte (`map:de`, `map:eu`, `map:me`), X/Y-Lage auf der Karte (anfangs leer), Name, Ort, Land, vier Qualitätswerte (0–6), Basispreis, Bildschlüssel,
- `price`: Preis für den aktuellen Kader (Basispreis + 5000 × Spieler) je Lager,
- `stays_this_season` (0–3), `booked_this_week`, `affordable` je Lager,
- `focus`: Kondition, Technik, Spiel (0–15) und die abgeleitete Erholung.
Koordinatensystem und Maße der Karten legt die Oberfläche fest; die Werte werden
über den Editor in den Datensatz eingetragen (siehe [Datenformat F4](datenformat.md#f4--trainingslager)).
Bis dahin platziert die UI Lager ohne Koordinaten selbst, zum Beispiel nach dem
bisherigen POC.
Aktionen:
- `set_camp_focus(kondition, technik, spiel)`: Fehler, wenn ein Wert außerhalb 0–15 liegt.