Skip to content

Commit e927d04

Browse files
committed
Include HP and poison factors in the victory screen.
1 parent ebddfa7 commit e927d04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

simalq/main.hy

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
contextlib [contextmanager]
1414
simalq [version-string]
1515
simalq.strings
16-
simalq.util [CommandError StatusEffect message-queue msg DamageType GameOverException menu-letters burst-damage]
16+
simalq.util [CommandError StatusEffect message-queue msg DamageType GameOverException menu-letters burst-damage mixed-number]
1717
simalq.color :as color
1818
simalq.geometry [burst at turn-and-pos-seed]
1919
simalq.game-state [G]
@@ -288,7 +288,9 @@
288288
f"Score: {G.score :10,}\n"
289289
f"Turn: {G.turn-n :10,}\n"
290290
"\n"
291-
G.quest.name
291+
f"Quest: {G.quest.name}\n"
292+
f"HP factor: {(mixed-number G.rules.player-hp-factor) :5}\n"
293+
f"Poison factor: {(mixed-number G.rules.poison-factor) :5}\n"
292294
"\n"
293295
version-string)))
294296

0 commit comments

Comments
 (0)