From 0ccd642f13cf0c3e984aa5836c4d90017df8bd0e Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 18 Apr 2020 11:01:59 -0400 Subject: [PATCH] Make getting chewed in the maw struggle send you to the throat, pre-surrendered Before, you went straight to the stomach; now, you're swallowed as usual, but are treated as if you've surrendered. --- stories/geta-unaware.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/stories/geta-unaware.js b/stories/geta-unaware.js index 377c419..9127eea 100644 --- a/stories/geta-unaware.js +++ b/stories/geta-unaware.js @@ -589,7 +589,8 @@ 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."]); playSfx("sfx/swallow.ogg"); changeStat("health", -90); - goToRoom("stomach"); + goToRoom("throat"); + state.player.flags.throatSurrender = true; return false; } @@ -846,7 +847,6 @@ playSfx("sfx/swallow.ogg"); - state.player.flags.throatSurrender = false; state.player.stats.stamina.hidden = false; state.player.stats.throatPos.hidden = false; @@ -921,7 +921,9 @@ } }, show: [ - + (room) => { + return !state.player.flags.throatSurrender; + } ], conditions: [