(set: $hp to 10) (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. [[Survival Mode->Start Survival Mode]] [[Inventory]] [[Shop]] [[Sleep]] [[main]] A ghoul appears! (set: $ghoul_hp to 3) [[fight]] [[flee->main]] [[main]] (if: (either: 0, 1) is 0)[ The ghoul takes a bite (set: $hp to $hp - (either: 1,2,3)) (if: $hp < 1)[ [[You got eaten]]!] (else:)[ Your health is $hp. [[fight]] [[flee|main]] ] ] (else:)[ You hit the ghoul somehow! (set:$ghoul_hp = $ghoul_hp - 1) (if: $ghoul_hp < 1)[ [[What..What the hell are you]]!] (else:)[ Its health is $ghoul_hp. [[fight]] [[flee|main]] ] ] You thought you could be a ghoul pitiful human [[restart?|init]] (set: $hp to 10) (set: $days to $days + 1) You feel refreshed. (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")