浏览代码

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

geta
Fen Dweller 5 年前
父节点
当前提交
fa77e7a10b
共有 1 个文件被更改,包括 21 次插入2 次删除
  1. +21
    -2
      stories/geta-unaware.js

+ 21
- 2
stories/geta-unaware.js 查看文件

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


] ]
}, state); }, 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) => { "exit": (room, state) => {




正在加载...
取消
保存