Heal scrolls added. Gained from adventures or quests.

This commit is contained in:
Storm Dragon
2026-01-24 18:18:02 -05:00
parent 595de51da0
commit 1b76ccc129
11 changed files with 153 additions and 28 deletions

View File

@@ -189,9 +189,11 @@ void main()
// Death check
if (player_health <= 0) {
speak_with_history("You have died.", true);
wait(2000);
exit();
if (!try_consume_heal_scroll()) {
speak_with_history("You have died.", true);
wait(2000);
exit();
}
}
// Inventory & Actions