| @@ -146,18 +146,6 @@ export const Town = (): Place => { | |||||
| } | } | ||||
| ) | ) | ||||
| ) | ) | ||||
| home.choices.push( | |||||
| new Choice( | |||||
| "Eat someone", | |||||
| "Slurp", | |||||
| (world, executor) => { | |||||
| const snack = new Creatures.Human(new ProperNoun("Snack"), TheyPronouns) | |||||
| snack.applyEffect(new SurrenderEffect()) | |||||
| const options = executor.validActions(snack).filter(action => action instanceof DevourAction) | |||||
| return options[Math.floor(options.length * Math.random())].execute(executor, snack) | |||||
| } | |||||
| ) | |||||
| ) | |||||
| home.choices.push( | home.choices.push( | ||||
| new Choice( | new Choice( | ||||
| @@ -188,6 +176,19 @@ export const Town = (): Place => { | |||||
| ) | ) | ||||
| ) | ) | ||||
| westAve.choices.push( | |||||
| new Choice( | |||||
| "Eat someone", | |||||
| "Slurp", | |||||
| (world, executor) => { | |||||
| const snack = new Creatures.Human(new ProperNoun(["Snack", "Treat", "Tasty", "Dinner", "Appetizer"][Math.floor(Math.random() * 5)]), TheyPronouns) | |||||
| snack.applyEffect(new SurrenderEffect()) | |||||
| const options = executor.validActions(snack).filter(action => action instanceof DevourAction) | |||||
| return options[Math.floor(options.length * Math.random())].execute(executor, snack) | |||||
| } | |||||
| ) | |||||
| ) | |||||
| bossEncounters.forEach(encounter => { | bossEncounters.forEach(encounter => { | ||||
| bosses.choices.push( | bosses.choices.push( | ||||
| new Choice( | new Choice( | ||||