|
|
|
@@ -2,6 +2,12 @@ |
|
|
|
function devour(state, count) { |
|
|
|
state.player.stats.stomach.value += 100; |
|
|
|
} |
|
|
|
function digest(state, count) { |
|
|
|
if (count === undefined) { |
|
|
|
count = state.player.stats.stomach.value / 10; |
|
|
|
} |
|
|
|
state.player.stats.stomach.value -= count; |
|
|
|
} |
|
|
|
stories.push({ |
|
|
|
id: "mass-vore", |
|
|
|
name: "Mass Vore", |
|
|
|
@@ -27,6 +33,19 @@ |
|
|
|
max: 10000, |
|
|
|
color: "rgb(200,20,100)" |
|
|
|
}; |
|
|
|
|
|
|
|
startTimer({ |
|
|
|
id: "digestion", |
|
|
|
func: state => { |
|
|
|
digest(state); |
|
|
|
return true; |
|
|
|
}, |
|
|
|
delay: 100, |
|
|
|
loop: true, |
|
|
|
classes: [ |
|
|
|
|
|
|
|
] |
|
|
|
}, state); |
|
|
|
}, |
|
|
|
intro: state => { |
|
|
|
print(["Munch time"]); |
|
|
|
|