|
|
|
@@ -78,7 +78,7 @@ export class AttackAction extends DamageAction { |
|
|
|
} |
|
|
|
|
|
|
|
describe (user: Creature, target: Creature): LogEntry { |
|
|
|
return new LogLine(`Attack ${target.name}. `, this.damage.describe(user, target), '. ', super.describe(user, target)) |
|
|
|
return new LogLine(`Attack ${target.baseName}. `, this.damage.describe(user, target), '. ', super.describe(user, target)) |
|
|
|
} |
|
|
|
|
|
|
|
successLine: PairLineArgs<Creature, { damage: Damage }> = (user, target, args) => new LogLine( |
|
|
|
@@ -159,7 +159,7 @@ export class FeedAction extends Action { |
|
|
|
} |
|
|
|
|
|
|
|
describe (user: Creature, target: Creature): LogEntry { |
|
|
|
return new LogLine(`Your willpower is drained, and you really feel like shoving yourself into ${target.name}'s ${this.container.name}...`) |
|
|
|
return new LogLine(`Your willpower is drained, and you really feel like shoving yourself into ${target.name.possessive} ${this.container.name}...`) |
|
|
|
} |
|
|
|
|
|
|
|
protected successLine: PairLine<Entity> = (user, target) => new LogLine( |
|
|
|
@@ -197,7 +197,7 @@ export class StruggleAction extends Action { |
|
|
|
} |
|
|
|
|
|
|
|
describe (user: Creature, target: Creature): LogEntry { |
|
|
|
return new LogLine(`Try to escape from ${target.name}'s ${this.container.name}. `, super.describe(user, target)) |
|
|
|
return new LogLine(`Try to escape from ${target.baseName.possessive} ${this.container.name}. `, super.describe(user, target)) |
|
|
|
} |
|
|
|
|
|
|
|
protected successLine: PairLineArgs<Entity, { container: Container }> = (prey, pred, args) => new LogLine( |
|
|
|
@@ -254,7 +254,7 @@ export class ReleaseAction extends Action { |
|
|
|
} |
|
|
|
|
|
|
|
describe (user: Creature, target: Creature): LogEntry { |
|
|
|
return new LogLine(`Release ${target.name} from your ${this.container.name}.`) |
|
|
|
return new LogLine(`Release ${target.baseName} from your ${this.container.name}.`) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@@ -288,6 +288,6 @@ export class TransferAction extends Action { |
|
|
|
} |
|
|
|
|
|
|
|
describe (user: Creature, target: Creature): LogEntry { |
|
|
|
return new LogLine(`Push ${target.name} from your ${this.from.name} to your ${this.to.name}`) |
|
|
|
return new LogLine(`Push ${target.baseName} from your ${this.from.name} to your ${this.to.name}`) |
|
|
|
} |
|
|
|
} |