overhaul: data-driven architecture
This commit is contained in:
parent
062d36f640
commit
f53b767376
19 changed files with 680 additions and 727 deletions
22
raws/props.json
Normal file
22
raws/props.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
{
|
||||
"id": "door",
|
||||
"name": "door",
|
||||
"renderable": { "glyph": "+", "fg": "#00FFFF", "bg": "#000000", "order": 2 },
|
||||
"flags": ["BLOCKS_TILE", "BLOCKS_VISIBILITY", "DOOR"]
|
||||
},
|
||||
{
|
||||
"id": "trap_bear",
|
||||
"name": "bear trap",
|
||||
"renderable": { "glyph": "^", "fg": "#C0C0C0", "bg": "#000000", "order": 2 },
|
||||
"flags": ["HIDDEN", "ENTRY_TRIGGER", "SINGLE_ACTIVATION"],
|
||||
"effects": { "damage": "6" }
|
||||
},
|
||||
{
|
||||
"id": "trap_confusion",
|
||||
"name": "magic trap",
|
||||
"renderable": { "glyph": "^", "fg": "#800080", "bg": "#000000", "order": 2 },
|
||||
"flags": ["HIDDEN", "ENTRY_TRIGGER", "SINGLE_ACTIVATION"],
|
||||
"effects": { "confusion": "3" }
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue