There's now a config to control the random world gen a bit.

This commit is contained in:
Zed A. Shaw 2025-01-14 15:16:24 -05:00
parent b16405cfdc
commit 7acbd0379f
4 changed files with 22 additions and 19 deletions

View file

@ -5,7 +5,8 @@
"player": {
},
"type": {
"TEST": 1234
"worldgen": {
"enemy_probability": 60,
"empty_room_probability": 20
}
}

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": 100, "radius": 4.0}},
{"type": "LightSource", "config": {"strength": 70, "radius": 2.0}},
{"type": "Tile", "config": {"chr": "\u0f08"}}
]
},