From 78098bc475fd286803b75c52d55e08b0cc9c63f7 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 14 Apr 2020 21:07:06 -0400 Subject: [PATCH] Let the player try to climb out --- stories/geta-unaware.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/stories/geta-unaware.js b/stories/geta-unaware.js index 2ea621e..05508d6 100644 --- a/stories/geta-unaware.js +++ b/stories/geta-unaware.js @@ -390,7 +390,7 @@ delay: 3000, loop: true, classes: [ - + "free" ] }, state); @@ -402,7 +402,26 @@ ], "exits": { + "ascend": { + "target": "bowl", + "desc": "Try to climb back out!", + "show": [ + ], + "conditions": [ + + ], + "hooks": [ + (room, exit, state) => { + print([ + "You grab at the rim of the bowl and try to pull yourself out. Alas, your struggles are for naught; Geta easily scoops you up in his spoon and, a heartbeat later, slurps you into his sloppy jaws. You didn't stand a chance." + ]); + goToRoom("maw", state); + return false; + } + + ] + }, }, "hooks": [ @@ -418,6 +437,7 @@ "name": "Geta's Maw", "desc": "You've been slurped up into the fox's jaws", "move": (room, state) => { + }, "enter": (room, state) => { stopClassTimers("free", state);