Pārlūkot izejas kodu

Submission cancels the timer

tags/v0.1.0
Fen Dweller pirms 6 gadiem
vecāks
revīzija
3fc24bfeec
1 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. +7
    -3
      stories/fen-snack.js

+ 7
- 3
stories/fen-snack.js Parādīt failu

@@ -22,7 +22,10 @@ stories.push({
return true;
},
delay: 1000,
loop: true
loop: true,
classes: [
"alive"
]
}, state);
}
},
@@ -55,8 +58,7 @@ stories.push({
name: "Submit",
desc: "Let Fen digest you",
execute: (room, state) => {
print(["You slump down in the acidic pit, curling up as it begins to churn you down to chyme. Fen's stomach snarls and bubbles for the next few minutes...and then you're gone~",newline,"Nothing's left but a bit of padding on your predator's hips..."]);

state.player.stats.health = 0;
goToRoom("digested", state);
}
}
@@ -138,6 +140,8 @@ stories.push({
enter: (room, state) => {
playLoop("loop/fen-intestines.ogg");
playSfx("sfx/digested-test.ogg");
stopClassTimers("alive", state);
print(["You slump down in the acidic pit, curling up as it begins to churn you down to chyme. Fen's stomach snarls and bubbles for the next few minutes...and then you're gone~",newline,"Nothing's left but a bit of padding on your predator's hips..."]);
},
exit: (room, state) => {
stopLoop("loop/fen-intestines.ogg");


Notiek ielāde…
Atcelt
Saglabāt