{# --- SUB-TABLE ARRAYS FOR INTERRUPT CELLS --- #}
{% action_list = ["Abduction", "Barrier", "Battle", "Chase", "Collateral", "Crash", "Culmination", "Distraction", "Harm", "Intensify"] %}
{% tension_list = ["Choice", "Depletion", "Enemy", "Intimidation", "Night", "Public", "Recurrence", "Remote", "Shady", "Trapped"] %}
{% mystery_list = ["Alternate", "Behavior", "Connected", "Information", "Intercept", "Lucky", "Reappearance", "Revelation", "Secret", "Source"] %}
{% social_list = ["Agreement", "Gathering", "Government", "Inadequate", "Injustice", "Misbehave", "Outcast", "Outside", "Reinforcements", "Savior"] %}
{% personal_list = ["Animosity", "Connection", "Dependent", "Ethical", "Flee", "Friend", "Help", "Home", "Humiliation", "Offer"] %}
{# --- MASTER PROBABILITY LAYER --- #}
{%data_block main_oracle%}
Alter (Add Focus)^1
Normal^5
Alter (Remove Focus)^1
Interrupt (Favorable)^1
Interrupt (Unfavorable)^1
{%end%}
{# --- LOCAL CALCULATIONS (FROZEN VIA VIEW) --- #}
{% rolled_outcome = roll_chart_view source:main_oracle %}
{% alter_focus = {Enemy|Monster|Event|Environment|Community|Person|Information|Location|Object|Ally} %}
{# --- 2D10 INTERRUPT COMPILER --- #}
{% col_die = rand_int end:5 start:1 %}
{%if col_die == 1%}{% category = "Action" %}{% element = action_list %}{%end%}
{%if col_die == 2%}{% category = "Tension" %}{% element = tension_list %}{%end%}
{%if col_die == 3%}{% category = "Mystery" %}{% element = mystery_list %}{%end%}
{%if col_die == 4%}{% category = "Social" %}{% element = social_list %}{%end%}
{%if col_die == 5%}{% category = "Personal" %}{% element = personal_list %}{%end%}
{%if rolled_outcome == "Alter (Add Focus)"%}
{%elif rolled_outcome == "Alter (Remove Focus)"%}
{%elif rolled_outcome == "Interrupt (Favorable)" or rolled_outcome == "Interrupt (Unfavorable)"%}
Plot Point Category: {{category}}
Plot Element: {{element}}
{%else%}
{%end%}