Skip to content

StrSheet_Npc

VersionStatus
v92Full
v90-
v86-

StrSheet_Npc.xml stores player-facing strings: display names for NPCs shown in the game client.


Entity: npcStrings Operations: create, update, delete, upsert


spec:
version: "1.0"
schema: v92
npcStrings:
create:
- id: 1001
string: "Mysterious Merchant"
spec:
version: "1.0"
schema: v92
npcStrings:
create:
- id: 1001
string: "Mysterious Merchant"
- id: 1002
string: "Guard Captain"
spec:
version: "1.0"
schema: v92
npcStrings:
update:
- id: 1001
changes:
string: "Legendary Merchant"

Creates the entry if it doesn’t exist, or updates it if it does.

spec:
version: "1.0"
schema: v92
npcStrings:
upsert:
- id: 1003
string: "Village Elder"
spec:
version: "1.0"
schema: v92
npcStrings:
delete:
- 1001

PropertyTypeSinceRequiredDescription
idintv92YesNPC template ID this string entry belongs to
stringstringv92Yes (create/upsert)Display name shown to players

StrSheet_Npc.xml
└── StrSheet_Npc (root)
└── String (0..∞)
@id (required)
@string

  • ID matching: The id here should match an NPC template id from the NpcTemplate schema to properly link strings to NPCs.
  • Required on create: The string property is required when creating or upserting entries. Updates can selectively modify the string value.
  • Single file: Unlike some other StrSheet types, StrSheet_Npc.xml is a single file with no regional variants.