Skip to content

πŸ“‹ Whitelist & Layering Rules

πŸ›‘οΈ Whitelist

conf/whitelist.yaml is the single source of truth for valid component codes.

πŸ“‘ Categories

  • 🧍 STA (Stance/Pose): Character body pose
  • 🎭 EXP (Expression): Facial expression overlay
  • βœ‹ ACT (Action): Character action animation
  • πŸŒ… BG (Background): Scene background
  • ✨ CG (CG illustration): Full-scene illustration that replaces the entire layered composition (like a CG scene in visual novels/games). When CG is not CG_None, BG/STA/ACT/EXP are all hidden.

βœ… Valid Codes

Category Codes
🧍 STA STA_Stand_Front, STA_Stand_Side, STA_Stand_Lean
🎭 EXP EXP_Neutral, EXP_Thinking, EXP_Astonished, EXP_Concerned, EXP_Laugh, EXP_Smile_EyesClosed, EXP_PretendClueless
βœ‹ ACT ACT_None, ACT_ArmsCrossed, ACT_PalmOpen, ACT_GlassesPush, ACT_HandOnHip, ACT_HeadTilt, ACT_MouthCover, ACT_ObjectPresent, ACT_WaveGreeting, ACT_WaveFarewell
πŸŒ… BG BG_Lab_Modern, BG_Garden_Rooftop, BG_Cafe_Starbucks
✨ CG CG_None, CG_PandorasTech

πŸ› οΈ Validation

All scene events are validated against the whitelist. Invalid codes are auto-repaired to the default (first) code in each category.

🍰 Layering Order

Normal mode (CG_None)

flowchart LR
    BG -->|bottom| STA --> ACT --> EXP[EXP\ntop]

CG mode (any CG other than CG_None)

flowchart LR
    CG["CG (replaces all layers)"]

This order is enforced in both the renderer and the frontend.