소스 검색

Add eaten counter

mass-vore
Fen Dweller 6 년 전
부모
커밋
6d592ddded
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. +7
    -2
      stories/mass-vore.js

+ 7
- 2
stories/mass-vore.js 파일 보기

@@ -1,6 +1,7 @@
(() => {
function devour(state, count) {
state.player.stats.stomach.value += count;
state.player.stats.eaten.value += count;
playRandomSfx("swallow");
}

@@ -88,11 +89,15 @@
max: 10000,
color: "rgb(255,10,150)"
}
state.player.stats.eaten = {
name: "Eaten",
type: "counter",
value: 0
}
state.player.stats.digested = {
name: "Digested",
type: "counter",
value: 0,
color: "rgb(255,10,150)"
value: 0
}

startTimer({


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