feat: m1 vertikaler durchstich — mod-lader, registries, attributberechnung, screen-stack
Ersetzt src/ vollstaendig: print_box, include_str! und enum ItemType fallen, wie Ticket 01-03 es vorgezeichnet haben. - data/: Mod-Lader mit zwei Suchpfaden, selbstheilender load_order.toml, drei Phasen und zweistufiger Deserialisierung (03/04) - game/: Attributkatalog, Creature, Game::attribute ueber mehrere Quellen, Command mit Outcome (01/07/11/12) - ui/: Screen-Stack mit Response, Grid-Widget, Press-Filter (06/11/12) - mods/core/: echte TOML-Dateien auf der Platte statt include_str! 10 Tests, darunter der Borrow-Beweis fuer Registries-neben-Game, den Ticket 12 nicht fuehren konnte.
This commit is contained in:
48
mods/core/character_options.toml
Normal file
48
mods/core/character_options.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
# Rasse und Klasse sind Charakteroptionen, keine eigenen Konzepte (Ticket 02).
|
||||
# Die Kategorien sind selbst Inhalt und tragen `pick = N`, damit ein Mod eine
|
||||
# dritte Wahl ergaenzen kann, ohne dass die Engine davon weiss.
|
||||
|
||||
[[categories]]
|
||||
id = "race"
|
||||
name = "Rasse"
|
||||
order = 10
|
||||
pick = 1
|
||||
|
||||
[[categories]]
|
||||
id = "class"
|
||||
name = "Klasse"
|
||||
order = 20
|
||||
pick = 1
|
||||
|
||||
[[options]]
|
||||
id = "dwarf"
|
||||
category = "core:race"
|
||||
name = "Zwerg"
|
||||
description = "Zäh, misstrauisch, trinkfest."
|
||||
modifiers = [ { attribute = "constitution", flat = 2 },
|
||||
{ attribute = "max_health", flat = 10 } ]
|
||||
|
||||
[[options]]
|
||||
id = "elf"
|
||||
category = "core:race"
|
||||
name = "Elf"
|
||||
description = "Flink, hochmütig, langlebig."
|
||||
modifiers = [ { attribute = "dexterity", flat = 2 },
|
||||
{ attribute = "luck", flat = 1 } ]
|
||||
|
||||
[[options]]
|
||||
id = "warrior"
|
||||
category = "core:class"
|
||||
name = "Krieger"
|
||||
description = "Schlägt zu, wo andere nachdenken."
|
||||
modifiers = [ { attribute = "strength", flat = 3 },
|
||||
{ attribute = "damage", percent = 10 } ]
|
||||
|
||||
[[options]]
|
||||
id = "thief"
|
||||
category = "core:class"
|
||||
name = "Dieb"
|
||||
description = "Nimmt, was nicht niet- und nagelfest ist."
|
||||
modifiers = [ { attribute = "dexterity", flat = 2 },
|
||||
{ attribute = "luck", flat = 2 },
|
||||
{ attribute = "critical_chance", percent = 15 } ]
|
||||
Reference in New Issue
Block a user