From d33abbc2f6b9817f6d97d4b6bb2353a9decf4e0a Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 15 Apr 2020 09:00:21 -0400 Subject: [PATCH] Add some taunts in Geta's maw --- stories/geta-unaware.js | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/stories/geta-unaware.js b/stories/geta-unaware.js index 4ab177d..a11cb21 100644 --- a/stories/geta-unaware.js +++ b/stories/geta-unaware.js @@ -509,11 +509,11 @@ func: state => { if (getStat("mawPos", state) <= 0.05) { - print(["Swallowed!"]); + print(["You slip too far back. Geta doesn't even have to try to swallow you like the food you are."]); goToRoom("throat", state); return false; } else if (getStat("mawPos", state) >= 0.95) { - print(["Chewed!"]); + print(["Geta's jaws close like a falling guillotine's blade. You're crushed like an insect. A sharp gulp drags you down to the fox's guts."]); changeStat("health", -90, state); goToRoom("stomach", state); return false; @@ -575,6 +575,25 @@ ] }, state); + startTimer({ + id: "maw-taunts", + func: state => { + printRandom([ + ["\"Did you really think I wouldn't notice you?\""], + ["\"You're going to feel good dying in my guts.\""], + ["\"I could just crush you...but where's the fun in that?\""] + ]); + + return Math.random() * 5000 + 5000; + }, + delay: 5000, + loop: true, + classes: [ + "maw-struggle" + ] + }, state); + + }, "exit": (room, state) => { @@ -725,7 +744,7 @@ changeStat("health", -40, state); return true; } - + }, () => { print(["Geta squeezes in on his gut with both hands, sloshing you around in the sickly stew of cereal, milk, and enzymatic slime."]);