Skip to main content

Citizens & Lootbags

Citizens are the physical NPC entities that spawn in the world. Lootbags define randomized item rewards. Both editors follow the same base/custom pattern.

Citizens

Citizen List

The left sidebar lists all citizens with search filtering. Each entry shows:

  • Display name (or ID if no name is set)
  • World and roles summary
  • Source badge -- C for custom, OFF for disabled base citizens

Creating a Citizen

Click + New and enter a Citizen ID and Display Name. New citizens default to Entity_NPC_Base with player model enabled, position (0, 100, 0), invulnerable.

Identity Section

FieldDescription
IDUnique identifier (read-only after creation)
Display NameName shown in-game above the NPC
Entity TypeThe entity template (e.g. Entity_NPC_Base)
Skin UsernamePlayer skin to use for this NPC
Player ModelWhether to use a player model or an NPC model
NameplateWhether to show the name above the NPC

Position Section

FieldDescription
WorldWhich world this citizen spawns in (default: default)
X / Y / ZSpawn coordinates
RotationFacing direction in degrees
tip

To get coordinates in-game, stand where you want the NPC and use the debug screen. Enter those coordinates here.

Roles & Bindings

Configure Group, Shop ID (links to a shop), Dialog ID, and Roles (tags like quest_giver, merchant). Add roles with the input field and remove them with the X button.

Equipment & Appearance

FieldDescription
Main HandItem held in the right hand (autocomplete available)
Off HandItem held in the left hand (autocomplete available)
ScaleSize multiplier (default: 1.0)
InvulnerableWhether the NPC can take damage

Movement

FieldDescription
Movement TypeNONE (stationary), WANDER (random walking), or PATH (follows a path)
Movement RangeHow far the NPC wanders from spawn

Hologram Lines & Emotes

Hologram Lines are floating text displayed above the NPC. Emotes are animation IDs the NPC can play. Both are managed as simple lists -- use + Add to append and X to remove.

Base vs. Custom

  • BASE citizens are read-only. Use Clone to Custom for an editable copy, or Disable to exclude from spawning. Custom citizens can be fully edited and deleted.

Lootbags

Lootbags define randomized loot tables used as quest rewards, achievement rewards, or dropped items.

Lootbag List

The left sidebar lists all lootbags with their display name and item count (e.g. 5i).

Creating a Lootbag

Click + New and enter a Lootbag ID (e.g. lootbag_custom_reward) and Display Name.

Properties

  • Display Name -- friendly name shown to players
  • Rolls -- how many times the loot table is rolled (more rolls = more items)

Items Table

Each item in the lootbag has:

ColumnDescription
ItemItem ID (with autocomplete for custom lootbags)
MinMinimum amount per roll
MaxMaximum amount per roll
WeightRelative drop chance (higher = more likely)

For custom lootbags:

  • Click + Add Item to add an entry
  • Use the X button to remove items
  • All fields are directly editable in the table
info

The actual amount given per roll is randomized between Min and Max. Weight values are relative -- an item with weight 200 drops twice as often as one with weight 100.

Base vs. Custom

  • BASE lootbags are read-only. Use Clone to Custom for an editable copy.
  • CUSTOM lootbags can be fully edited and deleted.