Now have all four screens showing up when needed, but now need to a way to restart the game.

This commit is contained in:
Zed A. Shaw 2026-04-02 00:38:41 -04:00
parent d03020cfef
commit 903fad871f
11 changed files with 110 additions and 26 deletions

View file

@ -27,6 +27,11 @@
"frame_width": 256,
"frame_height": 256
},
"open_vent":
{"path": "assets/sprites/open_vent.png",
"frame_width": 256,
"frame_height": 256
},
"dead_body":
{"path": "assets/sprites/dead_body.png",
"frame_width": 256,

View file

@ -17,6 +17,24 @@
{"_type": "Sprite", "name": "ladder_down", "width": 256, "height": 256, "scale": 1.0}
]
},
"OPEN_VENT": {
"id": "OPEN_VENT",
"name": "Open Vent",
"placement": "fixed",
"description": "Your Goal.",
"inventory_count": 0,
"randomized": false,
"components": [
{"_type": "Tile", "display": 6106,
"foreground": "devices/fg:stairs_down",
"background": "devices/bg:stairs_down"
},
{"_type": "Device",
"config": {},
"events": ["STAIRS_DOWN"]},
{"_type": "Sprite", "name": "open_vent", "width": 256, "height": 256, "scale": 1.0}
]
},
"DEAD_BODY_LOOTABLE": {
"id": "DEAD_BODY_LOOTABLE",
"name": "Grave Stone",

View file

@ -6,7 +6,7 @@
"foreground": "enemies/fg:player",
"background": "color:transparent"
},
{"_type": "Combat", "max_hp": 200, "max_ap": 12, "ap_delta": 6, "damage": 20, "dead": false,
{"_type": "Combat", "max_hp": 200, "max_ap": 12, "ap_delta": 6, "damage": 200,
"body_parts": {
"head": 200,
"chest": 200,
@ -30,7 +30,7 @@
"foreground": "enemies/fg:rat_giant",
"background": "color:transparent"
},
{"_type": "Combat", "max_hp": 50, "max_ap": 12, "ap_delta": 6,"damage": 30, "dead": false,
{"_type": "Combat", "max_hp": 50, "max_ap": 12, "ap_delta": 6,"damage": 30,
"body_parts": {
"head": 50,
"chest": 50,

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB