From 4ce8c2c337b87d25c3dd82484723722372ee383f Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 14 Apr 2020 22:37:50 -0400 Subject: [PATCH] End the maw struggle with Geta drinking the rest of the bowl --- stories/geta-unaware.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stories/geta-unaware.js b/stories/geta-unaware.js index 7c29e1a..055cd1b 100644 --- a/stories/geta-unaware.js +++ b/stories/geta-unaware.js @@ -465,6 +465,7 @@ state.geta.slurps = 0; state.geta.chews = 0; + state.geta.swallowsLeft = 3 + Math.floor(Math.random() * 3); startTimer({ id: "maw-random-movement", @@ -494,6 +495,12 @@ return false; } + if (state.geta.swallowsLeft <= 0) { + print(["Geta picks up his bowl of cereal and drinks it down, swallowing you in the process."]); + goToRoom("throat", state); + return false; + } + let choice; if (Math.random() > state.geta.slurps / 3) { @@ -514,6 +521,7 @@ changeStat("mawPos", -0.25, state); state.geta.slurps = 0; state.geta.chews = 0; + state.geta.swallowsLeft -= 1; return Math.random() * 1500 + 2500; }