game: Westmark als erste generische Karte — Gebiets-Loader, Trigger, Begegnungen aus Daten

This commit is contained in:
torsten 2026-11-17 16:35:30 +01:00
parent 42f581172a
commit 2c14fbf89c
18 changed files with 1227 additions and 30 deletions

View file

@ -508,6 +508,9 @@
"maps": {
"glob": "maps/*.json",
"felder": {
"id": {
"typ": "string"
},
"name": {
"typ": "string",
"pflicht": true
@ -537,6 +540,44 @@
"laenge": "height",
"zeilen": "width"
},
"blocked": {
"typ": "list",
"laenge": "height",
"zeilen": "width"
},
"spawn": {
"typ": "dict"
},
"encounters": {
"typ": "dict"
},
"triggers": {
"typ": "list",
"element": {
"id": {
"typ": "string",
"pflicht": true
},
"x": {
"typ": "int",
"pflicht": true
},
"y": {
"typ": "int",
"pflicht": true
},
"encounter": {
"typ": "string",
"verweis": "encounters"
},
"once": {
"typ": "bool"
},
"text": {
"typ": "string"
}
}
},
"objects": {
"typ": "list",
"element": {
@ -551,6 +592,9 @@
"y": {
"typ": "int",
"pflicht": true
},
"blocked": {
"typ": "bool"
}
}
},