Build a shared Available Variables reference table for outcome dialogs.
Includes actor/source name tokens, prior outcome result tokens, hook variable tokens,
and prior swing result tokens when editing swing triggers.
Parameters
trigger: object|null
The parent trigger (for scanning prior outcomes and hook)
outcome: object
The current outcome
contextName: string
"feature", "effect", or "card"
allSwings: object[]|null = null
All swings array (swing triggers only)
currentSwingIdx: number = -1
Index of the swing being edited (-1 for non-swing)
Build a shared Available Variables reference table for outcome dialogs. Includes actor/source name tokens, prior outcome result tokens, hook variable tokens, and prior swing result tokens when editing swing triggers.