A header status pill: its id, labels, active state, and how it is driven.

interface StatusPill {
    abbr: string;
    active: boolean;
    id: string;
    label: string;
    toggleable: boolean;
}

Properties

abbr: string

Short label rendered on the pill.

active: boolean

Whether the pill is currently lit (status active, or trauma present).

id: string

For a toggleable pill, the registered status-effect id (e.g. Foundry's stun); for an indicator, the affliction subtype (auralshock/fatigue).

label: string

Tooltip label.

toggleable: boolean

true → clicking the pill toggles the corresponding ActiveEffect status; false → a read-only indicator lit from an active trauma subtype (Aural-Shock / Fatigue), which are modeled as traumas rather than toggleable statuses (#306).