NPC Stats
Estimated reading time: 3 minutesOverview
The NPC stats system allows mod authors to add custom numeric attributes to NPCs, such as favour, trust, stress, or special ability level. These stats are shown in the NPC sidebar and can be modified by game logic.
Register stats via maplebirch.npc.addStats or maplebirchFrameworks.addNPCStats.
Basic Syntax
Stat Configuration Structure
Stat Properties
Position
number: Insert at that index (0 = first).'first': Insert at the beginning.'last': Insert at the end.
