Browse Source

Fix wrong conjugation; remove redundant execute() on DevourAction

master
Fen Dweller 5 years ago
parent
commit
9e0e267fc1
2 changed files with 1 additions and 5 deletions
  1. +0
    -4
      src/game/combat/actions.ts
  2. +1
    -1
      src/game/vore.ts

+ 0
- 4
src/game/combat/actions.ts View File

@@ -142,10 +142,6 @@ export class DevourAction extends CompositionAction {
describe (user: Creature, target: Creature): LogEntry {
return new LogLine(`Try to ${this.container.consumeVerb} your opponent, sending them to your ${this.container.name}. `, super.describe(user, target))
}

execute (user: Creature, target: Creature): LogEntry {
return this.container.consume(target)
}
}

/**


+ 1
- 1
src/game/vore.ts View File

@@ -203,7 +203,7 @@ export abstract class NormalVoreContainer extends NormalContainer implements Vor
tickLine (user: Creature, target: Creature, args: { damage: Damage }): LogEntry {
return new RandomEntry(
new LogLine(`${user.name.capital} ${user.name.conjugate(Words.Churns)} ${target.name.objective} in ${user.pronouns.possessive} ${this.name} for `, args.damage.renderShort(), `.`),
new LogLine(`${user.name.capital.possessive} ${this.name} ${user.name.conjugate(Words.Churns)}, stewing ${target.name.objective} for `, args.damage.renderShort(), `.`),
new LogLine(`${user.name.capital.possessive} ${this.name} ${this.name.conjugate(Words.Churns)}, stewing ${target.name.objective} for `, args.damage.renderShort(), `.`),
new LogLine(`${target.name.capital} ${target.name.conjugate(new Verb("thrash", "thrashes"))} in ${user.name.possessive} ${Words.Slick} ${this.name} as it churns ${target.pronouns.objective} for `, args.damage.renderShort(), `.`)
)
}


Loading…
Cancel
Save