Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NPC

Index

Properties

Optional adventure

adventure: undefined | string

age

age: string

ageStage

ageStage: AgeName

ageYears

ageYears: number

background

background: BackgroundName

backgroundOrigin

backgroundOrigin: string

In the style of Xanathar's Background Origins

beard

beard: string

birthplace

birthplace: string

bmi

bmi: number

bond

bond: string

In the style of PHB bonds.

boygirl

boygirl: string

calmTrait

calmTrait: string

How the NPC acts when they're calm.

Optional canBeCustom

canBeCustom: undefined | boolean

childNoun

childNoun: string

childhoodMemories

childhoodMemories: string

Optional death

death: undefined | { burialConditions: string; cause: string; graveStandard: string; murderer: null | string; timeSinceDeath: number }

descriptor

descriptor: string

descriptors

descriptors: string[]

Optional dndClass

dndClass: undefined | "rogue" | "bard" | "barbarian" | "cleric" | "druid" | "fighter" | "monk" | "paladin" | "ranger" | "sorcerer" | "warlock" | "wizard"

family

family: string

familyHome

familyHome: string

familyLifestyle

familyLifestyle: LifestyleStandardName

familyUnit

familyUnit: string

finances

finances: { creditors: Record<string, number>; debtors: Record<string, number> }

Type declaration

  • creditors: Record<string, number>
  • debtors: Record<string, number>

firstName

firstName: string

Optional flaw

flaw: undefined | string

In the style of PHB flaws.

formalName

formalName: string

gender

gender: GenderName

Optional greeting

greeting: undefined | string[]

hasClass

hasClass: boolean

Optional hasHistory

hasHistory: undefined | boolean

height

height: string

heightInches

heightInches: number

heshe

heshe: string

himher

himher: string

himherself

himherself: string

hisher

hisher: string

ideal

ideal: string

In the style of PHB ideals.

isBreakingGenderNorms

isBreakingGenderNorms: boolean

Optional isShallow

isShallow: undefined | boolean

Optional isThrowaway

isThrowaway: undefined | boolean

key

key: string

Optional keyIsAlreadyDefined

keyIsAlreadyDefined: undefined | boolean

knewParents

knewParents: boolean

lastName

lastName: string

lifeEvents

lifeEvents: string[]

malefemale

malefemale: string

manwoman

manwoman: string

muscleMass

muscleMass: number

name

name: string

niblingNoun

niblingNoun: string

Optional note

note: undefined | string

objectType

objectType: string

parentNoun

parentNoun: string

Optional parentalLineage

parentalLineage: undefined | string

Optional partnerID

partnerID: undefined | string

passageName

passageName: string

physicalTrait

physicalTrait: string

profession

profession: string

professionOrigin

professionOrigin: string

In the style of Xanathar's Class Origins, for the professions.

professionSector

professionSector: ProfessionSector

professionSuccess

professionSuccess: string

professionType

professionType: ProfessionType

pronouns

pronouns: { boygirl: string; heshe: string; himher: string; himherself: string; hisher: string; malefemale: string; manwoman: string }

Type declaration

  • boygirl: string
  • heshe: string
  • himher: string
  • himherself: string
  • hisher: string
  • malefemale: string
  • manwoman: string

race

race: RaceName

raceName

raceName: RaceName

raceRoll

raceRoll: number

religion

religion: { deity: string; strength: ReligionStrength }

Type declaration

roll

roll: { conformity: number; gender: number; gregariousness: number; kinsey: number; physicalTrait: number; professionLuck: number; religiosity: number; sexuality?: undefined | number; socialClass: number; traits: Record<"modest" | "chaste" | "energetic" | "forgiving" | "generous" | "honest" | "just" | "merciful" | "pious" | "prudent" | "temperate" | "trusting" | "valorous", number> }

Type declaration

  • conformity: number

    100 is a sheep, 50 is a regular person, 1 is "call the cops cuz i really don't care"

  • gender: number

    The number used to determine their gender.

  • gregariousness: number

    100 is an exceedingly charismatic person, 1 is uber-awkward.

  • kinsey: number
  • physicalTrait: number

    "Rarity" of the trait- not really a super important attribute.

  • professionLuck: number

    How lucky/good someone is at their job.

  • religiosity: number

    The number used to determine their religious fervor.

  • Optional sexuality?: undefined | number
  • socialClass: number
  • traits: Record<"modest" | "chaste" | "energetic" | "forgiving" | "generous" | "honest" | "just" | "merciful" | "pious" | "prudent" | "temperate" | "trusting" | "valorous", number>

siblingNoun

siblingNoun: string

siblingNumber

siblingNumber: number

skinColour

skinColour: string

socialClass

socialClass: SocialClassName

stressTrait

stressTrait: string

How the NPC acts when they're stressed.

title

title: string

trait

trait: string

vocalPattern

vocalPattern: string
decription

A noticeable vocal pattern.

wealth

wealth: number

Optional weapon

weapon: undefined | string

weight

weight: string

weightPounds

weightPounds: number

Methods

Optional callbackFunction

  • callbackFunction(town: Town): void

partnerGenderProbability

Generated using TypeDoc