import { Creature } from "../creature" import { ProperNoun, TheyPronouns, ImproperNoun, POV } from '../language' import { Damage, DamageType, Vigor, ConstantDamageFormula } from '../combat' import { Stomach, Bowels, VoreType } from '../vore' import { AttackAction } from '../combat/actions' export class Player extends Creature { constructor () { super(new ProperNoun('The Dude'), new ImproperNoun('player', 'players'), TheyPronouns, { Toughness: 20, Power: 20, Speed: 20, Willpower: 20, Charm: 20 }, new Set([VoreType.Oral, VoreType.Anal]), new Set([VoreType.Oral, VoreType.Anal]), 50) this.actions.push(new AttackAction(new ConstantDamageFormula(new Damage({ type: DamageType.Pierce, amount: 20, target: Vigor.Health }, { type: DamageType.Pierce, amount: 20, target: Vigor.Stamina })))) const stomach = new Stomach(this, 100, new Damage({ amount: 20, type: DamageType.Acid, target: Vigor.Health }, { amount: 10, type: DamageType.Crush, target: Vigor.Health })) this.containers.push(stomach) const bowels = new Bowels(this, 100, new Damage({ amount: 20, type: DamageType.Crush, target: Vigor.Health })) this.containers.push(bowels) this.perspective = POV.Second } }