Ver código fonte

Fix lingering issues from changing from properties to methods

vintage
Fen Dweller 5 anos atrás
pai
commit
3a7f411566
2 arquivos alterados com 9 adições e 9 exclusões
  1. +5
    -5
      src/game/creatures/geta.ts
  2. +4
    -4
      src/game/creatures/shingo.ts

+ 5
- 5
src/game/creatures/geta.ts Ver arquivo

@@ -42,16 +42,16 @@ export class Geta extends Creature {

this.otherActions.push(new FeedAction(stomach))

const cock = new Cock(this, 0.25, new ConstantDamageFormula(new Damage(
const cock = new class extends Cock {
digestLine (user: Creature, target: Creature) {
return new LogLine(`${user.name.capital.possessive} ${this.name} throbs as it abruptly absorbs ${target.name.objective}, transforming ${target.name.objective} into more of ${user.pronouns.possessive} meaty shaft.`)
}
}(this, 0.25, new ConstantDamageFormula(new Damage(
{ amount: 10, type: DamageType.Crush, target: Vigor.Health },
{ amount: 50, type: DamageType.Crush, target: Vigor.Stamina },
{ amount: 150, type: DamageType.Dominance, target: Vigor.Resolve }
)))

cock.digestLine = (user, target, args) => {
return new LogLine(`${user.name.capital.possessive} ${args.container.name} throbs as it abruptly absorbs ${target.name.objective}, transforming ${target.name.objective} into more of ${user.pronouns.possessive} meaty shaft.`)
}

cock.actions.push(
new CompositionAction(
"Clench",


+ 4
- 4
src/game/creatures/shingo.ts Ver arquivo

@@ -50,8 +50,8 @@ class Hand extends NormalContainer {
))
}

consumeLine: PairLineArgs<Creature, { container: Container }> = (user, target, args) => {
return new LogLine(`${user.name.capital} ${user.name.conjugate(this.consumeVerb)} ${target.name.objective} up in ${user.pronouns.possessive} ${args.container.name}, giving ${target.pronouns.objective} a firm squeeze in ${user.pronouns.possessive} fingers.`)
consumeLine (user: Creature, target: Creature) {
return new LogLine(`${user.name.capital} ${user.name.conjugate(this.consumeVerb)} ${target.name.objective} up in ${user.pronouns.possessive} ${this.name}, giving ${target.pronouns.objective} a firm squeeze in ${user.pronouns.possessive} fingers.`)
}
}

@@ -100,8 +100,8 @@ class Paw extends NormalContainer {
))
}

consumeLine: PairLineArgs<Creature, { container: Container }> = (user, target, args) => {
return new LogLine(`${user.name.capital} ${user.name.conjugate(this.consumeVerb)} ${target.name.objective} beneath ${user.pronouns.possessive} ${args.container.name}.`)
consumeLine (user: Creature, target: Creature) {
return new LogLine(`${user.name.capital} ${user.name.conjugate(this.consumeVerb)} ${target.name.objective} beneath ${user.pronouns.possessive} ${this.name}.`)
}
}



Carregando…
Cancelar
Salvar