Kaynağa Gözat

Submission cancels the timer

tags/v0.1.0
Fen Dweller 6 yıl önce
ebeveyn
işleme
3fc24bfeec
1 değiştirilmiş dosya ile 7 ekleme ve 3 silme
  1. +7
    -3
      stories/fen-snack.js

+ 7
- 3
stories/fen-snack.js Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet