瀏覽代碼

Fix second person pronouns not being marked as plural

This caused problems when conjugating verbs.
master
Fen Dweller 3 年之前
父節點
當前提交
355894049a
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      src/game/creatures/player.ts
  2. +2
    -2
      src/game/language.ts

+ 1
- 1
src/game/creatures/player.ts 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存