Explorar el Código

Fix second person pronouns not being marked as plural

This caused problems when conjugating verbs.
undefined
Fen Dweller hace 4 años
padre
commit
4cef57efb6
Se han modificado 3 ficheros con 4 adiciones y 4 borrados
  1. +1
    -1
      src/game/creature.ts
  2. +1
    -1
      src/game/creatures/player.ts
  3. +2
    -2
      src/game/language.ts

+ 1
- 1
src/game/creature.ts Ver fichero

@@ -1,4 +1,4 @@
import { Damage, Stats, Action, Vigor, Side, VisibleStatus, ImplicitStatus, StatusEffect, DamageType, Effective, VoreStat, VoreStats, DamageInstance, Stat, Vigors, Encounter } from '@/game/combat'
import { Damage, Stats, Action, Vigor, Side, VisibleStatus, ImplicitStatus, StatusEffect, DamageType, Effective, VoreStat, VoreStats, DamageInstance, Stat, Vigors, Encounter, Bitches } from '@/game/combat'
import { Noun, Pronoun, SoloLine, Verb } from '@/game/language'
import { LogEntry, LogLines, LogLine } from '@/game/interface'
import { VoreContainer, VoreType, Container } from '@/game/vore'


+ 1
- 1
src/game/creatures/player.ts Ver fichero

@@ -23,7 +23,7 @@ export default class Player extends Creature {
const stomach = new Stomach(this, 2, new ConstantDamageFormula(new Damage({ amount: 20, type: DamageType.Acid, target: Vigor.Health }, { amount: 10, type: DamageType.Crush, target: Vigor.Health })))
this.addVoreContainer(stomach)

this.perspective = POV.Second
this.perspective = POV.First

this.ai = new VoreAI(this)
}


+ 2
- 2
src/game/language.ts Ver fichero

@@ -537,14 +537,14 @@ export const SecondPersonPronouns = new Pronoun({
objective: 'you',
possessive: 'your',
reflexive: 'yourself'
})
}, false, true)

export const FirstPersonPronouns = new Pronoun({
subjective: 'I',
objective: 'me',
possessive: 'my',
reflexive: 'myself'
})
}, false, true)

export class PronounAsNoun extends Noun {
constructor (private pronouns: Pronoun, opt: WordOptions = emptyConfig) {


Cargando…
Cancelar
Guardar