In my game, the player loses blood over actions and fights, and the rule is that they cannot know their blood levels unless they check them, by clicking on "Blood Levels". The catch is, they lose blood in the process, how can I make this happen?
Here's the code I have right now, but it's probably so wrong, lol
Code: Select all
screen bloodlevels:
text "Blood Left: [currenthp]/[maxhp]" xalign 0.0 yalign 0.05
bar value currenthp range maxhp xalign 0.0 yalign 0.1 xmaximum 200
$currenthp -= 40
if currenthp <= 0:
action Jump ("death")
Also don't mind the screen look right now, I'm going to customize it once I figure out how to get the result I want.