Browse Source

Fix second person pronouns not being marked as plural

This caused problems when conjugating verbs.
master
Fen Dweller 3 years ago
parent
commit
355894049a
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/game/creatures/player.ts
  2. +2
    -2
      src/game/language.ts

+ 1
- 1
src/game/creatures/player.ts View File

@@ -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 }))) 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.addVoreContainer(stomach)


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


this.ai = new VoreAI(this) this.ai = new VoreAI(this)
} }


+ 2
- 2
src/game/language.ts View File

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


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


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


Loading…
Cancel
Save