mirror of
https://github.com/rr-/pq-cli.git
synced 2026-11-12 22:40:36 -07:00
The word lists (monsters, spells, equipment, races, classes, titles and
so on) now live in pqcli/data/*.json instead of pqcli/config.py. A
GameData object loaded at startup is passed to the simulation and UIs.
Users can replace any list by putting NAME.json in
$XDG_CONFIG_HOME/pqcli/data/ or a directory given with --data-dir.
--dump-data DIR copies the built-in files out for editing. Malformed
files are reported and pqcli exits before starting the UI.
Combat task descriptions come from the new combat_verbs list, with
{target} standing for the enemy. The built-in list holds only "Executing
{target}", and a single verb consumes no random roll, so stock gameplay
is unchanged. Recorded traces in tests/fixtures pin this down.
Monster, Race and Class stay in pqcli.config so existing saves still
load.
Resolves #3
24 lines
977 B
JSON
24 lines
977 B
JSON
[
|
|
{"name": "Half Orc", "attr": ["HP Max"]},
|
|
{"name": "Half Man", "attr": ["CHA"]},
|
|
{"name": "Half Halfling", "attr": ["DEX"]},
|
|
{"name": "Double Hobbit", "attr": ["STR"]},
|
|
{"name": "Hob-Hobbit", "attr": ["DEX", "CON"]},
|
|
{"name": "Low Elf", "attr": ["CON"]},
|
|
{"name": "Dung Elf", "attr": ["WIS"]},
|
|
{"name": "Talking Pony", "attr": ["MP Max", "INT"]},
|
|
{"name": "Gyrognome", "attr": ["DEX"]},
|
|
{"name": "Lesser Dwarf", "attr": ["CON"]},
|
|
{"name": "Crested Dwarf", "attr": ["CHA"]},
|
|
{"name": "Eel Man", "attr": ["DEX"]},
|
|
{"name": "Panda Man", "attr": ["CON", "STR"]},
|
|
{"name": "Trans-Kobold", "attr": ["WIS"]},
|
|
{"name": "Enchanted Motorcycle", "attr": ["MP Max"]},
|
|
{"name": "Will o' the Wisp", "attr": ["WIS"]},
|
|
{"name": "Battle-Finch", "attr": ["DEX", "INT"]},
|
|
{"name": "Double Wookiee", "attr": ["STR"]},
|
|
{"name": "Skraeling", "attr": ["WIS"]},
|
|
{"name": "Demicanadian", "attr": ["CON"]},
|
|
{"name": "Land Squid", "attr": ["STR", "HP Max"]}
|
|
]
|