|
- import { Creature, POV } from '../entity'
- import { Stat, Damage, DamageType, AttackAction, StruggleAction, TransferAction } from '../combat'
- import { MalePronouns, ImproperNoun } from '../language'
- import { VoreType, Stomach, Bowels } from '../vore'
-
- class BiteAction extends AttackAction {
- constructor () {
- super(new Damage({ amount: 10, type: DamageType.Pierce }))
- }
- }
-
- export class Wolf extends Creature {
- constructor () {
- super(new ImproperNoun('wolf', 'wolves'), MalePronouns, { [Stat.STR]: 10, [Stat.DEX]: 10, [Stat.CON]: 10 }, new Set([VoreType.Oral, VoreType.Anal]), new Set([VoreType.Oral]), 25)
- this.actions.push(new BiteAction())
-
- const stomach = new Stomach(this, 50, new Damage({ amount: 50, type: DamageType.Acid }, { amount: 500, type: DamageType.Crush }))
-
- this.containers.push(stomach)
- const bowels = new Bowels(this, 50, new Damage({ amount: 50, type: DamageType.Acid }, { amount: 500, type: DamageType.Crush }))
-
- this.containers.push(bowels)
-
- this.actions.push(new TransferAction(bowels, stomach))
- }
- }
|