CharacterLoadNPC
Callable
Type parameters
- T: keyof ModuleScreens
Parameters
CharacterID: string
The unique identifier for the NPC
optionalNPCType: string = null
The dialog used by the NPC. Defaults to CharacterID if not specified.
module: T = null
screen: ModuleScreens[T] = null
Returns NPCCharacter
- The randomly generated NPC
Loads an NPC into the character array. The appearance is randomized, and a type can be provided to dress them in a given style.