[
  {
    "type": "effect_on_condition",
    "id": "EOC_BLOOD_ADDICTION",
    "condition": {
      "compare_num": [ { "rand": 2000 }, "<=", { "u_val": "addiction_intensity", "addiction": "blood", "mod": { "val": 2000, "step": 20 } } ]
    },
    "effect": [
      {
        "run_eocs": {
          "id": "EOC_BLOOD_ADDICTION_SNIPPET_TYPE",
          "condition": { "not": { "u_has_effect": "sleep" } },
          "effect": [
            { "u_message": "blood_addiction", "snippet": true, "type": "warning" },
            { "u_add_morale": "morale_craving_blood", "bonus": -5, "max_bonus": -30 }
          ],
          "false_effect": [
            { "u_message": "blood_addiction_dream", "snippet": true, "type": "warning" },
            { "u_add_morale": "morale_craving_blood", "bonus": -5, "max_bonus": -30 }
          ]
        }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_LOTUS_ADDICTION",
    "condition": {
      "compare_num": [
        { "rand": 800 },
        "<=",
        { "u_val": "addiction_intensity", "addiction": "lotus_blossom", "mod": { "val": 800, "step": 20 } }
      ]
    },
    "effect": [
      {
        "run_eocs": {
          "id": "EOC_LOTUS_ADDICTION_SNIPPET_TYPE",
          "condition": { "not": { "u_has_effect": "sleep" } },
          "effect": [ { "u_message": "lotus_addiction", "snippet": true, "type": "warning" } ],
          "false_effect": [ { "u_message": "lotus_addiction_dream", "snippet": true, "type": "warning" } ]
        }
      }
    ]
  }
]
