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

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"}}]
}
}
}