|
- import { Creature, POV } from '../entity'
- import { ProperNoun, TheyPronouns } from '../language'
- import { Stat, Damage, AttackAction, DamageType } from '../combat'
- import { Stomach, Bowels, VoreType } from '../vore'
-
- export class Player extends Creature {
- constructor () {
- super(new ProperNoun('The Dude'), TheyPronouns, { [Stat.STR]: 20, [Stat.DEX]: 20, [Stat.CON]: 20 }, new Set([VoreType.Oral]), new Set([VoreType.Oral, VoreType.Anal]), 50)
-
- this.actions.push(new AttackAction(new Damage({ type: DamageType.Pierce, amount: 20 })))
-
- const stomach = new Stomach(this, 100, new Damage({ amount: 100000000000, type: DamageType.Acid }, { amount: 10, type: DamageType.Crush }))
-
- this.containers.push(stomach)
- const bowels = new Bowels(this, 100, new Damage({ amount: 20, type: DamageType.Crush }))
-
- this.containers.push(bowels)
- this.perspective = POV.First
- }
- }
|