소스 검색

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


불러오는 중...
취소
저장