Procházet zdrojové kódy

Fix second person pronouns not being marked as plural

This caused problems when conjugating verbs.
master
Fen Dweller před 3 roky
rodič
revize
355894049a
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +1
    -1
      src/game/creatures/player.ts
  2. +2
    -2
      src/game/language.ts

+ 1
- 1
src/game/creatures/player.ts Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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) {


Načítá se…
Zrušit
Uložit