Преглед изворни кода

Add some taunts in Geta's maw

geta
Fen Dweller пре 6 година
родитељ
комит
d33abbc2f6
1 измењених фајлова са 22 додато и 3 уклоњено
  1. +22
    -3
      stories/geta-unaware.js

+ 22
- 3
stories/geta-unaware.js Прегледај датотеку

@@ -509,11 +509,11 @@
func: state => { func: state => {


if (getStat("mawPos", state) <= 0.05) { if (getStat("mawPos", state) <= 0.05) {
print(["Swallowed!"]);
print(["You slip too far back. Geta doesn't even have to try to swallow you like the food you are."]);
goToRoom("throat", state); goToRoom("throat", state);
return false; return false;
} else if (getStat("mawPos", state) >= 0.95) { } else if (getStat("mawPos", state) >= 0.95) {
print(["Chewed!"]);
print(["Geta's jaws close like a falling guillotine's blade. You're crushed like an insect. A sharp gulp drags you down to the fox's guts."]);
changeStat("health", -90, state); changeStat("health", -90, state);
goToRoom("stomach", state); goToRoom("stomach", state);
return false; return false;
@@ -575,6 +575,25 @@
] ]
}, state); }, state);


startTimer({
id: "maw-taunts",
func: state => {
printRandom([
["\"Did you really think I wouldn't notice you?\""],
["\"You're going to feel good dying in my guts.\""],
["\"I could just crush you...but where's the fun in that?\""]
]);

return Math.random() * 5000 + 5000;
},
delay: 5000,
loop: true,
classes: [
"maw-struggle"
]
}, state);


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


@@ -725,7 +744,7 @@
changeStat("health", -40, state); changeStat("health", -40, state);
return true; return true;
} }
}, },
() => { () => {
print(["Geta squeezes in on his gut with both hands, sloshing you around in the sickly stew of cereal, milk, and enzymatic slime."]); print(["Geta squeezes in on his gut with both hands, sloshing you around in the sickly stew of cereal, milk, and enzymatic slime."]);


Loading…
Откажи
Сачувај