Inventory and lighting improved, now to get ready for going down a level and that's most of the game loop working.

This commit is contained in:
Zed A. Shaw 2025-02-24 01:56:16 -05:00
parent 0878a9e978
commit dfd59065f7
8 changed files with 43 additions and 36 deletions

View file

@ -38,8 +38,8 @@
"player": {
},
"worldgen": {
"enemy_probability": 10,
"empty_room_probability": 1,
"enemy_probability": 30,
"empty_room_probability": 10,
"device_probability": 10
}
}

View file

@ -5,7 +5,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", "strength": 50, "radius": 1.5},
{"_type": "LightSource", "strength": 50, "radius": 2.5},
{"_type": "Tile", "display": "\u0f08",
"foreground": [24, 120, 189],
"background": [230,120, 120]