(set: $hp to 100)
(set: $coins to 10)
(set: $days to 0)
(display: "main")
You've been adventuring for $days days. You have $coins coins and your health is $hp.
[[Go kill some ghouls->Start Survival Mode]]
[[Inventory]]
[[Shop]]
[[Vist the healer ninja's hospital->Sleep]]
[[main]]
lvl 1 ghoul appears! (set: $ghoul_hp to 30)
[[fight]]
[[flee->main]]
[[main]]
(if: (either: 0, 1) is 0)[
The ghoul takes a bite
(set: $hp to $hp - $damage1) (set: $damage1 to (either:(random: 5,10),((random: 5,10)*5)))
(if: $hp < 1)[ [[You barely escape]]!]
(else:)[ Your health is $hp.
[[fight]]
[[flee|main]] ]
]
(else:)[ You hit the ghoul somehow!
(set:$ghoul_hp = $ghoul_hp - $damageh) (set: $damageh to (either:(random: 5,10),((random: 5,10)*5)))
(if: $ghoul_hp < 1)[ [[What..What the hell are you]]!]
(else:)[
Its health is $ghoul_hp.
[[fight]]
[[flee|main]] ]
]
You thought you could beat a ghoul pitiful human, atleast you can [[flee->main]] and go vist the [[healers->Sleep]]
(set: $hp to 10) (set: $days to $days + 1)
You feel good as new.
(display: "main")
(set: $coins to $coins + $spoils)
(display: "main")
(set: $streak to $streak + 1)
(set: $drop to (random: 3,10) * $streak)
(set: $spoils to $spoils + $drop)
You collect $drop coins from the ghouls remains! Your spoils are currently $spoils coins and your health is $hp. You've killed $streak ghoul (if: not($streak is 1))[s] on this adventure.
[[continue|Survival Mode]]
[[go home|collect spoils]]
(set: $spoils to 0) (set: $streak to 0)
(display: "Survival Mode")