Procházet zdrojové kódy

Allow Geta to eat someone held in his hand

vintage
Fen Dweller před 5 roky
rodič
revize
f15b99e7d7
1 změnil soubory, kde provedl 19 přidání a 2 odebrání
  1. +19
    -2
      src/game/creatures/geta.ts

+ 19
- 2
src/game/creatures/geta.ts Zobrazit soubor

@@ -2,8 +2,8 @@ import { Creature } from "../creature"
import { Damage, DamageType, ConstantDamageFormula, Vigor, Side, CompositionAction } from '../combat'
import { MalePronouns, ImproperNoun, ProperNoun, ObjectPronouns, FemalePronouns, TheyPronouns, Verb } from '../language'
import { VoreType, Stomach, Bowels, Cock, Balls, anyVore, Slit, Womb, biconnectContainers, Hand } from '../vore'
import { AttackAction, TransferAction, FeedAction } from '../combat/actions'
import { StatusConsequence, LogConsequence, DamageConsequence } from '../combat/consequences'
import { AttackAction, TransferAction, FeedAction, DevourAction } from '../combat/actions'
import { StatusConsequence, LogConsequence, DamageConsequence, ArbitraryConsequence } from '../combat/consequences'
import { SizeEffect, DamageTypeResistanceEffect, InstantKillEffect } from '../combat/effects'
import { LogLine } from '../interface'
import { TogetherCondition, MassRatioCondition, ContainsCondition } from '../combat/conditions'
@@ -118,6 +118,23 @@ export class Geta extends Creature {
hand
)

this.actions.push(
new CompositionAction(
"Devour",
"Pop your prey into your mouth",
{
conditions: [
new ContainsCondition(hand)
],
consequences: [
new ArbitraryConsequence(
(user, target) => stomach.consume(target)
)
]
}
)
)

this.actions.push(
new CompositionAction(
"Grip",


Načítá se…
Zrušit
Uložit