npcs.json

Defines NPC positions, vendor bindings, label keys, and the per-map override sets.

Scene objects do not rebuild live

Existing NPC scene objects are not rebuilt automatically after a live save. Restart or reload the map for reliable placement checks.

High-level parts

  • enabled
  • npcs
  • mapOverrides

Managed NPC fields

FieldMeaning
idStable NPC id.
typeNPC type.
enabledWhether this NPC is active.
nameInternal name.
positionWorld position as x y z.
yawYaw rotation.
modelPathResource path to the NPC model.
label.nameKeyLocalization key for the display name.
label.roleKeyLocalization key for the role line.
label.moduleModule ownership for label visibility.
vendor.kindVendor kind (shop, dealer, food, etc.).
vendor.stockIdStock id referenced by the vendor.
clothingClothing resource paths.

Map overrides support matching a map key and either merging or replacing global NPCs.

Reload

Use litherarp.npcs_reload for label and metadata changes. For placement changes, restart or reload the map.