NPC Sidebar
Estimated reading time: 3 minutesOverview
The NPC sidebar system lets mod authors add sidebar display for custom NPCs, either as static images or as a dynamic model driven by the in-game clothing system.
Display Modes
- Static image mode: Pre-drawn static images.
- Dynamic model mode: Rendered from the in-game clothing system.
Static Image Mode
Image Paths
[npc_name]: NPC name (lowercase, e.g. luna, draven).[image_name]: Image name; becomes a selectable option in-game.
Example:
Once luna is registered in boot.json, these images are available as sidebar options.
boot.json Configuration
Basic Structure
Full Example
Field Reference
Layer Configuration Examples
Sidebar Layers (YAML)
body: Base layer.head/face/upper/lower: Logical layer groups.zIndex: Order;autofor auto-computed order.cond: Expression; layer is shown only when it evaluates totrue.
Sidebar Layers (JSON)
Images are registered with the BeautySelectorAddon image pipeline.
Clothing Config (YAML) — Simplified
Full dynamic model clothing follows the game’s vanilla clothing structure (all slots such as over_upper, upper, lower, etc.).
