Browse Source

Add some random teasing in Geta's maw. Fix timers not stopping when entering it

geta
Fen Dweller 5 years ago
parent
commit
fa77e7a10b
1 changed files with 21 additions and 2 deletions
  1. +21
    -2
      stories/geta-unaware.js

+ 21
- 2
stories/geta-unaware.js View File

@@ -393,23 +393,42 @@
"name": "Geta's Maw",
"desc": "You've been slurped up into the fox's jaws",
"move": (room, state) => {
stopClassTimers("free", state);
},
"enter": (room, state) => {
stopClassTimers("free", state);
startTimer({
id: "swallow",
func: state => {
print(["It's too late to escape. You're swallowed down."]);
stopTimer("maw-tease", state);
goToRoom("throat", state);
return true;
},
delay: 5000,
delay: Math.random() * 5000 + 6000,
loop: false,
classes: [

]
}, state);

startTimer({
id: "maw-tease",
func: state => {
printRandom([
["Your captor teases you with a sharp, sloppy swallow, barely holding you back from plunging down that slick gullet."],
["You're sloshed to and fro, battered against the fox's gums by his undulating tongue."],
["Slobber drenches your body as you're smothered beneath Geta's hot tongue."]
]);
return Math.random() * 2000 + 3000;
},
delay: 3000,
loop: true,
classes: [
]
}, state);

},
"exit": (room, state) => {



Loading…
Cancel
Save