diff --git a/src/game/creatures/cafat.ts b/src/game/creatures/cafat.ts index e8ab202..d3139af 100644 --- a/src/game/creatures/cafat.ts +++ b/src/game/creatures/cafat.ts @@ -6,7 +6,7 @@ import { LogLine, LogLines, LogEntry, FAElem, ImgElem } from '../interface' import { AttackAction, TransferAction, FeedAction } from '../combat/actions' import { InstantKillEffect } from '../combat/effects' import * as Words from '../words' -import { ContainedByCondition } from '../combat/conditions' +import { ContainedByCondition, ContainsCondition } from '../combat/conditions' class BellyCrushAction extends AttackAction { constructor (_damage: Damage) { @@ -51,7 +51,7 @@ class CrushAction extends Action { "Crush", "Crush 'em!", [ - new ContainedByCondition(container) + new ContainsCondition(container) ] ) this.desc = "Crush somebody in your gut" diff --git a/src/game/maps/town.ts b/src/game/maps/town.ts index 0356be9..56999ac 100644 --- a/src/game/maps/town.ts +++ b/src/game/maps/town.ts @@ -138,6 +138,10 @@ export const Town = (): Place => { new Encounter( { name: "Large Wah", intro: (world: World) => nilLog }, makeParty().concat([new Creatures.Shingo()]) + ), + new Encounter( + { name: "Cafat", intro: (world: World) => nilLog }, + makeParty().concat([new Creatures.Cafat()]) ) ]