diff --git a/stories/mass-vore.js b/stories/mass-vore.js index adc447a..8491fab 100644 --- a/stories/mass-vore.js +++ b/stories/mass-vore.js @@ -4,6 +4,7 @@ function devour(state, count) { state.player.stats.stomach.value += count; state.player.stats.eaten.value += count; + state.info.population.value -= count; playRandomSfx("swallow"); } @@ -129,6 +130,17 @@ ] }, state); + + state.info.population = { + id: "population", + name: "Population", + type: "counter", + min: 0, + max: 5000000, + value: 5000000, + get render() {return this.value}, + color: "rgb(255,255,255)" + }; }, intro: state => { print(["Munch time"]);