(() => { function devour(state, count) { state.player.stats.stomach.value += 100; } stories.push({ id: "mass-vore", name: "Mass Vore", tags: [ "Player Predator", "Macro/Micro", "Digestion" ], sounds: [ ], preload: [ ], intro: { start: "city", setup: state => { state.player.stats.stomach = { name: "Stomach", type: "meter", value: 0, min: 0, max: 10000, color: "rgb(200,20,100)" }; }, intro: state => { print(["Munch time"]); } }, world: { "city": { id: "", name: "", desc: "", move: (room, state) => { }, enter: (room, state) => { }, exit: (room, state) => { }, hooks: [ ], actions: [ { name: "Eat", desc: "Munch!", execute: (room, state) => { print(["Munch!"]); devour(state, 100); } } ], exits: { } } } }); })();