Brought over a bunch of code from the roguelike and now will use it to generate a random map.
This commit is contained in:
parent
8d3d3b4ec3
commit
2daa1c9bd5
59 changed files with 4303 additions and 411 deletions
47
assets/devices.json
Normal file
47
assets/devices.json
Normal file
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"STAIRS_DOWN": {
|
||||
"id": "STAIRS_DOWN",
|
||||
"name": "Stairs Down",
|
||||
"placement": "fixed",
|
||||
"foreground": [24, 205, 189],
|
||||
"background": [24, 205, 189],
|
||||
"description": "Stairs that go down further into the dungeon.",
|
||||
"inventory_count": 0,
|
||||
"randomized": false,
|
||||
"components": [
|
||||
{"type": "Tile", "config": {"chr": "\u2ac5"}},
|
||||
{"type": "Device",
|
||||
"config": {"test": true}, "events": ["Events::GUI::STAIRS_DOWN"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"STAIRS_UP": {
|
||||
"id": "STAIRS_UP",
|
||||
"name": "Stairs Up",
|
||||
"foreground": [24, 205, 189],
|
||||
"background": [24, 205, 189],
|
||||
"description": "Stairs that go up, for the weak.",
|
||||
"inventory_count": 0,
|
||||
"placement": "fixed",
|
||||
"components": [
|
||||
{"type": "Tile", "config": {"chr": "\u2259"}},
|
||||
{"type": "Device",
|
||||
"config": {"test": true}, "events": ["Events::GUI::STAIRS_UP"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"SPIKE_TRAP": {
|
||||
"id": "SPIKE_TRAP",
|
||||
"name": "Spike trap",
|
||||
"foreground": [24, 205, 189],
|
||||
"background": [24, 205, 189],
|
||||
"description": "Spikes stab you from the floor.",
|
||||
"inventory_count": 0,
|
||||
"components": [
|
||||
{"type": "Tile", "config": {"chr": "\u1ac7"}},
|
||||
{"type": "Device",
|
||||
"config": {"test": true}, "events": ["Events::GUI::TRAP"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue