[
  {
    "copy-from": "spacebar",
    "type": "widget",
    "id": "spacebar",
    "extend": { "widgets": [ "spacebar_nether_attunement_block" ] }
  },
  {
    "id": "spacebar_nether_attunement_block",
    "type": "widget",
    "style": "layout",
    "label": "Nether Attunement",
    "arrange": "minimum_columns",
    "width": 58,
    "widgets": [ "spacebar_separator_2", "spacebar_nether_attunement_meter" ]
  },
  {
    "id": "spacebar_nether_attunement_meter",
    "type": "widget",
    "style": "text",
    "label": "Attune",
    "width": 56,
    "clauses": [
      {
        "id": "invisible",
        "text": "",
        "color": "c_black",
        "condition": {
          "and": [
            { "not": { "u_has_effect": "effect_disease_psionic_drain" } },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_1",
        "text": { "str": "<color_green>Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 15" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 35" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_2",
        "text": { "str": "<color_green>Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 35" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 55" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_3",
        "text": { "str": "<color_light_green>Ψ≔≕Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 55" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 75" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_4",
        "text": { "str": "<color_light_green>Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 75" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 95" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_5",
        "text": { "str": "<color_yellow>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 95" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 115" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_6",
        "text": { "str": "<color_yellow>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 115" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 135" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_7",
        "text": { "str": "<color_light_red>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 135" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 155" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_8",
        "text": { "str": "<color_light_red>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 155" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 175" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_9",
        "text": { "str": "<color_red>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 175" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 195" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_10",
        "text": {
          "str": "<color_red>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>",
          "//~": "NO_I18N"
        },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 195" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 215" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_11",
        "text": {
          "str": "<color_pink>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>",
          "//~": "NO_I18N"
        },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 215" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 235" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_12",
        "text": {
          "str": "<color_pink>Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ</color>",
          "//~": "NO_I18N"
        },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 235" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "not": { "u_has_any_trait": [ "PSI_TORRENTIAL_CHANNELING_active" ] } }
          ]
        }
      },
      {
        "id": "visible_torrential_1",
        "text": { "str": "<color_white>T Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 15" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 35" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_2",
        "text": { "str": "<color_white>T Ψ≔≕Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 35" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 55" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_3",
        "text": { "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 55" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 75" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_4",
        "text": { "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 75" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 95" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_5",
        "text": { "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 95" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 115" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_6",
        "text": { "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 115" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 135" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_7",
        "text": { "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 135" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 155" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_8",
        "text": { "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>", "//~": "NO_I18N" },
        "condition": {
          "and": [
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 155" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 175" ] },
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_9",
        "text": {
          "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>",
          "//~": "NO_I18N"
        },
        "condition": {
          "and": [
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "math": [ "u_vitamin('vitamin_psionic_drain') <= 194" ] },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_10",
        "text": {
          "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>",
          "//~": "NO_I18N"
        },
        "condition": {
          "and": [
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 195" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 215" ] },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_11",
        "text": {
          "str": "<color_white>T  Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>",
          "//~": "NO_I18N"
        },
        "condition": {
          "and": [
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 215" ] },
            { "math": [ "u_vitamin('vitamin_psionic_drain') < 235" ] },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_torrential_12",
        "text": {
          "str": "<color_white>T Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ≔≕Ψ T</color>",
          "//~": "NO_I18N"
        },
        "condition": {
          "and": [
            { "not": { "u_has_any_effect": [ "effect_noetic_resilience" ] } },
            { "math": [ "u_vitamin('vitamin_psionic_drain') >= 235" ] },
            { "u_has_trait": "PSI_TORRENTIAL_CHANNELING_active" }
          ]
        }
      },
      {
        "id": "visible_extended",
        "text": { "str": "<color_light_gray>R Ψ≔≕Ψ R</color>", "//~": "NO_I18N" },
        "condition": { "u_has_any_effect": [ "effect_noetic_resilience" ] }
      }
    ],
    "padding": 0
  }
]
