[
  {
    "id": "vampire_blood_levels",
    "type": "widget",
    "label": "Blood",
    "style": "text",
    "flags": [ "W_DISABLED_WHEN_EMPTY" ],
    "clauses": [
      {
        "id": "slumber",
        "text": "Eternal Slumber",
        "color": "dark_gray_red",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, "<=", { "const": -11999 } ] }
          ]
        }
      },
      {
        "id": "near_death",
        "text": "Corpse-like",
        "color": "light_gray",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, "<=", { "const": -6401 } ] },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, ">", { "const": -11999 } ] }
          ]
        }
      },
      {
        "id": "starving",
        "text": "Hypomia",
        "color": "yellow",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, "<=", { "const": -5601 } ] },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, ">", { "const": -6401 } ] }
          ]
        }
      },
      {
        "id": "hungry",
        "text": "Sallow",
        "color": "light_green",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, "<=", { "const": -4800 } ] },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, ">", { "const": -5601 } ] }
          ]
        }
      },
      {
        "id": "content",
        "text": "Content",
        "color": "green",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, "<=", { "const": 1800 } ] },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, ">", { "const": -4800 } ] }
          ]
        }
      },
      {
        "id": "flush",
        "text": "Flush",
        "color": "light_red",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, "<=", { "const": 2401 } ] },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, ">", { "const": 1800 } ] }
          ]
        }
      },
      {
        "id": "engorged",
        "text": "Engorged",
        "color": "red",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, "<=", { "const": 4401 } ] },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, ">", { "const": 2401 } ] }
          ]
        }
      },
      {
        "id": "swollen",
        "text": "Tick-like",
        "color": "red_cyan",
        "condition": {
          "and": [
            { "u_has_effect": "vampire_virus" },
            { "compare_num": [ { "u_val": "vitamin", "name": "human_blood_vitamin" }, ">", { "const": 4401 } ] }
          ]
        }
      }
    ]
  }
]
