Bläddra i källkod

Fix second person pronouns not being marked as plural

This caused problems when conjugating verbs.
undefined
Fen Dweller 4 år sedan
förälder
incheckning
4cef57efb6
3 ändrade filer med 4 tillägg och 4 borttagningar
  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 Visa fil

@@ -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 { Noun, Pronoun, SoloLine, Verb } from '@/game/language'
import { LogEntry, LogLines, LogLine } from '@/game/interface' import { LogEntry, LogLines, LogLine } from '@/game/interface'
import { VoreContainer, VoreType, Container } from '@/game/vore' import { VoreContainer, VoreType, Container } from '@/game/vore'


+ 1
- 1
src/game/creatures/player.ts Visa fil

@@ -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 Visa fil

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


Laddar…
Avbryt
Spara