Better random entity placement and config of entities is now more generic.

This commit is contained in:
Zed A. Shaw 2025-01-13 16:23:33 -05:00
parent 641a405a06
commit b16405cfdc
6 changed files with 61 additions and 50 deletions

View file

@ -7,7 +7,7 @@
"description": "A torch that barely lights the way. You wonder if it'd be better to not see the person who murders you.",
"inventory_count": 1,
"components": [
{"type": "LightSource", "config": {"strength": 70, "radius": 2.0}},
{"type": "LightSource", "config": {"strength": 100, "radius": 4.0}},
{"type": "Tile", "config": {"chr": "\u0f08"}}
]
},
@ -71,5 +71,27 @@
{"type": "Tile", "config": {"chr": "\u03eb"}},
{"type": "Curative", "config": {"hp": 20}}
]
},
"STAIRS_DOWN": {
"id": "STAIRS_DOWN",
"name": "Stairs Down",
"foreground": [24, 205, 189],
"background": [24, 205, 189],
"description": "Stairs that go down further into the dungeon.",
"inventory_count": 0,
"components": [
{"type": "Tile", "config": {"chr": "\u2ac5"}}
]
},
"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,
"components": [
{"type": "Tile", "config": {"chr": "\u2259"}}
]
}
}