game: Engine-Gerüst mit datengetriebenen Inhalten; Titelgrafik über fal

Godot-Projekt nach docs/engine.md: 640x360-Viewport, stretch=viewport,
scale_mode=integer, 1x-Assets in game/assets/. Autoloads Content (laden und
prüfen), Rules (Effekt-Vokabel), Game (Party, Ort, abgeleitete Werte), Saves
(versionierter Spielstand, nur Eingaben).

Inhalte liegen vollständig als JSON in game/data/ und werden gegen
_schema.json geprüft: 4 Völker, 4 Klassen, 9 Fertigkeiten, 16 Fähigkeiten,
18 Zauber, 11 Gegenstände, 8 Gegner, 4 Begegnungen, 3 NSC, 1 Karte (20x11).
Die Engine nennt keine Klasse und keinen Zauber beim Namen — alles über ids,
Verhalten ausschließlich über 13 Effekt-ops. Beim ersten Content-Durchlauf ist
die Vokabel um turn_undead und immunity gewachsen, bonus kennt multiplier;
genau das war der Zweck der Übung.

Zwei Prüfer, eine Wahrheit: tools/validate_data.py (ohne Godot, für Commit/CI)
und ContentDB beim Start. Beide lesen dieselbe _schema.json; unbekanntes op
oder fehlender Verweis bricht ab statt still zu wirken.

Selbstprüfung im Projekt (godot --headless --path game -- --check) ist grün:
Daten geladen, Würfel 2d6+1, Modifikator, Effekt Magisches Geschoss,
Spielstand schreiben/lesen/identisch, Font im Engine-Raster (2 Zeichen = 16 px,
Zeile 12). Letzteres belegt erstmals, dass der BMFont-Export aus art/final/Font
in der Engine sitzt.

Titelgrafik über fal (FLUX.2 [pro], 1536x864, Seed 771201, 0,04 USD,
request_id 01a1dc5a-871a-7511-b8f8-571988a47c18): zwei vermummte Pilger vor dem
Tor von Garana. Der erste Lauf (Seed 20261115) zeigte moderne Wanderer mit
Rucksäcken und ist verworfen; beide stehen im Lizenzlog. pixelize.py bekam
--crop, weil das Modell eine Signatur in die Ecke malt.

Achtung: das Projekt wurde headless importiert (godot --import); die
*.import-Dateien gehören ins Repo, .godot/ nicht. Für den Export muss
include_filter="*.json" gesetzt werden, sonst fehlen die Inhalte im Build.
This commit is contained in:
torsten 2026-11-15 00:30:14 +01:00
parent 8ed8f4bbf6
commit 6114bef956
99 changed files with 4777 additions and 28 deletions

View file

@ -36,6 +36,24 @@ python3 ../../tools/pixelize.py ../../raw/Pictures/<roh>.png \
| `taverne_A_1280x720.png` | `raw/Pictures/szene_taverne_flux2_gpu_seed771102.png` | 771102 | `--size 640x360 --colors 32 --upscale 2` (leer, Richtung A) |
| `waldrand_1280x720.png` | `raw/Pictures/terrain_waldrand_s90210.png` | 90210 | `--size 640x360 --colors 64 --levels 0.5 --gamma 1.3 --upscale 2` |
**Titelgrafik** (15.11.2026): `titel_westreich_1280x720.png` — zwei vermummte
Pilger auf dem Weg zum Tor von Garana, Abendlicht, freie dunkle Fläche oben
rechts für den Titel. Rohbild über fal:
```bash
python3 ../../tools/falgen.py --endpoint fal-ai/flux-2-pro --size 1536x864 \
--seed 771201 --name titel_westreich_fal_s771201 --kategorie Pictures --prompt "..."
python3 ../../tools/pixelize.py <roh>.png -o titel_westreich_1280x720.png \
--size 640x360 --colors 64 --levels 0.5 --gamma 1.3 --upscale 2 \
--crop 0,0,52,56
```
`--crop` schneidet die Signatur des Modells in der rechten unteren Ecke ab
(neu in `pixelize.py`); das erste Rohbild mit demselben Motiv zeigte
moderne Wanderer mit Rucksäcken und ist verworfen — Prompt-Regel daraus:
**„hooded cloaks, walking staff" statt „travellers with a pack"**, sonst malt
das Modell Gegenwartskleidung. Beide Läufe stehen im Lizenzlog.
## Regeln
- **`--levels 0.5 --gamma 1.3` ist Pflicht** bei Nacht- und Innenszenen: ohne

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

View file

@ -87,3 +87,5 @@ datum,endpoint_id,request_id,prompt,seed,lizenz
2026-11-14,fal-ai/flux-2/klein/9b,01a1dc24-1e63-7770-a675-e62bab925108,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, full body of a plump merchant in a deep blue robe with a leather purse on the belt, empty-handed, seen from a high three-quarter angle facing the viewer, standing, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, feet clearly visible, no cast shadow, no ground plane",8004,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 1.0 = 0.01 USD"
2026-11-14,fal-ai/flux-2/klein/9b,01a1dc24-2c00-72c3-a04d-c9a459cb379a,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, full body of a druid in a green hooded robe with a wooden amulet, empty-handed, seen from a high three-quarter angle facing the viewer, standing, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, feet clearly visible, no cast shadow, no ground plane",8005,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 1.0 = 0.01 USD"
2026-11-14,fal-ai/flux-2/klein/9b,01a1dc24-3675-77e0-ae6c-ed407516217e,"illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, full body of a ragged beggar in a patched grey cloak with a wooden bowl, seen from a high three-quarter angle facing the viewer, standing, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, feet clearly visible, no cast shadow, no ground plane",8006,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 1.0 = 0.01 USD"
2026-11-15,fal-ai/flux-2-pro,01a1dc5a-2d65-7462-a009-fb5a943ecdde,"painterly fantasy RPG title illustration, wide establishing view: a muddy road at dusk leading to the timber gate of a small walled town, warm amber lantern light spilling from the gate and a few windows, dark pine forest pressing in from the left, low hills and a pale cold sky behind, four small silhouetted travellers with a lantern and a pack walking toward the gate, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, the upper third of the picture calm and dark with open sky, no text",20261115,"FLUX.2 [pro] über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1536x864, 1.3271 MP, x-fal-billable-units 1.5 = 0.04 USD"
2026-11-15,fal-ai/flux-2-pro,01a1dc5a-871a-7511-b8f8-571988a47c18,"painterly fantasy RPG title illustration, wide establishing view: a muddy road at dusk leading to the timber gate of a small walled medieval town, warm amber lantern light spilling from the gate and a few windows, dark pine forest pressing in from the left, low hills and a pale cold sky behind, two medieval pilgrims in long hooded cloaks with a single lantern and a walking staff on the road toward the gate, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, the upper third of the picture calm and dark with open sky, no text, no modern clothing, no backpacks",771201,"FLUX.2 [pro] über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1536x864, 1.3271 MP, x-fal-billable-units 1.5 = 0.04 USD"

1 datum endpoint_id request_id prompt seed lizenz
87 2026-11-14 fal-ai/flux-2/klein/9b 01a1dc24-1e63-7770-a675-e62bab925108 illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, full body of a plump merchant in a deep blue robe with a leather purse on the belt, empty-handed, seen from a high three-quarter angle facing the viewer, standing, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, feet clearly visible, no cast shadow, no ground plane 8004 FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 1.0 = 0.01 USD
88 2026-11-14 fal-ai/flux-2/klein/9b 01a1dc24-2c00-72c3-a04d-c9a459cb379a illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, full body of a druid in a green hooded robe with a wooden amulet, empty-handed, seen from a high three-quarter angle facing the viewer, standing, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, feet clearly visible, no cast shadow, no ground plane 8005 FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 1.0 = 0.01 USD
89 2026-11-14 fal-ai/flux-2/klein/9b 01a1dc24-3675-77e0-ae6c-ed407516217e illustrated fantasy RPG art, late-1980s role-playing game cover-illustration sensibility, flat color shapes with hard edges, limited palette of six to eight hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep umber shadow, no gradients except two-step blends, strong silhouettes, readable at small size, painterly but economical detail, full body of a ragged beggar in a patched grey cloak with a wooden bowl, seen from a high three-quarter angle facing the viewer, standing, isolated on a flat solid magenta background, complete silhouette with both arms and both legs visible, feet clearly visible, no cast shadow, no ground plane 8006 FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1024x1024, 1.0486 MP, x-fal-billable-units 1.0 = 0.01 USD
90 2026-11-15 fal-ai/flux-2-pro 01a1dc5a-2d65-7462-a009-fb5a943ecdde painterly fantasy RPG title illustration, wide establishing view: a muddy road at dusk leading to the timber gate of a small walled town, warm amber lantern light spilling from the gate and a few windows, dark pine forest pressing in from the left, low hills and a pale cold sky behind, four small silhouetted travellers with a lantern and a pack walking toward the gate, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, the upper third of the picture calm and dark with open sky, no text 20261115 FLUX.2 [pro] über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1536x864, 1.3271 MP, x-fal-billable-units 1.5 = 0.04 USD
91 2026-11-15 fal-ai/flux-2-pro 01a1dc5a-871a-7511-b8f8-571988a47c18 painterly fantasy RPG title illustration, wide establishing view: a muddy road at dusk leading to the timber gate of a small walled medieval town, warm amber lantern light spilling from the gate and a few windows, dark pine forest pressing in from the left, low hills and a pale cold sky behind, two medieval pilgrims in long hooded cloaks with a single lantern and a walking staff on the road toward the gate, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, the upper third of the picture calm and dark with open sky, no text, no modern clothing, no backpacks 771201 FLUX.2 [pro] über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1536x864, 1.3271 MP, x-fal-billable-units 1.5 = 0.04 USD

View file

@ -458,6 +458,10 @@ def main(argv: list[str] | None = None) -> int:
ap.add_argument("--inset", type=float, default=0.0, metavar="PROZENT",
help="Rand vor dem Skalieren abschneiden (z. B. 3) — "
"entfernt Rahmen/Vignetten aus Kachel-Rohbildern")
ap.add_argument("--crop", default=None, metavar="L,O,R,U",
help="Pixel vorne/oben/rechts/unten abschneiden, z. B. "
"0,0,52,56 — entfernt Signaturen und Wasserzeichen in "
"einer Ecke, ohne das Bild zu verschieben")
ap.add_argument("--levels", type=float, default=0.0,
help="Auto-Kontrast: Prozent je Ende abschneiden, z. B. 0.5")
ap.add_argument("--gamma", type=float, default=1.0,
@ -497,6 +501,14 @@ def main(argv: list[str] | None = None) -> int:
if src.mode != "RGB":
src = src.convert("RGB")
src_size = src.size
if args.crop:
try:
cl, co, cr, cu = (int(v) for v in args.crop.split(","))
except ValueError:
raise SystemExit(" --crop erwartet L,O,R,U in Pixeln, z. B. 0,0,52,56")
src = src.crop((cl, co, src_size[0] - cr, src_size[1] - cu))
src_size = src.size
if args.inset > 0:
dx = int(src_size[0] * args.inset / 100.0)
dy = int(src_size[1] * args.inset / 100.0)

View file

@ -105,24 +105,25 @@ taloria/ (Repo)
_schema.json Beschreibung der Typen (menschenlesbar + Prüfung)
scripts/
core/ Würfel, Zufall, Raster, Zeiteinheiten
dice.gd rng.gd grid.gd
dice.gd
data/
content_db.gd Autoload: laden, prüfen, nachschlagen
effect_runner.gd die Effekt-Vokabel (Abschnitt 5)
content_db.gd Autoload `Content`: laden, prüfen, nachschlagen
effect_runner.gd Autoload `Rules`: die Effekt-Vokabel (§5)
systems/
combat.gd magic.gd travel.gd inventory.gd save.gd
actors/
party.gd actor.gd monster.gd
game_state.gd Autoload `Game`: Party, Ort, Zeit, Ableitungen
save.gd Autoload `Saves`: Spielstand, Version
ui/
panel.gd NinePatch-Helfer
dialog_box.gd list_box.gd combat_log.gd party_column.gd
panel.gd NinePatchRect-Helfer (Rand 2 px)
scenes/
world/ overland.tscn town.tscn dungeon.tscn
battle/ battle.tscn
ui/ hud.tscn dialog.tscn inventory.tscn
tests/ headless: Datenprüfung, Golden-Save
world/ battle/ ui/ (Phase 1: Ordner entstehen mit den Szenen)
tools/
validate_data.py Inhalte prüfen, ohne Godot (Commit-Hook/CI)
```
**Stand 15.11.2026:** `project.godot`, `data/`, die vier Autoloads, das
9-Slice-Panel und der Prüfer stehen. Was noch fehlt, sind die Szenen — und damit
Titelschirm, Karten-Renderer, Dialog und Kampf.
Godot-Konvention: `snake_case` für Dateien und Ordner, `PascalCase` für
`class_name`. Datenordner flach halten — Unterordner nur, wo Serien entstehen
(`maps/`), sonst findet man eine Klasse in `data/classes.json` und nicht in
@ -313,7 +314,7 @@ kombinieren Vorhandenes.
| `damage` | `amount` (Würfel), `type`, `auto_hit`, `save` | Schaden, optional Rettungswurf halbiert |
| `heal` | `amount`, `target` | TP zurück, nicht über Maximum |
| `condition` | `add`/`remove`, `save`, `dc`, `duration`, `only` | Zustand setzen/nehmen |
| `bonus` | `target`, `value`, `when` | RK, Angriff, Fertigkeit, Rettung |
| `bonus` | `target`, `value`\|`multiplier`, `when` | RK, Angriff, Fertigkeit, Rettung, Schaden |
| `move` | `tiles`, `mode` (push/pull/teleport) | Position ändern |
| `summon` | `monster`, `count`, `duration` | Figur ins Raster setzen |
| `light` | `radius`, `duration` | Sichtweite im Dungeon |
@ -321,6 +322,14 @@ kombinieren Vorhandenes.
| `extra_attack` | `count` | zusätzliche Attacke pro Zug |
| `resource` | `pool`, `delta` | Vorräte, Gold, Ladungen |
| `message` | `text_id` | Text im Log/Dialog auslösen |
| `immunity` | `against` (Liste) | immun gegen Schadensarten/Zustände |
| `turn_undead` | `duration`, `only` | Untote fliehen oder erstarren |
`bonus` nimmt **entweder** `value` **oder** `multiplier` (Verdopplung beim
hinterhältigen Angriff); `damage` kann `save` + `save_effect: half` für halben
Schaden bei bestandenem Rettungswurf. Die Vokabel steht in
`game/data/_schema.json` (Pflicht-/Optionalparameter je `op`) — sie ist damit
**Daten**, nicht nur Doku, und beide Prüfer lesen sie.
Vier Regeln für die Vokabel:
@ -453,7 +462,7 @@ Eintrag ohne Validierungslauf.
|---|---|---|
| `validate_data.py` | Commit/CI, ohne Godot | Tippfehler in ids, fehlende Felder, unbekannte `op`s |
| `ContentDB` beim Start | Spielstart | dasselbe nochmal, für den Spieler sichtbar |
| Golden-Save | `tests/` headless | Speichern/Laden liefert identischen Zustand |
| `--check` headless | `game/scripts/main.gd` | Daten, Würfel, Effekt, Speichern/Laden, Font-Raster |
| `tools/regelprobe.py` | bei Regeländerungen | Balance (3,6–4,7 Runden Auftaktkampf) |
| `art/tools/nachlauf2x.py --check` | bei Asset-Änderungen | falsche Ausgabegrößen |
@ -487,3 +496,6 @@ Zeitstempel und Reihenfolge schwanken dürfen.
entscheidet der erste Kartenwechsel.
- **Weltpalette und Kontrastregel** (Roadmap 0.1) sind noch offen und werden
beim ersten echten Dungeon gebraucht, nicht beim Projektgerüst.
- **Export:** `.json` ist keine Ressource — im Export-Preset muss
`include_filter="*.json"` gesetzt werden, sonst fehlen die Inhalte im Build.
Die `*.import`-Dateien gehören ins Repo, `.godot/` nicht.

View file

@ -39,7 +39,12 @@ gepusht).
[`../art/final/Font/`](../art/final/Font/) (Atlas + `.fnt`, 1× und 2×).
Prüfung ohne Godot: alle 93 Zeichen werden aus der `.fnt` gesetzt und mit
`font8.draw_text` verglichen.
4. **Referenzblatt** — `art/final/_referenz.png` (1280 px breit, 2×-Maßstab):
4. **Engine-Gerüst** — `game/` mit `project.godot` (640×360, `viewport`,
ganzzahlig), den vier Autoloads (`Content`, `Rules`, `Game`, `Saves`),
`data/` mit Schema und 10 Datensätzen, `tools/validate_data.py` und einer
Selbstprüfung (`godot --headless --path game -- --check`): Daten, Würfel,
Effekt, Spielstand und Font-Raster laufen. Szenen fehlen noch.
5. **Referenzblatt** — `art/final/_referenz.png` (1280 px breit, 2×-Maßstab):
je Kategorie 2–6 freigegebene Assets plus Schriftprobe. Ab jetzt ist das der
Maßstab, nicht der Geschmack des Tages.
@ -56,10 +61,12 @@ Nur noch Kleinigkeiten, die den Start von Phase 1 nicht blockieren:
Aufbau, Datenablage und Begründung: [`engine.md`](engine.md).
1. Godot-Projekt anlegen: 640×360 intern, nearest, ganzzahlig skalierend.
2. Font importieren (`art/final/Font/font8_10.fnt` → `FontFile`, 1× oder 2×).
3. UI-Bausteine: Panel, Dialogbox, Party-Spalte, Karten-Renderer.
4. Kartenwechsel (Overland ↔ Stadt ↔ Dungeon), Party-Daten, Speichern/Laden.
1. ~~Godot-Projekt anlegen~~ — steht (15.11.2026), siehe [`engine.md`](engine.md).
2. ~~Font importieren~~ — importiert und geprüft: 2 Zeichen = 16 px, Zeile 12.
3. UI-Bausteine: Panel (steht als `UiPanel`), Dialogbox, Party-Spalte,
Karten-Renderer.
4. Kartenwechsel (Overland ↔ Stadt ↔ Dungeon), Party-Daten (steht),
Speichern/Laden (steht), Titelschirm.
Fertig, wenn: eine Stadt betretbar, ein Dialog führbar und der Spielstand
nach Neustart identisch ist.
@ -273,16 +280,19 @@ Kontrastregel, Listen-Zustände, NSC-Porträts), blockiert Phase 1 nicht.
## Phase 1 — Engine-Kern (Godot 4)
Struktur, Datenmodell und Effekt-Vokabel sind entschieden und stehen in
[`engine.md`](engine.md).
Struktur, Datenmodell und Effekt-Vokabel stehen in [`engine.md`](engine.md).
- Godot-Projekt anlegen (bisher existiert keins, nur `.gitignore` und
`art/.gdignore`; die 1×-Assets liegen schon in `game/assets/`).
- Bildschirm-Skalierung: Basisauflösung aus 0.0 intern, Fenster nearest,
ganzzahlig skalierend (Zielauflösung 1280×720 bzw. 1920×1080).
- Kartenwechsel (Overland ↔ Stadt ↔ Dungeon), Party-Daten, Inventar,
Speichern/Laden.
- UI-System aus 0.2 als Engine-Bausteine (Panel, Textbox, Liste, Kampf-Log).
- [x] **Projekt und Skalierung** (15.11.2026): 640×360-Viewport,
`scale_mode = integer`, 1×-Assets in `game/assets/`.
- [x] **Inhalte als Daten**: `game/data/_schema.json` + 10 Datensätze
(4 Völker, 4 Klassen, 9 Fertigkeiten, 16 Fähigkeiten, 18 Zauber,
11 Gegenstände, 8 Gegner, 4 Begegnungen, 3 NSC, 1 Karte).
- [x] **Prüfkette**: `tools/validate_data.py` (ohne Godot) und `--check`
(im Projekt: Daten, Würfel, Effekt, Spielstand, Font).
- [x] **Panel** als `NinePatchRect`-Helfer (`UiPanel`, Rand 2 px).
- [ ] **Szenen**: Titelschirm, Karten-Renderer, Dialogbox, Kampf.
- [ ] **Kartenwechsel** (Overland ↔ Stadt ↔ Dungeon), Inventar-UI.
- [ ] **Titelschirm** mit `Pictures/titel_westreich_1280x720.png`.
- Platzhalter-Assets aus `art/final/` — keine neuen Assets in dieser Phase.
Fertig, wenn: eine Stadt betretbar, ein Dialog führbar und der Spielstand

33
game/README.md Normal file
View file

@ -0,0 +1,33 @@
# Taloria — Godot-Projekt
Das Spiel selbst. Aufbau, Entscheidungen und Begründung:
[`../docs/engine.md`](../docs/engine.md).
| | |
|---|---|
| Engine | Godot 4 (`config/features` 4.3; getestet mit 4.7.2 headless) |
| Auflösung | 640×360 intern, `stretch/mode = viewport`, `scale_mode = integer` |
| Assets | 1× in `assets/` — erzeugt von `../art/tools/engine_assets.py` |
| Inhalte | JSON in `data/`, geprüft gegen `data/_schema.json` |
| Schrift | `assets/font/font8_10.fnt` (BMFont, Vorschub 8, Zeile 12) |
## Zwei Befehle, die immer grün sein müssen
```bash
# Daten prüfen (ohne Godot, läuft im Commit-Hook)
python3 tools/validate_data.py
# Projekt selbst prüfen (Daten, Würfel, Effekt, Spielstand, Font)
godot --headless --path . -- --check # Exit 1 bei Fehler
```
`--check` ist der Ersatz für „einmal durchspielen", solange es noch keine
Szene gibt: es lädt die Inhalte, würfelt, lässt einen Zauber laufen, schreibt
einen Spielstand, lädt ihn zurück und vergleicht, und prüft, dass die
8×10-Schrift im Engine-Raster sitzt (2 Zeichen = 16 px).
## Was hier noch fehlt
Das Gerüst steht (Daten, Laden, Prüfen, Regeln, Speichern, Panel) — die
**Szenen** fehlen: Titelschirm, Karten-Renderer, Dialogbox, Kampf,
Kartenwechsel. Nach der Roadmap ist das der Rest von Phase 1.

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d1xta3iiqvpjf"
path="res://.godot/imported/monster_ghul_96px.png-94e95c8d83e9a7026ac5896598fe214c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_ghul_96px.png"
dest_files=["res://.godot/imported/monster_ghul_96px.png-94e95c8d83e9a7026ac5896598fe214c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dnak1kkiiy8fe"
path="res://.godot/imported/monster_goblin_96px.png-22904627caea1cbc7387eda08967e7ab.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_goblin_96px.png"
dest_files=["res://.godot/imported/monster_goblin_96px.png-22904627caea1cbc7387eda08967e7ab.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cucdyrxxd7v2h"
path="res://.godot/imported/monster_orc_96px.png-9311b6e8c96e1f0d53a6eb2ac97d8d93.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_orc_96px.png"
dest_files=["res://.godot/imported/monster_orc_96px.png-9311b6e8c96e1f0d53a6eb2ac97d8d93.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://rq42pvp0ttjx"
path="res://.godot/imported/monster_ratte_96px.png-8e2a195b875f6e35a00e1b261848e19d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_ratte_96px.png"
dest_files=["res://.godot/imported/monster_ratte_96px.png-8e2a195b875f6e35a00e1b261848e19d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://5oxjpeu5bim1"
path="res://.godot/imported/monster_schwertkaempfer_96px.png-d460f788de01ed99429f860636fd8585.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_schwertkaempfer_96px.png"
dest_files=["res://.godot/imported/monster_schwertkaempfer_96px.png-d460f788de01ed99429f860636fd8585.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cgcesnk5c0e2d"
path="res://.godot/imported/monster_skelett_96px.png-51c2a5dcde7c182a32c60013d1ee0fc2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_skelett_96px.png"
dest_files=["res://.godot/imported/monster_skelett_96px.png-51c2a5dcde7c182a32c60013d1ee0fc2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bisxfuufhl5fw"
path="res://.godot/imported/monster_spinne_96px.png-d820b9c64baec1bc9738d8a7075ce64b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_spinne_96px.png"
dest_files=["res://.godot/imported/monster_spinne_96px.png-d820b9c64baec1bc9738d8a7075ce64b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dntktfxb3kqab"
path="res://.godot/imported/monster_wolf_96px.png-616b63bfb13aa05dc55a23995145c762.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/monster_wolf_96px.png"
dest_files=["res://.godot/imported/monster_wolf_96px.png-616b63bfb13aa05dc55a23995145c762.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,17 @@
[remap]
importer="font_data_bmfont"
type="FontFile"
uid="uid://dgktceksq257a"
path="res://.godot/imported/font8_10.fnt-c021a348fddb31e08da6106a5364e3e7.fontdata"
[deps]
source_file="res://assets/font/font8_10.fnt"
dest_files=["res://.godot/imported/font8_10.fnt-c021a348fddb31e08da6106a5364e3e7.fontdata"]
[params]
fallbacks=[]
compress=true
scaling_mode=2

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cvgx8bf533jt0"
path="res://.godot/imported/font8_10_atlas.png-9ff25a39ad1e193fd17121f863509c19.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/font/font8_10_atlas.png"
dest_files=["res://.godot/imported/font8_10_atlas.png-9ff25a39ad1e193fd17121f863509c19.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b2cl568xd7s73"
path="res://.godot/imported/nsc_bettler_32px.png-30fe353b83a35d69c664852b1aff122e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/npcs/nsc_bettler_32px.png"
dest_files=["res://.godot/imported/nsc_bettler_32px.png-30fe353b83a35d69c664852b1aff122e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://q7uwnvlya1nj"
path="res://.godot/imported/nsc_dorfbewohner_32px.png-c4ade07b329f0ace6017ea7f759d6494.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/npcs/nsc_dorfbewohner_32px.png"
dest_files=["res://.godot/imported/nsc_dorfbewohner_32px.png-c4ade07b329f0ace6017ea7f759d6494.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bcwqnhp2ahqmx"
path="res://.godot/imported/nsc_dorfbewohnerin_32px.png-c9f21b33fe6a26a44e40f66acebf74d8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/npcs/nsc_dorfbewohnerin_32px.png"
dest_files=["res://.godot/imported/nsc_dorfbewohnerin_32px.png-c9f21b33fe6a26a44e40f66acebf74d8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cit88ui4rxeno"
path="res://.godot/imported/nsc_druide_32px.png-e82fc2e25baab9dddcdc2e0634482039.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/npcs/nsc_druide_32px.png"
dest_files=["res://.godot/imported/nsc_druide_32px.png-e82fc2e25baab9dddcdc2e0634482039.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c2h5yss7o5p2j"
path="res://.godot/imported/nsc_haendler_32px.png-d7d6b1f5f473a9538bcbc5b55ced7d07.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/npcs/nsc_haendler_32px.png"
dest_files=["res://.godot/imported/nsc_haendler_32px.png-d7d6b1f5f473a9538bcbc5b55ced7d07.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bsw4me2qfmc4k"
path="res://.godot/imported/nsc_wache_32px.png-ce1665496a70cad0a34ce257867d75cb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/npcs/nsc_wache_32px.png"
dest_files=["res://.godot/imported/nsc_wache_32px.png-ce1665496a70cad0a34ce257867d75cb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dqjban4qu6qrl"
path="res://.godot/imported/objekt_bett_32px.png-2b9f0106b5827860ad578a895f7727ba.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_bett_32px.png"
dest_files=["res://.godot/imported/objekt_bett_32px.png-2b9f0106b5827860ad578a895f7727ba.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cb47ibvtbra1b"
path="res://.godot/imported/objekt_brunnen_32px.png-ddbff407e4bcf7241fcebbe9022e9f76.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_brunnen_32px.png"
dest_files=["res://.godot/imported/objekt_brunnen_32px.png-ddbff407e4bcf7241fcebbe9022e9f76.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d3n4dw27w87d6"
path="res://.godot/imported/objekt_fackel_32px.png-bc155a87c4d978f5fc80323b68fb834b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_fackel_32px.png"
dest_files=["res://.godot/imported/objekt_fackel_32px.png-bc155a87c4d978f5fc80323b68fb834b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://eptpq3ckuc11"
path="res://.godot/imported/objekt_fass_32px.png-fe4164d9db2a662cd57d4069ea3fad2a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_fass_32px.png"
dest_files=["res://.godot/imported/objekt_fass_32px.png-fe4164d9db2a662cd57d4069ea3fad2a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dcew7qf2gyta"
path="res://.godot/imported/objekt_geroell_32px.png-b8e7e96ff56ddbab55c4aa2ccb258aa0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_geroell_32px.png"
dest_files=["res://.godot/imported/objekt_geroell_32px.png-b8e7e96ff56ddbab55c4aa2ccb258aa0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cwlrmq5sjb3vl"
path="res://.godot/imported/objekt_grabstein_32px.png-a1fce4a85e356165d6af1833ec2f36bd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_grabstein_32px.png"
dest_files=["res://.godot/imported/objekt_grabstein_32px.png-a1fce4a85e356165d6af1833ec2f36bd.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ml86bqik2td7"
path="res://.godot/imported/objekt_kiste_32px.png-7e9fea109f106e94c89ac54a7d53e903.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_kiste_32px.png"
dest_files=["res://.godot/imported/objekt_kiste_32px.png-7e9fea109f106e94c89ac54a7d53e903.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cwx8t7rrbx287"
path="res://.godot/imported/objekt_regal_32px.png-58657ec521fdb80aacc6a83587483196.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_regal_32px.png"
dest_files=["res://.godot/imported/objekt_regal_32px.png-58657ec521fdb80aacc6a83587483196.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://61nn7i626hr0"
path="res://.godot/imported/objekt_schwert_32px.png-a573dc297843dd4b8f6fda34395afc38.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_schwert_32px.png"
dest_files=["res://.godot/imported/objekt_schwert_32px.png-a573dc297843dd4b8f6fda34395afc38.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bdpvk30bbltoc"
path="res://.godot/imported/objekt_tisch_32px.png-bc4b092f3ea4fb4a9c0f9a5900972b6c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_tisch_32px.png"
dest_files=["res://.godot/imported/objekt_tisch_32px.png-bc4b092f3ea4fb4a9c0f9a5900972b6c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dpb8k8nhp6u3k"
path="res://.godot/imported/objekt_tor_32px.png-c725bb9040fbc5b18bbd05e0ab0db5ca.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_tor_32px.png"
dest_files=["res://.godot/imported/objekt_tor_32px.png-c725bb9040fbc5b18bbd05e0ab0db5ca.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://7nqgx0137xxf"
path="res://.godot/imported/objekt_treppe_32px.png-a54428f720bd38041cbe88110bd40ff8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_treppe_32px.png"
dest_files=["res://.godot/imported/objekt_treppe_32px.png-a54428f720bd38041cbe88110bd40ff8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cinwm5q481oan"
path="res://.godot/imported/objekt_truhe_32px.png-f4ca65c6635df02dd9c783818cbc2e4c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_truhe_32px.png"
dest_files=["res://.godot/imported/objekt_truhe_32px.png-f4ca65c6635df02dd9c783818cbc2e4c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bnbh1wdw8whja"
path="res://.godot/imported/objekt_tuer_32px.png-3b821f2f2bb1cde74b7dd6a80a3c4c5d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_tuer_32px.png"
dest_files=["res://.godot/imported/objekt_tuer_32px.png-3b821f2f2bb1cde74b7dd6a80a3c4c5d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://gpayudso3itl"
path="res://.godot/imported/objekt_wagen_32px.png-461c74aeec221e0da85c076128219130.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/objects/objekt_wagen_32px.png"
dest_files=["res://.godot/imported/objekt_wagen_32px.png-461c74aeec221e0da85c076128219130.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://jilkyjxbqbek"
path="res://.godot/imported/szene_waffenhaendler_1280x720.png-bc52671f0ee0a37a93c7cbb02608bae1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/pictures/szene_waffenhaendler_1280x720.png"
dest_files=["res://.godot/imported/szene_waffenhaendler_1280x720.png-bc52671f0ee0a37a93c7cbb02608bae1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ckaa4u5qh6oo7"
path="res://.godot/imported/taverne_A_1280x720.png-0a0c3436c9acbc531edf89cd45a634d0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/pictures/taverne_A_1280x720.png"
dest_files=["res://.godot/imported/taverne_A_1280x720.png-0a0c3436c9acbc531edf89cd45a634d0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bqexa8f687emr"
path="res://.godot/imported/taverne_B_1280x720.png-f1e021ba1101602bcfc88b1701209179.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/pictures/taverne_B_1280x720.png"
dest_files=["res://.godot/imported/taverne_B_1280x720.png-f1e021ba1101602bcfc88b1701209179.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b6me75643b6db"
path="res://.godot/imported/waldrand_1280x720.png-fd46593f7be7fdc709c5357000adcf56.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/pictures/waldrand_1280x720.png"
dest_files=["res://.godot/imported/waldrand_1280x720.png-fd46593f7be7fdc709c5357000adcf56.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cquwxn7045b14"
path="res://.godot/imported/player_abenteurer_64px.png-4ef8d7ebef19afe7c53909852a3ed18c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/players/player_abenteurer_64px.png"
dest_files=["res://.godot/imported/player_abenteurer_64px.png-4ef8d7ebef19afe7c53909852a3ed18c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://crgduncd018lq"
path="res://.godot/imported/portrait_elfin_32px.png-9023e4e01f92fd0c73927676d80201d3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/players/portrait_elfin_32px.png"
dest_files=["res://.godot/imported/portrait_elfin_32px.png-9023e4e01f92fd0c73927676d80201d3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bfe46obqy43"
path="res://.godot/imported/portrait_gelehrter_32px.png-f4d65e9a483834ca3d1e8c200ff37701.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/players/portrait_gelehrter_32px.png"
dest_files=["res://.godot/imported/portrait_gelehrter_32px.png-f4d65e9a483834ca3d1e8c200ff37701.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bhkvbhrgib828"
path="res://.godot/imported/portrait_halbling_32px.png-01a68e1fd4e1227ba5d85620efe4abc7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/players/portrait_halbling_32px.png"
dest_files=["res://.godot/imported/portrait_halbling_32px.png-01a68e1fd4e1227ba5d85620efe4abc7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bfq3fr15522ye"
path="res://.godot/imported/portrait_krieger_32px.png-20a0fe5db673db96c5c7f9e2b985f701.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/players/portrait_krieger_32px.png"
dest_files=["res://.godot/imported/portrait_krieger_32px.png-20a0fe5db673db96c5c7f9e2b985f701.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b2uw3naxq80vu"
path="res://.godot/imported/portrait_magierin_32px.png-c289961cee8d447864169c6cebcbed25.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/players/portrait_magierin_32px.png"
dest_files=["res://.godot/imported/portrait_magierin_32px.png-c289961cee8d447864169c6cebcbed25.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://du7llph7v1cc0"
path="res://.godot/imported/portrait_zwerg_32px.png-398e0891985001dc7040a78beca5399d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/players/portrait_zwerg_32px.png"
dest_files=["res://.godot/imported/portrait_zwerg_32px.png-398e0891985001dc7040a78beca5399d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://blsywdyoqdvwl"
path="res://.godot/imported/battle_erde_32px.png-623a5636829566bd82bb8c257e38c7ef.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/battle_erde_32px.png"
dest_files=["res://.godot/imported/battle_erde_32px.png-623a5636829566bd82bb8c257e38c7ef.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://g8cvxle5vsgp"
path="res://.godot/imported/battle_gras_32px.png-63817f76f2239b6300b3c7ff40b30e70.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/battle_gras_32px.png"
dest_files=["res://.godot/imported/battle_gras_32px.png-63817f76f2239b6300b3c7ff40b30e70.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ds4x8u24lhbvw"
path="res://.godot/imported/battle_stein_32px.png-d15784373ea4e102c701d856613837fd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/battle_stein_32px.png"
dest_files=["res://.godot/imported/battle_stein_32px.png-d15784373ea4e102c701d856613837fd.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://4nnm22di0dhm"
path="res://.godot/imported/tile_dach_fachwerk_32px.png-06f16d825355b6fef1c2ed188a02f50b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/tile_dach_fachwerk_32px.png"
dest_files=["res://.godot/imported/tile_dach_fachwerk_32px.png-06f16d825355b6fef1c2ed188a02f50b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ciyyn18kfqn3d"
path="res://.godot/imported/tile_gebirge_32px.png-305da82cba1107c7f3b4df70987a13c2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/tile_gebirge_32px.png"
dest_files=["res://.godot/imported/tile_gebirge_32px.png-305da82cba1107c7f3b4df70987a13c2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://badafb4fm6m30"
path="res://.godot/imported/tile_grasland_32px.png-f9087d3faac3aff6945cfc4ef27002e5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/tile_grasland_32px.png"
dest_files=["res://.godot/imported/tile_grasland_32px.png-f9087d3faac3aff6945cfc4ef27002e5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cg48eohv4sbqc"
path="res://.godot/imported/tile_huegel_32px.png-58372c74465c95427a2389633b854dfc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/tile_huegel_32px.png"
dest_files=["res://.godot/imported/tile_huegel_32px.png-58372c74465c95427a2389633b854dfc.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ct8mwn8c6s7os"
path="res://.godot/imported/tile_steppe_32px.png-23c66e4fced30f458452baa08b7e4c62.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/tile_steppe_32px.png"
dest_files=["res://.godot/imported/tile_steppe_32px.png-23c66e4fced30f458452baa08b7e4c62.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://s1xu4f6re1sk"
path="res://.godot/imported/tile_wald_32px.png-2597c0654da0dc77e10f890f7a52388c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/tile_wald_32px.png"
dest_files=["res://.godot/imported/tile_wald_32px.png-2597c0654da0dc77e10f890f7a52388c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://de21i3xnxjav7"
path="res://.godot/imported/tile_wand_stein_32px.png-db74559b9b8b26dd1450fcd4fa6d8288.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/terrain/tile_wand_stein_32px.png"
dest_files=["res://.godot/imported/tile_wand_stein_32px.png-db74559b9b8b26dd1450fcd4fa6d8288.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bvj3nmq6selxw"
path="res://.godot/imported/ui_buttons_64x18.png-7f5a5c369b0535c6e12658f989a80daf.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_buttons_64x18.png"
dest_files=["res://.godot/imported/ui_buttons_64x18.png-7f5a5c369b0535c6e12658f989a80daf.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ccpash5dmqv4o"
path="res://.godot/imported/ui_dialog_390x71.png-f57c9442a07e335c2a5a46416815045b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_dialog_390x71.png"
dest_files=["res://.godot/imported/ui_dialog_390x71.png-f57c9442a07e335c2a5a46416815045b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cx0x3mum6ssuy"
path="res://.godot/imported/ui_dialog_gross_390x107.png-509b0d20ef9d2770429faf4ced856640.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_dialog_gross_390x107.png"
dest_files=["res://.godot/imported/ui_dialog_gross_390x107.png-509b0d20ef9d2770429faf4ced856640.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://soy5xenjp427"
path="res://.godot/imported/ui_kampf_leiste_400x56.png-ec088f23714ac92da19d685d5e39d75a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_kampf_leiste_400x56.png"
dest_files=["res://.godot/imported/ui_kampf_leiste_400x56.png-ec088f23714ac92da19d685d5e39d75a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dvpiqsrdw4ho"
path="res://.godot/imported/ui_ladebalken_240x26.png-ae7bec5840e5758144c930dad5425c26.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_ladebalken_240x26.png"
dest_files=["res://.godot/imported/ui_ladebalken_240x26.png-ae7bec5840e5758144c930dad5425c26.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bqumri3qkjhk1"
path="res://.godot/imported/ui_misc_220x130.png-2baa4f7503bb87ebaee1c3beab90e22a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_misc_220x130.png"
dest_files=["res://.godot/imported/ui_misc_220x130.png-2baa4f7503bb87ebaee1c3beab90e22a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cruty4kbcmm1g"
path="res://.godot/imported/ui_panel_9slice_12px.png-5262ee1a768bd45bf90011d0c27e0272.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_panel_9slice_12px.png"
dest_files=["res://.godot/imported/ui_panel_9slice_12px.png-5262ee1a768bd45bf90011d0c27e0272.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dcnoafr12m8q6"
path="res://.godot/imported/ui_party_40px.png-57adc5ea963d1d8b541ff7ebc2a72932.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_party_40px.png"
dest_files=["res://.godot/imported/ui_party_40px.png-57adc5ea963d1d8b541ff7ebc2a72932.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bxo404fuwfidc"
path="res://.godot/imported/ui_slots_26px.png-bbccbf0162323e0abd1dbda2f81e842d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_slots_26px.png"
dest_files=["res://.godot/imported/ui_slots_26px.png-bbccbf0162323e0abd1dbda2f81e842d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dbvgji5k703a1"
path="res://.godot/imported/ui_window_pack_170x132.png-ca9f0886476999f727673f36ce312f80.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_window_pack_170x132.png"
dest_files=["res://.godot/imported/ui_window_pack_170x132.png-ca9f0886476999f727673f36ce312f80.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bas1gpb1cjo3i"
path="res://.godot/imported/ui_window_zauber_170x140.png-21aa68cb1266ea83c813ca6255323fce.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/ui_window_zauber_170x140.png"
dest_files=["res://.godot/imported/ui_window_zauber_170x140.png-21aa68cb1266ea83c813ca6255323fce.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

559
game/data/_schema.json Normal file
View file

@ -0,0 +1,559 @@
{
"schema": 1,
"hinweis": "Prüfgrundlage für game/data/**. Gelesen von tools/validate_data.py (Python) und von ContentDB (GDScript). Beschreibt Felder und die Effekt-Vokabel; Spielmechanik steht hier nicht.",
"enums": {
"attribute": [
"str",
"dex",
"con",
"int",
"wis",
"cha"
],
"save": [
"fort",
"ref",
"will"
],
"school": [
"arcane",
"divine"
],
"ability_type": [
"passive",
"active",
"passive_skill_check",
"active_skill_check"
],
"targets": [
"self",
"single",
"ally",
"area",
"object",
"ground"
],
"item_type": [
"weapon",
"armor",
"shield",
"misc"
],
"terrain": [
"strasse",
"gras",
"wald",
"huegel",
"gebirge",
"dungeon",
"stadt"
],
"map_kind": [
"overland",
"town",
"dungeon"
],
"bonus_target": [
"ac",
"attack",
"save",
"skill",
"initiative",
"damage",
"sight"
]
},
"ops": {
"damage": {
"pflicht": [
"amount"
],
"optional": [
"type",
"auto_hit",
"save",
"save_effect",
"dc",
"on"
]
},
"heal": {
"pflicht": [
"amount"
],
"optional": [
"affects"
]
},
"condition": {
"pflicht": [],
"eines_von": [
"add",
"remove"
],
"optional": [
"save",
"dc",
"duration",
"only",
"hit_dice_total",
"on"
]
},
"bonus": {
"pflicht": [
"target"
],
"eines_von": [
"value",
"multiplier"
],
"optional": [
"save",
"skill",
"when",
"per",
"max",
"per_round",
"affects"
]
},
"move": {
"pflicht": [
"mode"
],
"optional": [
"tiles"
]
},
"summon": {
"pflicht": [
"monster",
"count"
],
"verweis": {
"monster": "monsters"
}
},
"light": {
"pflicht": [
"radius"
],
"optional": [
"duration"
]
},
"grant_spells": {
"pflicht": [
"school"
]
},
"extra_attack": {
"pflicht": [
"count"
]
},
"resource": {
"pflicht": [
"pool",
"delta"
]
},
"message": {
"pflicht": [
"text_id"
]
},
"turn_undead": {
"pflicht": [
"duration"
],
"optional": [
"only"
]
},
"immunity": {
"pflicht": [
"against"
]
}
},
"typen": {
"races": {
"datei": "races.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"choice_bonus": {
"typ": "dict"
},
"attribute_mods": {
"typ": "dict",
"schluessel": "attribute",
"werte": "int"
},
"abilities": {
"typ": "list",
"verweis": "abilities"
}
}
},
"classes": {
"datei": "classes.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"hit_die": {
"typ": "int",
"pflicht": true,
"min": 4,
"max": 12
},
"hp_per_level": {
"typ": "list",
"pflicht": true,
"laenge": 5,
"werte": "int"
},
"attack_per_level": {
"typ": "list",
"pflicht": true,
"laenge": 5,
"werte": "int"
},
"save_bonus": {
"typ": "dict",
"pflicht": true,
"schluessel": "save",
"werte": "int"
},
"skill_points": {
"typ": "int",
"pflicht": true
},
"trained_skills": {
"typ": "list",
"verweis": "skills"
},
"weapons": {
"typ": "list",
"verweis": "items"
},
"armor": {
"typ": "list",
"verweis": "items"
},
"spell_slots": {
"typ": "dict",
"nullable": true
},
"features": {
"typ": "list",
"element": {
"id": {
"typ": "string",
"verweis": "abilities"
},
"level": {
"typ": "int",
"pflicht": true
}
}
}
}
},
"skills": {
"datei": "skills.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"attribute": {
"typ": "string",
"pflicht": true,
"enum": "attribute"
},
"trained_bonus": {
"typ": "int",
"pflicht": true
}
}
},
"abilities": {
"datei": "abilities.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"type": {
"typ": "string",
"pflicht": true,
"enum": "ability_type"
},
"cost": {
"typ": "dict"
},
"targets": {
"typ": "string",
"enum": "targets"
},
"range": {
"typ": "int"
},
"effects": {
"typ": "list",
"pflicht": true,
"effekte": true
}
}
},
"spells": {
"datei": "spells.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"level": {
"typ": "int",
"pflicht": true,
"min": 1,
"max": 3
},
"school": {
"typ": "string",
"pflicht": true,
"enum": "school"
},
"range": {
"typ": "int",
"pflicht": true
},
"targets": {
"typ": "string",
"pflicht": true,
"enum": "targets"
},
"area": {
"typ": "dict"
},
"duration": {
"typ": "dict"
},
"effects": {
"typ": "list",
"pflicht": true,
"effekte": true
}
}
},
"items": {
"datei": "items.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"type": {
"typ": "string",
"pflicht": true,
"enum": "item_type"
},
"damage": {
"typ": "string"
},
"ac_bonus": {
"typ": "int"
},
"value": {
"typ": "int",
"pflicht": true
},
"weight": {
"typ": "int",
"pflicht": true
},
"effects": {
"typ": "list",
"effekte": true
}
}
},
"monsters": {
"datei": "monsters.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"ac": {
"typ": "int",
"pflicht": true
},
"hp": {
"typ": "int",
"pflicht": true,
"min": 1
},
"attack_bonus": {
"typ": "int",
"pflicht": true
},
"damage": {
"typ": "string",
"pflicht": true
},
"move": {
"typ": "int",
"pflicht": true
},
"tags": {
"typ": "list"
},
"sprite": {
"typ": "asset",
"pflicht": true,
"asset": "creatures"
},
"abilities": {
"typ": "list",
"verweis": "abilities"
}
}
},
"encounters": {
"datei": "encounters.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"terrain": {
"typ": "string",
"pflicht": true,
"enum": "terrain"
},
"monsters": {
"typ": "list",
"pflicht": true,
"element": {
"id": {
"typ": "string",
"verweis": "monsters"
},
"count": {
"typ": "int",
"pflicht": true,
"min": 1
}
}
},
"reward": {
"typ": "dict"
}
}
},
"npcs": {
"datei": "npcs.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"sprite": {
"typ": "asset",
"pflicht": true,
"asset": "npcs"
},
"greeting": {
"typ": "string",
"pflicht": true
},
"topics": {
"typ": "list"
},
"shop": {
"typ": "list",
"verweis": "items"
}
}
},
"maps": {
"glob": "maps/*.json",
"felder": {
"name": {
"typ": "string",
"pflicht": true
},
"kind": {
"typ": "string",
"pflicht": true,
"enum": "map_kind"
},
"width": {
"typ": "int",
"pflicht": true,
"min": 1
},
"height": {
"typ": "int",
"pflicht": true,
"min": 1
},
"legend": {
"typ": "dict",
"pflicht": true
},
"tiles": {
"typ": "list",
"pflicht": true,
"laenge": "height",
"zeilen": "width"
},
"objects": {
"typ": "list",
"element": {
"id": {
"typ": "asset",
"asset": "objects"
},
"x": {
"typ": "int",
"pflicht": true
},
"y": {
"typ": "int",
"pflicht": true
}
}
},
"npcs": {
"typ": "list",
"element": {
"id": {
"typ": "string",
"verweis": "npcs"
},
"x": {
"typ": "int",
"pflicht": true
},
"y": {
"typ": "int",
"pflicht": true
}
}
},
"exits": {
"typ": "list"
}
}
}
}
}

81
game/data/abilities.json Normal file
View file

@ -0,0 +1,81 @@
{
"schema": 1,
"entries": {
"infravision": {
"name": "Infravision", "type": "passive",
"effects": [{"op": "bonus", "target": "sight", "value": 18,
"when": {"light": "dark"}}]
},
"schlafresistenz": {
"name": "Schlafresistenz", "type": "passive",
"effects": [{"op": "bonus", "target": "save", "save": "will", "value": 2,
"when": {"spell_tag": "schlaf"}}]
},
"giftresistenz": {
"name": "Giftresistenz", "type": "passive",
"effects": [{"op": "bonus", "target": "save", "save": "fort", "value": 2,
"when": {"damage_type": "gift"}}]
},
"reflex_gegen_magie": {
"name": "Reflex gegen Magie", "type": "passive",
"effects": [{"op": "bonus", "target": "save", "save": "ref", "value": 2,
"when": {"source": "magie"}}]
},
"gesteinskunde": {
"name": "Gesteinskunde", "type": "passive_skill_check",
"effects": [{"op": "bonus", "target": "skill", "skill": "fallen", "value": 2,
"when": {"terrain": "stein"}}]
},
"heimlichkeit_bonus": {
"name": "Leisetreter", "type": "passive",
"effects": [{"op": "bonus", "target": "skill", "skill": "heimlichkeit",
"value": 2}]
},
"initiative_bonus": {
"name": "Schnelle Hände", "type": "passive",
"effects": [{"op": "bonus", "target": "initiative", "value": 1}]
},
"untote_vertreiben": {
"name": "Untote vertreiben", "type": "active",
"cost": {"per_day": 1}, "targets": "area", "range": 6,
"effects": [{"op": "turn_undead", "duration": 3, "only": {"tag": "untot"}}]
},
"hinterhaeltiger_angriff": {
"name": "Hinterhältiger Angriff", "type": "passive",
"effects": [{"op": "bonus", "target": "damage", "multiplier": 2,
"when": {"attacker": "flanked"}}]
},
"zauberbuch": {
"name": "Zauberbuch", "type": "passive",
"effects": [{"op": "grant_spells", "school": "arcane"}]
},
"zauberspruch_vorbereiten": {
"name": "Zaubersprüche vorbereiten", "type": "passive",
"effects": [{"op": "grant_spells", "school": "any"}]
},
"rudel": {
"name": "Rudel", "type": "passive",
"effects": [{"op": "bonus", "target": "attack", "value": 1,
"per": {"allies_engaged": 1}, "max": 2}]
},
"giftbiss": {
"name": "Giftbiss", "type": "passive",
"effects": [{"op": "damage", "amount": "1d4", "type": "gift",
"on": "hit", "save": "fort", "dc": 12}]
},
"klauenlaehmung": {
"name": "Lähmende Klauen", "type": "passive",
"effects": [{"op": "condition", "add": "gelaehmt", "on": "hit",
"save": "fort", "dc": 13, "duration": 1}]
},
"parade": {
"name": "Parade", "type": "passive",
"effects": [{"op": "bonus", "target": "ac", "value": 1,
"per_round": 1}]
},
"untoten_immunitaet": {
"name": "Untoten-Immunität", "type": "passive",
"effects": [{"op": "immunity", "against": ["gift", "schlaf", "bezauberung"]}]
}
}
}

227
game/data/classes.json Normal file
View file

@ -0,0 +1,227 @@
{
"schema": 1,
"entries": {
"fighter": {
"name": "Kämpfer",
"hit_die": 8,
"hp_per_level": [
8,
5,
5,
5,
5
],
"attack_per_level": [
1,
2,
3,
4,
5
],
"save_bonus": {
"fort": 2,
"ref": 0,
"will": 0
},
"skill_points": 4,
"trained_skills": [
"athletik"
],
"weapons": [
"schwert",
"dolch",
"stab",
"keule"
],
"armor": [
"leder",
"kette",
"platte",
"schild"
],
"spell_slots": null,
"features": []
},
"cleric": {
"name": "Kleriker",
"hit_die": 6,
"hp_per_level": [
6,
4,
4,
4,
4
],
"attack_per_level": [
1,
1,
2,
2,
3
],
"save_bonus": {
"fort": 0,
"ref": 0,
"will": 2
},
"skill_points": 3,
"trained_skills": [
"wissen_religion"
],
"weapons": [
"keule",
"stab"
],
"armor": [
"leder",
"kette",
"platte",
"schild"
],
"spell_slots": {
"1": [
1,
2,
2,
3,
3
],
"2": [
0,
0,
1,
2,
2
],
"3": [
0,
0,
0,
0,
1
]
},
"features": [
{
"id": "untote_vertreiben",
"level": 1
},
{
"id": "zauberspruch_vorbereiten",
"level": 1
}
]
},
"magier": {
"name": "Magier",
"hit_die": 4,
"hp_per_level": [
4,
3,
3,
3,
3
],
"attack_per_level": [
1,
1,
1,
2,
2
],
"save_bonus": {
"fort": 0,
"ref": 0,
"will": 2
},
"skill_points": 5,
"trained_skills": [
"wissen_arkan"
],
"weapons": [
"dolch",
"stab"
],
"armor": [],
"spell_slots": {
"1": [
1,
2,
2,
3,
3
],
"2": [
0,
0,
1,
2,
2
],
"3": [
0,
0,
0,
0,
1
]
},
"features": [
{
"id": "zauberbuch",
"level": 1
},
{
"id": "zauberspruch_vorbereiten",
"level": 1
}
]
},
"thief": {
"name": "Dieb",
"hit_die": 6,
"hp_per_level": [
6,
4,
4,
4,
4
],
"attack_per_level": [
1,
1,
2,
2,
3
],
"save_bonus": {
"fort": 0,
"ref": 2,
"will": 0
},
"skill_points": 4,
"trained_skills": [
"heimlichkeit",
"schloesser",
"fallen",
"klettern"
],
"weapons": [
"schwert",
"dolch",
"stab",
"keule"
],
"armor": [
"leder"
],
"spell_slots": null,
"features": [
{
"id": "hinterhaeltiger_angriff",
"level": 1
}
]
}
}
}

29
game/data/encounters.json Normal file
View file

@ -0,0 +1,29 @@
{
"schema": 1,
"entries": {
"goblins_drei": {
"name": "Drei Goblins auf der Straße",
"terrain": "strasse",
"monsters": [{"id": "goblin", "count": 3}],
"reward": {"gold": 12}
},
"goblins_fuenf": {
"name": "Goblin-Horde",
"terrain": "wald",
"monsters": [{"id": "goblin", "count": 5}],
"reward": {"gold": 20}
},
"orks_und_goblins": {
"name": "Orks mit Goblin-Anhang",
"terrain": "wald",
"monsters": [{"id": "orc", "count": 2}, {"id": "goblin", "count": 2}],
"reward": {"gold": 34}
},
"krypta": {
"name": "Krypta unter Garana",
"terrain": "dungeon",
"monsters": [{"id": "skelett", "count": 3}, {"id": "ghul", "count": 1}],
"reward": {"gold": 40, "items": ["schwert"]}
}
}
}

25
game/data/items.json Normal file
View file

@ -0,0 +1,25 @@
{
"schema": 1,
"entries": {
"schwert": {"name": "Schwert", "type": "weapon", "damage": "1d8",
"value": 10, "weight": 1},
"dolch": {"name": "Dolch", "type": "weapon", "damage": "1d4",
"value": 3, "weight": 1},
"stab": {"name": "Stab", "type": "weapon", "damage": "1d6",
"value": 2, "weight": 1},
"keule": {"name": "Keule", "type": "weapon", "damage": "1d6",
"value": 2, "weight": 1},
"leder": {"name": "Lederrüstung", "type": "armor", "ac_bonus": 2,
"value": 5, "weight": 1},
"kette": {"name": "Kettenhemd", "type": "armor", "ac_bonus": 4,
"value": 40, "weight": 2},
"platte": {"name": "Plattenpanzer", "type": "armor", "ac_bonus": 6,
"value": 60, "weight": 3},
"schild": {"name": "Schild", "type": "shield", "ac_bonus": 1,
"value": 10, "weight": 1},
"laterne": {"name": "Laterne", "type": "misc", "value": 7, "weight": 1,
"effects": [{"op": "light", "radius": 4}]},
"seil": {"name": "Seil (15 m)", "type": "misc", "value": 1, "weight": 1},
"vorrat": {"name": "Vorrat (1 Tag)", "type": "misc", "value": 1, "weight": 1}
}
}

View file

@ -0,0 +1,92 @@
{
"schema": 1,
"entries": {
"garana": {
"name": "Garana",
"kind": "town",
"width": 20,
"height": 11,
"legend": {
".": "battle_erde_32px",
",": "battle_gras_32px",
"#": "tile_wand_stein_32px",
"d": "tile_dach_fachwerk_32px",
"=": "battle_stein_32px"
},
"tiles": [
"####################",
"#ddddd..,,..ddddd..#",
"#ddddd..,,..ddddd..#",
"#.................##",
"#..,,..====..,,....#",
"#..,,..====..,,....#",
"#.................##",
"#ddddd..,,..ddddd..#",
"#ddddd..,,..ddddd..#",
"#..................#",
"#########==#########"
],
"objects": [
{
"id": "objekt_brunnen_32px",
"x": 8,
"y": 4
},
{
"id": "objekt_tisch_32px",
"x": 4,
"y": 5
},
{
"id": "objekt_fass_32px",
"x": 5,
"y": 5
},
{
"id": "objekt_fass_32px",
"x": 14,
"y": 5
},
{
"id": "objekt_truhe_32px",
"x": 16,
"y": 3
},
{
"id": "objekt_fackel_32px",
"x": 2,
"y": 9
},
{
"id": "objekt_fackel_32px",
"x": 17,
"y": 9
}
],
"npcs": [
{
"id": "wache",
"x": 9,
"y": 9
},
{
"id": "haendler",
"x": 4,
"y": 5
},
{
"id": "dorfbewohnerin",
"x": 13,
"y": 2
}
],
"exits": [
{
"x": 9,
"y": 10,
"to": "overland"
}
]
}
}
}

45
game/data/monsters.json Normal file
View file

@ -0,0 +1,45 @@
{
"schema": 1,
"entries": {
"ratte": {
"name": "Riesenratte", "ac": 11, "hp": 4, "attack_bonus": 1,
"damage": "1d4", "move": 5, "tags": ["tier", "lebendig"],
"sprite": "monster_ratte_96px", "abilities": []
},
"wolf": {
"name": "Wolf", "ac": 12, "hp": 9, "attack_bonus": 2,
"damage": "1d6", "move": 7, "tags": ["tier", "lebendig"],
"sprite": "monster_wolf_96px", "abilities": ["rudel"]
},
"goblin": {
"name": "Goblin", "ac": 12, "hp": 5, "attack_bonus": 1,
"damage": "1d6", "move": 4, "tags": ["humanoid", "lebendig"],
"sprite": "monster_goblin_96px", "abilities": []
},
"orc": {
"name": "Ork", "ac": 13, "hp": 11, "attack_bonus": 2,
"damage": "1d8", "move": 4, "tags": ["humanoid", "lebendig"],
"sprite": "monster_orc_96px", "abilities": []
},
"skelett": {
"name": "Skelett", "ac": 12, "hp": 8, "attack_bonus": 2,
"damage": "1d6", "move": 4, "tags": ["untot"],
"sprite": "monster_skelett_96px", "abilities": ["untoten_immunitaet"]
},
"ghul": {
"name": "Ghul", "ac": 13, "hp": 14, "attack_bonus": 3,
"damage": "1d6+1", "move": 4, "tags": ["untot"],
"sprite": "monster_ghul_96px", "abilities": ["klauenlaehmung"]
},
"schwertkaempfer": {
"name": "Schwertkämpfer", "ac": 15, "hp": 12, "attack_bonus": 3,
"damage": "1d8", "move": 4, "tags": ["humanoid", "lebendig"],
"sprite": "monster_schwertkaempfer_96px", "abilities": ["parade"]
},
"spinne": {
"name": "Riesenspinne", "ac": 13, "hp": 10, "attack_bonus": 2,
"damage": "1d6", "move": 5, "tags": ["tier", "lebendig"],
"sprite": "monster_spinne_96px", "abilities": ["giftbiss"]
}
}
}

23
game/data/npcs.json Normal file
View file

@ -0,0 +1,23 @@
{
"schema": 1,
"entries": {
"wache": {
"name": "Wache am Tor",
"sprite": "nsc_wache_32px",
"greeting": "Halt. Wer seid Ihr, und was führt Euch nach Garana?",
"topics": ["tor", "geruechte"]
},
"haendler": {
"name": "Krämer",
"sprite": "nsc_haendler_32px",
"greeting": "Ferrum zählt, nicht Gold. Was braucht Ihr?",
"shop": ["laterne", "seil", "vorrat"]
},
"dorfbewohnerin": {
"name": "Bäuerin",
"sprite": "nsc_dorfbewohnerin_32px",
"greeting": "Im Rabenforst geht niemand mehr nach Einbruch der Dunkelheit.",
"topics": ["geruechte"]
}
}
}

25
game/data/races.json Normal file
View file

@ -0,0 +1,25 @@
{
"schema": 1,
"entries": {
"human": {
"name": "Mensch",
"choice_bonus": {"count": 2, "amount": 1, "distinct": true},
"abilities": []
},
"elf": {
"name": "Elf",
"attribute_mods": {"dex": 1},
"abilities": ["infravision", "schlafresistenz"]
},
"dwarf": {
"name": "Zwerg",
"attribute_mods": {"con": 1},
"abilities": ["infravision", "giftresistenz", "gesteinskunde"]
},
"halfling": {
"name": "Halbling",
"attribute_mods": {"dex": 1},
"abilities": ["heimlichkeit_bonus", "initiative_bonus", "reflex_gegen_magie"]
}
}
}

14
game/data/skills.json Normal file
View file

@ -0,0 +1,14 @@
{
"schema": 1,
"entries": {
"athletik": {"name": "Athletik", "attribute": "str", "trained_bonus": 3},
"wissen_religion": {"name": "Wissen (Religion)", "attribute": "int", "trained_bonus": 3},
"wissen_arkan": {"name": "Wissen (Arkan)", "attribute": "int", "trained_bonus": 3},
"heimlichkeit": {"name": "Heimlichkeit", "attribute": "dex", "trained_bonus": 3},
"schloesser": {"name": "Schlösser knacken", "attribute": "dex", "trained_bonus": 3},
"fallen": {"name": "Fallen entdecken", "attribute": "int", "trained_bonus": 3},
"klettern": {"name": "Klettern", "attribute": "str", "trained_bonus": 3},
"natur": {"name": "Naturkunde", "attribute": "int", "trained_bonus": 3},
"wahrnehmung": {"name": "Wahrnehmung", "attribute": "wis", "trained_bonus": 3}
}
}

115
game/data/spells.json Normal file
View file

@ -0,0 +1,115 @@
{
"schema": 1,
"entries": {
"magisches_geschoss": {
"name": "Magisches Geschoss", "level": 1, "school": "arcane",
"range": 6, "targets": "single",
"effects": [{"op": "damage", "amount": "1d4+1", "type": "force",
"auto_hit": true}]
},
"schlaf": {
"name": "Schlaf", "level": 1, "school": "arcane",
"range": 6, "targets": "area", "area": {"radius": 1},
"duration": {"rounds": 5},
"effects": [{"op": "condition", "add": "schlaf", "hit_dice_total": "2d4",
"only": {"tag": "lebendig"}}]
},
"schild": {
"name": "Schild", "level": 1, "school": "arcane",
"range": 0, "targets": "self",
"duration": {"rounds": 3},
"effects": [{"op": "bonus", "target": "ac", "value": 4}]
},
"heilung": {
"name": "Heilung", "level": 1, "school": "divine",
"range": 1, "targets": "ally",
"effects": [{"op": "heal", "amount": "1d6+1"}]
},
"segen": {
"name": "Segen", "level": 1, "school": "divine",
"range": 6, "targets": "area", "area": {"radius": 1},
"duration": {"rounds": 3},
"effects": [{"op": "bonus", "target": "attack", "value": 1,
"affects": "allies"}]
},
"licht": {
"name": "Licht", "level": 1, "school": "divine",
"range": 1, "targets": "object",
"duration": {"hours": 6},
"effects": [{"op": "light", "radius": 6}]
},
"netz": {
"name": "Netz", "level": 2, "school": "arcane",
"range": 6, "targets": "area", "area": {"radius": 1},
"duration": {"rounds": 3},
"effects": [{"op": "condition", "add": "bewegungslos", "save": "ref",
"dc": 13}]
},
"unsichtbarkeit": {
"name": "Unsichtbarkeit", "level": 2, "school": "arcane",
"range": 1, "targets": "ally",
"duration": {"rounds": 10},
"effects": [{"op": "condition", "add": "unsichtbar"}]
},
"spinnentier": {
"name": "Spinnentier", "level": 2, "school": "arcane",
"range": 4, "targets": "ground",
"duration": {"rounds": 10},
"effects": [{"op": "summon", "monster": "spinne", "count": 1}]
},
"stille": {
"name": "Stille", "level": 2, "school": "divine",
"range": 6, "targets": "area", "area": {"radius": 2},
"duration": {"rounds": 5},
"effects": [{"op": "condition", "add": "stumm"}]
},
"person_festhalten": {
"name": "Person festhalten", "level": 2, "school": "divine",
"range": 6, "targets": "single",
"duration": {"rounds": 5},
"effects": [{"op": "condition", "add": "bewegungslos", "save": "will",
"dc": 13, "only": {"tag": "humanoid"}}]
},
"schwere_heilung": {
"name": "Schwere Heilung", "level": 2, "school": "divine",
"range": 1, "targets": "ally",
"effects": [{"op": "heal", "amount": "2d6+2"}]
},
"feuerball": {
"name": "Feuerball", "level": 3, "school": "arcane",
"range": 8, "targets": "area", "area": {"radius": 2},
"effects": [{"op": "damage", "amount": "3d6", "type": "feuer",
"save": "ref", "save_effect": "half"}]
},
"fliegen": {
"name": "Fliegen", "level": 3, "school": "arcane",
"range": 1, "targets": "self",
"duration": {"rounds": 10},
"effects": [{"op": "move", "mode": "fly", "tiles": 8}]
},
"furcht": {
"name": "Furcht", "level": 3, "school": "arcane",
"range": 6, "targets": "area", "area": {"radius": 2},
"duration": {"rounds": 3},
"effects": [{"op": "condition", "add": "flucht", "save": "will", "dc": 13}]
},
"fluch_brechen": {
"name": "Fluch brechen", "level": 3, "school": "divine",
"range": 1, "targets": "ally",
"effects": [{"op": "condition", "remove": "fluch"},
{"op": "condition", "remove": "furcht"}]
},
"massenheilung": {
"name": "Massenheilung", "level": 3, "school": "divine",
"range": 0, "targets": "area", "area": {"radius": 2},
"effects": [{"op": "heal", "amount": "1d6+1", "affects": "allies"}]
},
"schutz_vor_gift": {
"name": "Schutz vor Gift", "level": 3, "school": "divine",
"range": 1, "targets": "ally",
"duration": {"rounds": 10},
"effects": [{"op": "bonus", "target": "save", "save": "fort", "value": 4,
"when": {"damage_type": "gift"}}]
}
}
}

6
game/main.tscn Normal file
View file

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3]
[ext_resource type="Script" path="res://scripts/main.gd" id="1_main"]
[node name="Main" type="Node"]
script = ExtResource("1_main")

38
game/project.godot Normal file
View file

@ -0,0 +1,38 @@
; Engine configuration file.
; Aufbau und Begründung: docs/engine.md
;
; Auflösung: 640x360 als Viewport, ganzzahlig skaliert (720p = 2x, 1080p = 3x).
; Assets liegen deshalb in 1x in res://assets (erzeugt von
; art/tools/engine_assets.py).
config_version=5
[application]
config/name="Taloria"
config/description="Retro-CRPG in Draufsicht — Westreich, Garana und Rabenforst."
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility")
[autoload]
Content="*res://scripts/data/content_db.gd"
Rules="*res://scripts/data/effect_runner.gd"
Game="*res://scripts/systems/game_state.gd"
Saves="*res://scripts/systems/save.gd"
[display]
window/size/viewport_width=640
window/size/viewport_height=360
window/size/window_width_override=1280
window/size/window_height_override=720
window/stretch/mode="viewport"
window/stretch/aspect="keep"
window/stretch/scale_mode="integer"
[rendering]
textures/canvas_textures/default_texture_filter=0
renderer/rendering_method="gl_compatibility"
environment/defaults/default_clear_color=Color(0.101961, 0.082353, 0.070588, 1)

59
game/scripts/core/dice.gd Normal file
View file

@ -0,0 +1,59 @@
class_name Dice
extends RefCounted
## Würfelausdrücke aus Daten: "d20", "1d8", "2d6+1", "1d4-1".
##
## Alles, was in game/data/ als Schaden, Heilung oder Zauberwurf steht, geht
## durch `roll()`. Ein Ausdruck, der nicht passt, ist ein Datenfehler und
## bricht laut ab — nicht still auf 0.
## "2d6+1" -> {"count": 2, "sides": 6, "bonus": 1}
static func parse(expr: String) -> Dictionary:
var text := expr.strip_edges().to_lower()
var bonus := 0
var split_at := text.find("+")
if split_at < 0:
split_at = text.find("-")
if split_at > 0:
bonus = int(text.substr(split_at))
text = text.substr(0, split_at)
var parts := text.split("d")
assert(parts.size() == 2, "Würfelausdruck unbrauchbar: %s" % expr)
var count := 1 if parts[0] == "" else int(parts[0])
var sides := int(parts[1])
assert(count >= 1 and sides >= 2, "Würfelausdruck unbrauchbar: %s" % expr)
return {"count": count, "sides": sides, "bonus": bonus}
static func roll(expr: String) -> int:
var d := parse(expr)
var total: int = int(d["bonus"])
for i in int(d["count"]):
total += randi_range(1, d["sides"])
return total
static func minimum(expr: String) -> int:
var d := parse(expr)
return int(d["count"]) + int(d["bonus"])
static func maximum(expr: String) -> int:
var d := parse(expr)
return int(d["count"]) * int(d["sides"]) + int(d["bonus"])
## Attributsmodifikator 3-18 -> -3..+3 (docs/systeme.md §1).
static func modifier(value: int) -> int:
if value <= 3:
return -3
if value <= 5:
return -2
if value <= 8:
return -1
if value <= 12:
return 0
if value <= 15:
return 1
if value <= 17:
return 2
return 3

View file

@ -0,0 +1 @@
uid://clykeriu40x5n

View file

@ -0,0 +1,205 @@
extends Node
## ContentDB (Autoload `Content`) — lädt game/data/ und prüft, bevor gespielt wird.
##
## Aufbau und Begründung: docs/engine.md §3/§4. Geprüft wird gegen dieselbe
## `_schema.json` wie tools/validate_data.py (dort ausführlicher; hier nur das,
## was beim Start knallen muss): Pflichtfelder, Enum-Werte, Verweise, Effekt-ops.
##
## Ein Fehler ist kein Hinweis, sondern ein Abbruch: ein Datensatz, der nicht
## validiert, existiert nicht.
const DATEN := "res://data"
var schema: Dictionary = {}
var tables: Dictionary = {} ## typ -> {id: eintrag}
var fehler: PackedStringArray = []
func _ready() -> void:
load_all()
if not fehler.is_empty():
for f in fehler:
push_error("Content: " + f)
assert(false, "Content: %d Fehler in game/data — siehe Ausgabe" % fehler.size())
# ------------------------------------------------------------------- laden --
func load_all() -> void:
schema = _lies_json(DATEN + "/_schema.json")
if schema.is_empty():
fehler.append("_schema.json fehlt oder ist kein JSON")
return
for typ in schema["typen"]:
tables[typ] = {}
var spec: Dictionary = schema["typen"][typ]
for pfad in _dateien(spec):
var roh := _lies_json(pfad)
if roh.is_empty():
fehler.append("%s: kein gültiges JSON" % pfad)
continue
if int(roh.get("schema", 0)) != int(schema["schema"]):
fehler.append("%s: schema %s, erwartet %s" % [
pfad, roh.get("schema"), schema["schema"]])
var eintraege: Dictionary = roh.get("entries", {})
if eintraege.is_empty():
fehler.append("%s: entries fehlt oder leer" % pfad)
continue
for id in eintraege:
if tables[typ].has(id):
fehler.append("%s: doppelte id %s" % [pfad, id])
tables[typ][id] = eintraege[id]
_pruefe_eintrag(pfad, "%s.%s" % [typ, id], eintraege[id],
spec["felder"])
_pruefe_verweise()
func _dateien(spec: Dictionary) -> Array[String]:
var pfade: Array[String] = []
if spec.has("glob"):
var ordner := DATEN + "/" + str(spec["glob"]).get_base_dir()
for datei in DirAccess.get_files_at(ordner):
if datei.ends_with(".json"):
pfade.append(ordner + "/" + datei)
else:
var pfad := DATEN + "/" + str(spec["datei"])
if FileAccess.file_exists(pfad):
pfade.append(pfad)
else:
fehler.append("%s fehlt" % pfad)
return pfade
func _lies_json(pfad: String) -> Dictionary:
if not FileAccess.file_exists(pfad):
return {}
var text := FileAccess.get_file_as_string(pfad)
var wert: Variant = JSON.parse_string(text)
if typeof(wert) != TYPE_DICTIONARY:
return {}
return wert
# ---------------------------------------------------------------- prüfen ----
func _pruefe_eintrag(datei: String, pfad: String, eintrag: Variant,
felder: Dictionary) -> void:
if typeof(eintrag) != TYPE_DICTIONARY:
fehler.append("%s: %s ist kein Objekt" % [datei, pfad])
return
for name in felder:
var regel: Dictionary = felder[name]
if not eintrag.has(name):
if regel.get("pflicht", false):
fehler.append("%s: %s.%s fehlt (Pflichtfeld)" % [datei, pfad, name])
continue
_pruefe_wert(datei, "%s.%s" % [pfad, name], eintrag[name], regel, eintrag)
func _pruefe_wert(datei: String, pfad: String, wert: Variant, regel: Dictionary,
eintrag: Dictionary) -> void:
match str(regel.get("typ", "")):
"string":
if typeof(wert) != TYPE_STRING:
fehler.append("%s: %s ist kein String" % [datei, pfad])
return
if regel.has("enum") and not _enum(regel["enum"]).has(wert):
fehler.append("%s: %s = %s ist nicht in %s" % [
datei, pfad, wert, regel["enum"]])
if regel.has("verweis"):
_merke_verweis(str(regel["verweis"]), wert, datei, pfad)
"int":
if typeof(wert) != TYPE_INT and typeof(wert) != TYPE_FLOAT:
fehler.append("%s: %s ist keine Zahl" % [datei, pfad])
"asset":
var ordner := "res://assets/%s/%s.png" % [regel["asset"], wert]
if not ResourceLoader.exists(ordner):
fehler.append("%s: %s -> %s fehlt" % [datei, pfad, ordner])
"list":
if typeof(wert) != TYPE_ARRAY:
fehler.append("%s: %s ist keine Liste" % [datei, pfad])
return
if regel.has("verweis"):
for w in wert:
_merke_verweis(str(regel["verweis"]), w, datei, pfad)
if regel.has("enum"):
for w in wert:
if not _enum(regel["enum"]).has(w):
fehler.append("%s: %s enthält %s (nicht in %s)" % [
datei, pfad, w, regel["enum"]])
if regel.get("effekte", false):
for i in wert.size():
_pruefe_effekt(datei, "%s[%d]" % [pfad, i], wert[i])
if regel.has("element"):
for i in wert.size():
_pruefe_eintrag(datei, "%s[%d]" % [pfad, i], wert[i],
regel["element"])
"dict":
if typeof(wert) != TYPE_DICTIONARY:
if wert != null or not regel.get("nullable", false):
fehler.append("%s: %s ist kein Objekt" % [datei, pfad])
return
if regel.has("schluessel"):
for k in wert:
if not _enum(regel["schluessel"]).has(k):
fehler.append("%s: %s.%s ist nicht in %s" % [
datei, pfad, k, regel["schluessel"]])
func _pruefe_effekt(datei: String, pfad: String, effekt: Variant) -> void:
if typeof(effekt) != TYPE_DICTIONARY or not effekt.has("op"):
fehler.append("%s: %s ist kein Effekt" % [datei, pfad])
return
var op := str(effekt["op"])
var ops: Dictionary = schema.get("ops", {})
if not ops.has(op):
fehler.append("%s: %s unbekanntes op %s" % [datei, pfad, op])
return
for feld in ops[op].get("pflicht", []):
if not effekt.has(feld):
fehler.append("%s: %s.%s fehlt (op %s)" % [datei, pfad, feld, op])
var eines: Array = ops[op].get("eines_von", [])
if not eines.is_empty():
var treffer := false
for feld in eines:
if effekt.has(feld):
treffer = true
if not treffer:
fehler.append("%s: %s braucht eines von %s" % [datei, pfad, eines])
for feld in ops[op].get("verweis", {}):
if effekt.has(feld):
_merke_verweis(str(ops[op]["verweis"][feld]), effekt[feld], datei,
"%s.%s" % [pfad, feld])
var _verweise: Array = []
func _merke_verweis(typ: String, wert: Variant, datei: String, pfad: String) -> void:
_verweise.append([typ, wert, datei, pfad])
func _pruefe_verweise() -> void:
for v in _verweise:
var typ: String = v[0]
if not tables.has(typ):
fehler.append("%s: %s verweist auf unbekannten Typ %s" % [v[2], v[3], typ])
elif not tables[typ].has(v[1]):
fehler.append("%s: %s = %s gibt es nicht in %s" % [v[2], v[3], v[1], typ])
func _enum(name: String) -> Array:
return schema.get("enums", {}).get(name, [])
# ------------------------------------------------------------- Zugriff ------
func table(typ: String) -> Dictionary:
return tables.get(typ, {})
func entry(typ: String, id: String) -> Dictionary:
return tables.get(typ, {}).get(id, {})
func ids(typ: String) -> Array:
return tables.get(typ, {}).keys()
## Kurzform für die häufigsten Zugriffe.
func class_def(id: String) -> Dictionary:
return entry("classes", id)
func spell(id: String) -> Dictionary:
return entry("spells", id)
func monster(id: String) -> Dictionary:
return entry("monsters", id)
func skill(id: String) -> Dictionary:
return entry("skills", id)

View file

@ -0,0 +1 @@
uid://coi18rypsqlol

View file

@ -0,0 +1,105 @@
extends Node
## Rules (Autoload) — die Effekt-Vokabel aus docs/engine.md §5.
##
## Ein Effekt ist ein Wörterbuch mit `op` und Parametern; `apply()` löst ihn
## gegen einen Kontext auf und liefert das Ergebnis zurück. Die Vokabel wird
## hier EINMAL implementiert — neue Zauber, Klassen und Fähigkeiten sind neue
## Kombinationen in game/data/, kein neuer Code.
##
## `ctx` (alles optional):
## "target" : Dictionary einer Figur (saves, hp, tags …)
## "targets" : Array solcher Dictionaries bei Flächeneffekten
## "source" : Dictionary des Wirkenden (level, attributes …)
## "dc" : Rettungswurf-SG, wenn der Effekt keinen eigenen mitbringt
## Ergebnis eines Effekts, z. B. {"op": "damage", "amount": 3, "saved": false}
func apply(effects: Array, ctx: Dictionary = {}) -> Array:
var out: Array = []
for e in effects:
var r := _run(e, ctx)
if not r.is_empty():
out.append(r)
return out
func _run(e: Dictionary, ctx: Dictionary) -> Dictionary:
match str(e.get("op", "")):
"damage":
var amount := Dice.roll(str(e.get("amount", "1d4")))
var saved := _save(e, ctx)
if saved and str(e.get("save_effect", "")) == "half":
amount = int(amount / 2.0)
return {"op": "damage", "amount": amount,
"type": e.get("type", "wucht"), "saved": saved}
"heal":
return {"op": "heal", "amount": Dice.roll(str(e.get("amount", "1d6"))),
"affects": e.get("affects", "single")}
"condition":
if e.has("add"):
return {"op": "condition", "add": e["add"],
"duration": e.get("duration", {}),
"saved": _save(e, ctx)}
return {"op": "condition", "remove": e["remove"]}
"bonus":
var r := {"op": "bonus", "target": e.get("target"), "duration": {}}
if e.has("value"):
r["value"] = int(e["value"])
if e.has("multiplier"):
r["multiplier"] = int(e["multiplier"])
for feld in ["save", "skill", "when", "per", "max", "affects"]:
if e.has(feld):
r[feld] = e[feld]
return r
"move":
return {"op": "move", "mode": e.get("mode", "walk"),
"tiles": int(e.get("tiles", 0))}
"summon":
var mon := Content.monster(str(e.get("monster", "")))
return {"op": "summon", "monster": e.get("monster"),
"count": int(e.get("count", 1)), "def": mon}
"light":
return {"op": "light", "radius": int(e.get("radius", 0)),
"duration": e.get("duration", {})}
"grant_spells":
return {"op": "grant_spells", "school": e.get("school", "any")}
"extra_attack":
return {"op": "extra_attack", "count": int(e.get("count", 1))}
"resource":
return {"op": "resource", "pool": e.get("pool"),
"delta": int(e.get("delta", 0))}
"message":
return {"op": "message", "text_id": e.get("text_id", "")}
"turn_undead":
return {"op": "turn_undead", "wurf": Dice.roll("2d6"),
"duration": int(e.get("duration", 3)),
"only": e.get("only", {})}
"immunity":
return {"op": "immunity", "against": e.get("against", [])}
_:
# Kein assert: ContentDB lehnt unbekannte ops schon beim Laden ab.
# Hier ist es das Sicherheitsnetz für Effekte, die im Code entstehen.
push_error("Rules: unbekanntes op '%s' — Vokabel in game/data/_schema.json "
% str(e.get("op", "")) + "und effect_runner.gd ergänzen")
return {}
## Rettungswurf: d20 + Bonus des Ziels gegen den SG des Effekts.
func _save(e: Dictionary, ctx: Dictionary) -> bool:
if not e.has("save"):
return false
var target: Dictionary = ctx.get("target", {})
var bonuses: Dictionary = target.get("save_bonus", {})
var bonus := int(bonuses.get(str(e["save"]), 0))
var dc := int(e.get("dc", ctx.get("dc", 10)))
return Dice.roll("1d20") + bonus >= dc

View file

@ -0,0 +1 @@
uid://dwkoqff7fc5jt

88
game/scripts/main.gd Normal file
View file

@ -0,0 +1,88 @@
extends Node
## Einstieg. Zwei Betriebsarten:
##
## godot --path game -> Kurzbericht (Phase 1: Titel folgt)
## godot --path game -- --check -> Selbstprüfung, Exit 1 bei Fehler
##
## Die Selbstprüfung ist der Ersatz für "einmal durchspielen", solange es noch
## keine Szene gibt: Daten geladen, Würfel rechnen, ein Effekt läuft, ein
## Spielstand geht hin und zurück und ist danach identisch.
func _ready() -> void:
var args := OS.get_cmdline_args() + OS.get_cmdline_user_args()
if args.has("--check"):
get_tree().quit(0 if _selbstpruefung() else 1)
return
_bericht()
func _bericht() -> void:
print("Taloria — %d Klassen, %d Völker, %d Zauber, %d Gegner, %d Karten" % [
Content.ids("classes").size(), Content.ids("races").size(),
Content.ids("spells").size(), Content.ids("monsters").size(),
Content.ids("maps").size()])
for figur in Game.party:
print(" %-6s %-8s %-9s TP %2d/%2d RK %2d Angriff +%d" % [
figur["name"], figur["race"], figur["class"],
int(figur["hp"]["current"]), int(figur["hp"]["max"]),
Game.rk(figur), Game.angriffsbonus(figur)])
func _selbstpruefung() -> bool:
var ok := true
ok = _pruefe("Daten geladen", Content.ids("classes").size() == 4
and Content.ids("spells").size() >= 18) and ok
var w: int = Dice.roll("2d6+1")
ok = _pruefe("Würfel 2d6+1", w >= 3 and w <= 13) and ok
ok = _pruefe("Würfel-Modifikator 16 -> +2", Dice.modifier(16) == 2) and ok
# Font: die BMFont-Datei muss im Engine-Raster sitzen (Vorschub 8).
var font: FontFile = load("res://assets/font/font8_10.fnt")
var groesse: Vector2 = font.get_string_size("AA", HORIZONTAL_ALIGNMENT_LEFT, -1, 10)
print(" Font: 2 Zeichen = %.1f px, Höhe %.1f, Ascent %.1f" % [
groesse.x, font.get_height(10), font.get_ascent(10)])
ok = _pruefe("Font Vorschub 8 px", is_equal_approx(groesse.x, 16.0)) and ok
var geschoss: Dictionary = Content.spell("magisches_geschoss")
var ergebnis: Array = Rules.apply(geschoss.get("effects", []),
{"target": {"save_bonus": {"ref": 0}}})
ok = _pruefe("Effekt Magisches Geschoss", ergebnis.size() == 1
and int(ergebnis[0].get("amount", 0)) >= 2) and ok
# Spielstand: schreiben, lesen, vergleichen.
# JSON kennt nur "Zahl", Godot liest sie als float zurück; vor dem Vergleich
# werden ganze Zahlen normalisiert (1.0 -> 1), sonst wäre der Test unehrlich
# streng an einer Typfrage statt am Inhalt.
var vorher := JSON.stringify(_normalisiere(Game.to_dict()))
ok = _pruefe("Spielstand schreiben", Saves.write(9)) and ok
var geladen: Dictionary = Saves.read(9)
Game.from_dict(geladen)
var nachher := JSON.stringify(_normalisiere(Game.to_dict()))
ok = _pruefe("Spielstand identisch nach Neustart", vorher == nachher) and ok
DirAccess.remove_absolute(Saves.pfad(9))
print("\nSelbstprüfung: %s" % ("bestanden" if ok else "FEHLGESCHLAGEN"))
return ok
## Ganze Zahlen aus JSON wieder zu int machen, rekursiv.
func _normalisiere(wert: Variant) -> Variant:
match typeof(wert):
TYPE_FLOAT:
var f: float = wert
return int(f) if f == floor(f) else f
TYPE_DICTIONARY:
var d := {}
for k in wert:
d[k] = _normalisiere(wert[k])
return d
TYPE_ARRAY:
var a := []
for v in wert:
a.append(_normalisiere(v))
return a
_:
return wert
func _pruefe(name: String, wahr: bool) -> bool:
print(" %s %s" % [("ok " if wahr else "FEHL"), name])
return wahr

1
game/scripts/main.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://bnxiy0advd0ar

View file

@ -0,0 +1,108 @@
extends Node
## Game (Autoload) — der Spielzustand: Party, Ort, Zeit, Flaggen.
##
## Gespeichert werden **Eingaben**, keine abgeleiteten Werte (docs/engine.md §7):
## TP ja, RK nein. Wird eine Klasse nachbalanciert, korrigiert der nächste
## Ladevorgang die Ableitung automatisch.
const START = "garana"
var party: Array = [] ## Array von Dictionaries (ids + Werte)
var place: Dictionary = {"id": START, "x": 9, "y": 9}
var time: Dictionary = {"day": 1, "slot": 0}
var flags: Dictionary = {}
var log_lines: Array[String] = []
func _ready() -> void:
if party.is_empty():
_neue_party()
## Vier Figuren, wie in docs/systeme.md §11 durchgerechnet.
func _neue_party() -> void:
var vorgabe := [
{"name": "Aldric", "race": "human", "class": "fighter",
"attributes": {"str": 16, "dex": 12, "con": 14, "int": 10, "wis": 9, "cha": 11}},
{"name": "Bruna", "race": "dwarf", "class": "cleric",
"attributes": {"str": 12, "dex": 9, "con": 15, "int": 10, "wis": 16, "cha": 11}},
{"name": "Cael", "race": "elf", "class": "magier",
"attributes": {"str": 8, "dex": 15, "con": 11, "int": 17, "wis": 12, "cha": 10}},
{"name": "Dorn", "race": "halfling", "class": "thief",
"attributes": {"str": 11, "dex": 17, "con": 12, "int": 12, "wis": 10, "cha": 13}},
]
party = []
for i in vorgabe.size():
party.append(neue_figur("pc_%d" % (i + 1), vorgabe[i]))
func neue_figur(id: String, vorgabe: Dictionary) -> Dictionary:
var klasse: Dictionary = Content.class_def(str(vorgabe["class"]))
var volk: Dictionary = Content.entry("races", str(vorgabe["race"]))
var attrs: Dictionary = vorgabe["attributes"].duplicate()
for attribut in volk.get("attribute_mods", {}):
attrs[attribut] = int(attrs.get(attribut, 10)) + int(volk["attribute_mods"][attribut])
var hp_max := _hp_stufe1(klasse, attrs)
return {
"id": id, "name": vorgabe["name"],
"race": vorgabe["race"], "class": vorgabe["class"],
"level": 1, "xp": 0,
"attributes": attrs,
"hp": {"current": hp_max, "max": hp_max},
"skills": _startfertigkeiten(klasse),
"spells": {"known": [], "prepared": [], "slots": {}},
"inventory": [], "equipment": {},
"conditions": [],
}
func _hp_stufe1(klasse: Dictionary, attrs: Dictionary) -> int:
var kon := Dice.modifier(int(attrs.get("con", 10)))
return maxi(1, int(klasse.get("hit_die", 6)) + kon)
func _startfertigkeiten(klasse: Dictionary) -> Dictionary:
var out := {}
for id in klasse.get("trained_skills", []):
var fertigkeit: Dictionary = Content.skill(str(id))
out[str(id)] = int(fertigkeit.get("trained_bonus", 3))
return out
## Abgeleitete Werte werden gerechnet, nie gespeichert.
func rk(figur: Dictionary) -> int:
var ac := 10 + Dice.modifier(int(figur["attributes"].get("dex", 10)))
var ruestung: Dictionary = Content.entry("items", str(figur.get("equipment", {}).get("armor", "")))
ac += int(ruestung.get("ac_bonus", 0))
if figur.get("equipment", {}).get("shield", false):
var schild: Dictionary = Content.entry("items", "schild")
ac += int(schild.get("ac_bonus", 1))
return ac
func angriffsbonus(figur: Dictionary) -> int:
var klasse: Dictionary = Content.class_def(str(figur["class"]))
var stufe := int(figur.get("level", 1))
var leiter: Array = klasse.get("attack_per_level", [])
if stufe - 1 < leiter.size():
return int(leiter[stufe - 1])
return int(leiter[leiter.size() - 1]) if not leiter.is_empty() else 0
func notiz(text: String) -> void:
log_lines.append(text)
if log_lines.size() > 200:
log_lines.pop_front()
# ------------------------------------------------------------- speichern ----
func to_dict() -> Dictionary:
return {
"save_version": Saves.VERSION,
"place": place,
"time": time,
"party": party,
"flags": flags,
"log": log_lines,
}
func from_dict(d: Dictionary) -> void:
place = d.get("place", place)
time = d.get("time", time)
party = d.get("party", party)
flags = d.get("flags", {})
log_lines = []
for zeile in d.get("log", []):
log_lines.append(str(zeile))

View file

@ -0,0 +1 @@
uid://cs08vyu6o3j4c

View file

@ -0,0 +1,40 @@
extends Node
## Saves (Autoload) — Spielstand schreiben und lesen (docs/engine.md §7).
##
## Format: JSON unter user://, mit `save_version`. Gespeichert werden nur
## Eingaben; abgeleitete Werte (RK, Angriffsbonus) rechnet Game neu.
## Eine unbekannte Version wird nicht stillschweigend geladen.
const VERSION := 1
const ORDNER := "user://saves"
func pfad(slot: int = 0) -> String:
return "%s/slot_%d.json" % [ORDNER, slot]
func write(slot: int = 0) -> bool:
DirAccess.make_dir_recursive_absolute(ORDNER)
var datei := FileAccess.open(pfad(slot), FileAccess.WRITE)
if datei == null:
push_error("Saves: kann %s nicht schreiben (%s)" % [pfad(slot), FileAccess.get_open_error()])
return false
datei.store_string(JSON.stringify(Game.to_dict(), "\t"))
datei.close()
return true
func read(slot: int = 0) -> Dictionary:
if not FileAccess.file_exists(pfad(slot)):
push_error("Saves: %s fehlt" % pfad(slot))
return {}
var wert: Variant = JSON.parse_string(FileAccess.get_file_as_string(pfad(slot)))
if typeof(wert) != TYPE_DICTIONARY:
push_error("Saves: %s ist kein gültiges JSON" % pfad(slot))
return {}
var d: Dictionary = wert
var version := int(d.get("save_version", 0))
if version != VERSION:
push_error("Saves: Version %d, erwartet %d — Migration fehlt" % [version, VERSION])
return {}
return d
func exists(slot: int = 0) -> bool:
return FileAccess.file_exists(pfad(slot))

View file

@ -0,0 +1 @@
uid://c1ilk2h82eajk

19
game/scripts/ui/panel.gd Normal file
View file

@ -0,0 +1,19 @@
class_name UiPanel
extends NinePatchRect
## Das 9-Slice-Panel aus art/final/UI (docs/ui.md §3).
##
## Rand 2 px, weil die Engine mit 1x-Assets im 640x360-Viewport arbeitet.
## Damit ist jede Instanz pixelgleich zu `panel()` aus art/tools/ui.py —
## geprüft von art/tools/ui_slice.py für 4x4 bis 400x56.
const TEXTUR := "res://assets/ui/ui_panel_9slice_12px.png"
const RAND := 2
func _ready() -> void:
if texture == null:
texture = load(TEXTUR)
patch_margin_left = RAND
patch_margin_top = RAND
patch_margin_right = RAND
patch_margin_bottom = RAND
texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST

View file

@ -0,0 +1 @@
uid://bxk547s8oftda

255
game/tools/validate_data.py Normal file
View file

@ -0,0 +1,255 @@
#!/usr/bin/env python3
"""validate_data.py - Inhalte in game/data/ gegen _schema.json prüfen.
Läuft ohne Godot, also im Commit-Hook und in der CI. Prüft vier Dinge:
1. **Struktur** — Pflichtfelder da, Typen richtig, Längen (5 Stufen),
Enum-Werte, ids im Namensschema.
2. **Verweise** — jede id, die irgendwo steht, existiert im Zieltyp
(Klasse → Fertigkeit, Gegner → Fähigkeit, Karte → NSC).
3. **Effekte** — jedes `op` steht in der Vokabel, seine Pflichtparameter
sind gesetzt. Unbekanntes `op` ist ein Fehler, keine Warnung.
4. **Assets** — jeder Sprite-Name hat eine Datei in game/assets/ (fängt
Tippfehler, bevor sie in der Engine als weißes Rechteck erscheinen).
python3 tools/validate_data.py [DATENORDNER] # Default game/data
Exit 1 bei jedem Fehler; Ausgabe als `datei: id.feld: problem`.
"""
from __future__ import annotations
import json
import re
import sys
from pathlib import Path
ID_MUSTER = re.compile(r"^[a-z][a-z0-9_]*$")
class Pruefer:
def __init__(self, daten: Path) -> None:
self.daten = daten
self.projekt = daten.parent
self.schema = json.loads((daten / "_schema.json").read_text())
self.enums = self.schema.get("enums", {})
self.ops = self.schema.get("ops", {})
self.fehler: list[str] = []
# typ -> {id: eintrag}
self.inhalte: dict[str, dict] = {}
# ------------------------------------------------------------------ io --
def melde(self, datei: str, pfad: str, problem: str) -> None:
self.fehler.append(f"{datei}: {pfad}: {problem}")
def dateien(self, typ: str, spec: dict) -> list[Path]:
if "glob" in spec:
return sorted(self.daten.glob(spec["glob"]))
p = self.daten / spec["datei"]
return [p] if p.exists() else []
# -------------------------------------------------------------- inhalt --
def laden(self) -> None:
for typ, spec in self.schema["typen"].items():
self.inhalte[typ] = {}
for datei in self.dateien(typ, spec):
rel = str(datei.relative_to(self.daten))
try:
roh = json.loads(datei.read_text())
except json.JSONDecodeError as e:
self.melde(rel, "", f"kein gültiges JSON ({e})")
continue
if roh.get("schema") != self.schema["schema"]:
self.melde(rel, "schema", f"erwartet {self.schema['schema']}, "
f"gefunden {roh.get('schema')}")
eintraege = roh.get("entries")
if not isinstance(eintraege, dict) or not eintraege:
self.melde(rel, "entries", "fehlt oder leer")
continue
for eid, eintrag in eintraege.items():
if not ID_MUSTER.match(eid):
self.melde(rel, eid, "id muss [a-z][a-z0-9_]* sein")
if eid in self.inhalte[typ]:
self.melde(rel, eid, "doppelte id")
self.inhalte[typ][eid] = eintrag
self.pruefe_felder(rel, eid, eintrag, spec["felder"])
# --------------------------------------------------------------- felder --
def pruefe_felder(self, datei: str, pfad: str, eintrag: dict,
felder: dict) -> None:
if not isinstance(eintrag, dict):
self.melde(datei, pfad, "Eintrag ist kein Objekt")
return
for name, regel in felder.items():
if name not in eintrag:
if regel.get("pflicht"):
self.melde(datei, f"{pfad}.{name}", "Pflichtfeld fehlt")
continue
self.pruefe_wert(datei, f"{pfad}.{name}", eintrag[name], regel,
eintrag)
def pruefe_wert(self, datei: str, pfad: str, wert, regel: dict,
eintrag: dict) -> None:
typ = regel.get("typ")
if typ == "string":
if not isinstance(wert, str):
self.melde(datei, pfad, "kein String")
elif "enum" in regel and wert not in self.enums[regel["enum"]]:
self.melde(datei, pfad, f"{wert!r} nicht in {regel['enum']}")
if "verweis" in regel:
self.merke_verweis(regel["verweis"], wert, datei, pfad)
elif typ == "int":
if not isinstance(wert, int) or isinstance(wert, bool):
self.melde(datei, pfad, "keine Ganzzahl")
else:
if "min" in regel and wert < regel["min"]:
self.melde(datei, pfad, f"{wert} < {regel['min']}")
if "max" in regel and wert > regel["max"]:
self.melde(datei, pfad, f"{wert} > {regel['max']}")
elif typ == "asset":
self.pruefe_asset(datei, pfad, wert, regel)
elif typ == "list":
if not isinstance(wert, list):
self.melde(datei, pfad, "keine Liste")
return
if "laenge" in regel:
soll = regel["laenge"]
if soll == "height":
soll = eintrag.get("height")
if isinstance(soll, int) and len(wert) != soll:
self.melde(datei, pfad, f"{len(wert)} Einträge, erwartet {soll}")
if "werte" in regel:
for i, w in enumerate(wert):
self.pruefe_wert(datei, f"{pfad}[{i}]", w,
{"typ": regel["werte"]}, eintrag)
if "enum" in regel:
for i, w in enumerate(wert):
if w not in self.enums[regel["enum"]]:
self.melde(datei, f"{pfad}[{i}]",
f"{w!r} nicht in {regel['enum']}")
if "verweis" in regel:
for i, w in enumerate(wert):
self.merke_verweis(regel["verweis"], w, datei, f"{pfad}[{i}]")
if "zeilen" in regel:
for i, zeile in enumerate(wert):
if not isinstance(zeile, str):
self.melde(datei, f"{pfad}[{i}]", "Zeile kein String")
elif len(zeile) != eintrag.get(regel["zeilen"]):
self.melde(datei, f"{pfad}[{i}]",
f"{len(zeile)} Zeichen, erwartet "
f"{eintrag.get(regel['zeilen'])}")
if "element" in regel:
for i, el in enumerate(wert):
self.pruefe_felder(datei, f"{pfad}[{i}]", el, regel["element"])
if regel.get("effekte"):
for i, el in enumerate(wert):
self.pruefe_effekt(datei, f"{pfad}[{i}]", el)
elif typ == "dict":
if wert is None and regel.get("nullable"):
return
if not isinstance(wert, dict):
self.melde(datei, pfad, "kein Objekt")
return
if "schluessel" in regel:
for k in wert:
if k not in self.enums[regel["schluessel"]]:
self.melde(datei, f"{pfad}.{k}",
f"{k!r} nicht in {regel['schluessel']}")
if "werte" in regel:
for k, v in wert.items():
self.pruefe_wert(datei, f"{pfad}.{k}", v,
{"typ": regel["werte"]}, eintrag)
# -------------------------------------------------------------- effekte --
def pruefe_effekt(self, datei: str, pfad: str, effekt) -> None:
if not isinstance(effekt, dict):
self.melde(datei, pfad, "Effekt ist kein Objekt")
return
op = effekt.get("op")
if not op:
self.melde(datei, pfad, "Effekt ohne op")
return
if op not in self.ops:
self.melde(datei, pfad, f"unbekanntes op {op!r} — Vokabel in "
f"_schema.json ergänzen")
return
regel = self.ops[op]
for feld in regel.get("pflicht", []):
if feld not in effekt:
self.melde(datei, f"{pfad}.{feld}", f"op {op} braucht {feld}")
if "eines_von" in regel:
if not any(f in effekt for f in regel["eines_von"]):
self.melde(datei, pfad, f"op {op} braucht eines von "
f"{regel['eines_von']}")
for feld, ziel in regel.get("verweis", {}).items():
if feld in effekt:
self.merke_verweis(ziel, effekt[feld], datei, f"{pfad}.{feld}")
# ------------------------------------------------------------- verweise --
def merke_verweis(self, typ: str, wert, datei: str, pfad: str) -> None:
self.verweise = getattr(self, "verweise", [])
self.verweise.append((typ, wert, datei, pfad))
def pruefe_verweise(self) -> None:
for typ, wert, datei, pfad in getattr(self, "verweise", []):
if typ not in self.inhalte:
self.melde(datei, pfad, f"Verweistyp {typ!r} unbekannt")
elif wert not in self.inhalte[typ]:
self.melde(datei, pfad, f"{wert!r} gibt es nicht in {typ}")
# --------------------------------------------------------------- assets --
def pruefe_asset(self, datei: str, pfad: str, wert, regel: dict) -> None:
if not isinstance(wert, str):
self.melde(datei, pfad, "Asset-Name kein String")
return
ordner = self.projekt / "assets" / regel["asset"]
if not (ordner / f"{wert}.png").exists():
self.melde(datei, pfad, f"keine Datei assets/{regel['asset']}/{wert}.png")
# ------------------------------------------------------------ besonderes --
def pruefe_karten(self) -> None:
"""Karten: Legendenschlüssel müssen in den Zeilen vorkommen, Objekte
und NSC im Raster liegen."""
for mapid, karte in self.inhalte.get("maps", {}).items():
breite, hoehe = karte.get("width"), karte.get("height")
legend = karte.get("legend") or {}
for i, zeile in enumerate(karte.get("tiles") or []):
for zeichen in set(zeile):
if zeichen not in legend:
self.melde(f"maps/{mapid}.json", f"tiles[{i}]",
f"{zeichen!r} fehlt in legend")
for feld in ("objects", "npcs", "exits"):
for j, el in enumerate(karte.get(feld) or []):
x, y = el.get("x"), el.get("y")
if not isinstance(x, int) or not isinstance(y, int):
continue
if not (0 <= x < (breite or 0) and 0 <= y < (hoehe or 0)):
self.melde(f"maps/{mapid}.json", f"{feld}[{j}]",
f"({x},{y}) liegt außerhalb "
f"{breite}x{hoehe}")
for zeichen, tile in legend.items():
if not (self.projekt / "assets" / "terrain" / f"{tile}.png").exists():
self.melde(f"maps/{mapid}.json", f"legend.{zeichen}",
f"keine Datei assets/terrain/{tile}.png")
def lauf(self) -> int:
self.laden()
self.pruefe_verweise()
self.pruefe_karten()
zaehlung = ", ".join(f"{t}: {len(v)}" for t, v in self.inhalte.items())
print(f"geprüft: {zaehlung}")
for f in self.fehler:
print(" ", f, file=sys.stderr)
print(f"\n{len(self.fehler)} Fehler" if self.fehler else "\nalles in Ordnung")
return 1 if self.fehler else 0
def main(argv: list[str] | None = None) -> int:
argv = sys.argv[1:] if argv is None else argv
daten = Path(argv[0]) if argv else Path(__file__).resolve().parent.parent / "data"
if not (daten / "_schema.json").exists():
raise SystemExit(f" {daten}/_schema.json fehlt")
return Pruefer(daten).lauf()
if __name__ == "__main__":
sys.exit(main())