From 7a8d562068b19927b6df20d4acbc01b056e86946 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Fri, 7 Aug 2020 21:10:03 -0400 Subject: [PATCH] Adjust tick text for some vore types --- src/game/vore.ts | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/game/vore.ts b/src/game/vore.ts index 7513288..be68862 100644 --- a/src/game/vore.ts +++ b/src/game/vore.ts @@ -1,7 +1,7 @@ import { Mortal } from './entity' import { Damage, DamageType, Stats, Actionable, Action, Vigor, VoreStats, VisibleStatus, VoreStat, DamageInstance } from './combat' import { LogLines, LogEntry, LogLine, nilLog } from './interface' -import { Noun, Pronoun, ImproperNoun, TextLike, Verb, SecondPersonPronouns, PronounAsNoun, FirstPersonPronouns, PairLineArgs, SoloLine, POV } from './language' +import { Noun, Pronoun, ImproperNoun, TextLike, Verb, SecondPersonPronouns, PronounAsNoun, FirstPersonPronouns, PairLineArgs, SoloLine, POV, RandomWord } from './language' import { DigestAction, DevourAction, ReleaseAction, StruggleAction, TransferAction } from './combat/actions' import * as Words from './words' @@ -401,6 +401,15 @@ export class Bowels extends NormalVoreContainer { constructor (owner: Vore, capacity: number, damage: Damage) { super(new ImproperNoun('bowel', 'bowels').plural.all, owner, new Set([VoreType.Anal]), capacity, damage) } + + tickLine: PairLineArgs = (user, target, args) => { + return new LogLine(`${user.name.capital} ${user.name.conjugate( + new RandomWord([ + new Verb('crush', 'crushes'), + new Verb('clench', 'clenches') + ]) + )} ${target.name.objective} in ${user.pronouns.possessive} ${args.container.name}.`) + } } export class Cock extends NormalVoreContainer { @@ -415,6 +424,15 @@ export class Cock extends NormalVoreContainer { damage ) } + + tickLine: PairLineArgs = (user, target, args) => { + return new LogLine(`${user.name.capital} ${user.name.conjugate( + new RandomWord([ + new Verb('crush', 'crushes'), + new Verb('clench', 'clenches') + ]) + )} ${target.name.objective} in ${user.pronouns.possessive} ${args.container.name}.`) + } } export class Balls extends InnerVoreContainer {