From 5183efdd96f0d5f8ff813b723f783d18b88a6340 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sun, 26 Jul 2020 10:31:27 -0400 Subject: [PATCH] Add a ToBe class for that annoying verb; put Cafat back in --- src/App.vue | 5 +- src/components/ContainerView.vue | 3 +- src/components/Statblock.vue | 3 +- src/game/POV.ts | 0 src/game/combat/actions.ts | 7 +- src/game/combat/effects.ts | 12 ++-- src/game/creatures/cafat.ts | 8 ++- src/game/creatures/kenzie.ts | 10 ++- src/game/creatures/player.ts | 4 +- src/game/creatures/withers.ts | 4 +- src/game/creatures/wolf.ts | 4 +- src/game/entity.ts | 4 +- src/game/language.ts | 112 ++++++++++++++++++++++++------- src/game/vore.ts | 17 +++-- 14 files changed, 127 insertions(+), 66 deletions(-) create mode 100644 src/game/POV.ts diff --git a/src/App.vue b/src/App.vue index 9fca10e..8e521f8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,7 +11,7 @@ import Combat from './components/Combat.vue' import Header from './components/Header.vue' import * as Creatures from '@/game/creatures' import * as Items from '@/game/items' -import { Creature, POV } from '@/game/entity' +import { Creature } from '@/game/entity' import { ProperNoun, TheyPronouns, FemalePronouns, MalePronouns, ImproperNoun } from '@/game/language' @Component({ @@ -71,7 +71,8 @@ export default class App extends Vue { const withers = new Creatures.Withers() const kenzie = new Creatures.Kenzie() - this.combatants = [fighter, withers, wizard, rogue, cleric, kenzie] + const cafat = new Creatures.Cafat() + this.combatants = [fighter, withers, wizard, rogue, cleric, kenzie, cafat] } } diff --git a/src/components/ContainerView.vue b/src/components/ContainerView.vue index ae82792..506ea88 100644 --- a/src/components/ContainerView.vue +++ b/src/components/ContainerView.vue @@ -8,7 +8,8 @@