From 6de0f823719281993239d941ef3e34436fa25cc1 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Thu, 28 Nov 2019 21:50:59 -0500 Subject: [PATCH] Add an alleged escape --- stories/fen-snack.js | 64 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/stories/fen-snack.js b/stories/fen-snack.js index eeba574..e62e850 100644 --- a/stories/fen-snack.js +++ b/stories/fen-snack.js @@ -125,11 +125,11 @@ stories.push({ let bonus = state.player.flags.submission ? -3 : 0; bonus += state.player.flags.pinned ? -0.5 : 0; if (location.startsWith("stomach")) { - changeStat("stamina", 1 + bonus, state); + changeStat("stamina", 0.75 + bonus, state); } if (location.startsWith("intestines")) { - changeStat("stamina", 0.5 + bonus, state); + changeStat("stamina", 1.25 + bonus, state); } if (location.startsWith("bowels")) { @@ -369,7 +369,7 @@ stories.push({ desc: "Knead on the muscular folds that surround your tasty little body", execute: (room, state) => { changeStat("stamina", -20, state); - print(["You rub all over your prison's walls. Fen's guts barely move."]); + print(["You rub all over your prison's walls. Fen's intestines quiver and clench in response."]); } }, { @@ -377,7 +377,7 @@ stories.push({ desc: "Let Fen digest you", execute: (room, state) => { state.player.flags.submission = true; - print(["You go limp in the crux's intestines, letting the winding, worryingly-tight guts take you in..."]); + print(["You go limp in the crux's intestines, letting the winding guts take you in..."]); }, show: [ (room, state) => { @@ -472,7 +472,33 @@ stories.push({ return true; } ] - } + }, + "down": { + "target": "freedom", + "desc": "Try to squirm out of the beast", + "show": [ + + ], + "conditions": [ + (room, state) => { + return !state.player.flags.submission; + }, + (room, state) => { + return !state.player.flags.pinned; + }, + + (room, state) => { + return state.player.stats.stamina.value > 25; + } + ], + "hooks": [ + (room, exit, state) => { + print(["You make a desperate bid for freedom, grasping at the walls of Fen's sweltering bowels and dragging yourself forward. The predator growls in pleasure...and, after humoring your squirms for a long minute, crushes you within an inch of your life with a swift, staggeringly-strong clench. Every inch of escape is erased in a heartbeat...as is any hope of ending the evening as anything other than a permanent contribution to the crux's body."]); + changeStat("stamina", -100, state); + return false; + } + ] + }, }, hooks: [ @@ -507,6 +533,34 @@ stories.push({ } } }, + "freedom": { + "id": "freedom", + "name": "Freedom", + "desc": "A place you'll never reach!", + "move": (room, state) => { + + }, + "enter": (room, state) => { + + }, + "exit": (room, state) => { + + }, + "actions": [ + + ], + "exits": { + + }, + "hooks": [ + + ], + "data": { + "stats": { + + } + } + }, "digested-stomach": { id: "digested-stomach", name: "Fen's Belly",