Automated Outfit Tracker
Dynamically tracks what you and every character in the scene are wearing—including layered jackets, accessories, and condition details like rolled-up sleeves or rain-soaked clothes—automatically updating from story prose and syncing with Undo/Retry. Type /outfit anytime to inspect or edit wardrobes. It is designed as a zero-intervention JavaScript system designed to keep character clothing consistent across long, multi-character stories without manual bookkeeping. Core Capabilities - Automatic Prose Parsing: Reads both player inputs and AI outputs in real time to detect outfit changes ("changed into a tailored suit"), layered additions ("slipped on a leather jacket"), intentional removals ("kicked off her boots"), intransitive exits ("his hat blew off"), and passive descriptions ("wearing a faded hoodie"). - Slot-Aware Layered Wardrobe: Separates each character's attire into Base (tops, bottoms, full-body garments, footwear), Layers (jackets, coats, sweaters, cloaks), Accessories (hats, glasses, jewelry, bags), and Condition Notes (rolled-up sleeves, unbuttoned, barefoot, soaked, disheveled). Replacing a shirt swaps out only the top without wiping out pants, boots, or an outer coat. - Multi-Character & Multi-Perspective Resolution: Tracks first-person (I, my), second-person (You, your), and third-person (he, she, they, single names, and full multi-word names like "Elena Vance"). Handles multi-subject clauses ("Elena wore a coat while Marcus wore a suit") and coordinated group actions ("Elena and Marcus put on their coats"). - Negation & Context Guards: Ignores negated actions ("wasn't wearing a coat", "no longer soaked") and strips spoken dialogue when checking scene presence so characters only appear in the context prompt when they are physically in the scene. - Story Card Integration: Automatically detects character Story Cards (Type: character or Outfit: / Pronouns: / Role: tags) to initialize starting wardrobes, pronouns, name aliases, and protagonist flags without polluting location or faction cards. - Undo, Retry & Edit Resilience: Snapshots wardrobe states per turn (actionCount) so rolling back or retrying a turn restores the exact clothing state from that point in the story. - Compact Context Injection & Slash Commands: Injects a single, token-efficient [Scene Attire — ...] summary line for active scene participants into Context.js, while offering a full /outfit slash command suite (list, <Name>, set, add, remove, note, removenote, clearnotes, clear) for instant inspection or manual overrides.</ul>
