StaticDEFAULT_StaticPARTSStaticTABSStaticTEMPLATE_Mirror of the modification field combobox for appendKeywords rows. Selecting an option writes the rule's field via partial update; free-typed values are caught by the parent change listener.
Variant of the mixin's combobox attacher that writes back via the
stage-aware update path instead of system.modifications.
Wire up:
Build the keyword option list — one entry per keyword Item in the world,
{ key, label } where key is system.key (the canonical short identifier)
and label is the item name.
Override the mixin's _filterOperationSelect for stage modification rows. Filters the DOM select exactly as the mixin does, but does NOT fire a document.update to system.modifications — stage callers write via _writeStageMods.
Mutate a single field on a stage trigger and write back the full triggers
array. Mirrors the swing-trigger change handler's switch but routes through
the system.stages.
Build template context data for the triggers tab.
Add a visible "Make Stackable" header-bar button (next to the close button) on base-type AEs. Mirrors the pattern actor-sheet.mjs uses for Rest / Apply Damage / Apply Restore — direct DOM injection into the window controls strip rather than the auto-generated kebab submenu.
Static_Static_Static_Static_Static_Open Foundry's native AmbientLightConfig sheet (full Light tab UI) on a non-embedded AmbientLightDocument seeded with the AE's auraLightConfig. On submit, write the edited config back to system.auraLightConfig instead of trying to persist the temp light document.
Static_Static_Static_Static_Static_Static_Static_Convert this AE from "base" to "stackable". Foundry treats Document type as
effectively immutable post-create, so we copy → delete → recreate with the new
type. Stack-specific fields default in via their schema initials. The new AE
gets a new _id (callers should re-target if they were holding a UUID).
Static_Process form submission — handles simple fields and changes array. Trigger fields are handled by change listeners and action handlers.
Static_Toggle a stage row's sub-panel open/closed (mirrors the swing-row pattern). Re-clicking the same panel closes it; clicking a different panel switches.
Sheet for the "stackable" ActiveEffect subtype. Reuses the base effect sheet's tabs/parts/handlers and adds a "Stages" tab for stack-count controls and per-stage content (threshold, name, description, drawAppend, modifications).