Преглед на файлове

Submission cancels the timer

tags/v0.1.0
Fen Dweller преди 6 години
родител
ревизия
3fc24bfeec
променени са 1 файла, в които са добавени 7 реда и са изтрити 3 реда
  1. +7
    -3
      stories/fen-snack.js

+ 7
- 3
stories/fen-snack.js Целия файл

@@ -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");


Loading…
Отказ
Запис