[
  {
    "type": "effect_type",
    "id": "haste",
    "name": [ "Hasted" ],
    "desc": [ "Your speed is boosted enormously." ],
    "apply_message": "Your speed is boosted to superhuman levels!",
    "remove_message": "You return to your normal speed.",
    "rating": "good",
    "base_mods": { "dex_mod": [ 4 ], "speed_mod": [ 250 ] }
  },
  {
    "type": "effect_type",
    "id": "buoyant",
    "name": [ "Buoyant" ],
    "desc": [ "You are more buoyant than before.  This will make swimming much easier." ],
    "apply_message": "You feel more buoyant!",
    "remove_message": "You feel less buoyant.",
    "rating": "good",
    "max_duration": "8 h",
    "limb_score_mods": [ { "limb_score": "swim", "modifier": 2 } ],
    "flags": [ "EFFECT_LIMB_SCORE_MOD" ]
  },
  {
    "type": "effect_type",
    "id": "acidic_mist",
    "name": [ "Acidic mist" ],
    "desc": [ "The mist is burning you!" ],
    "apply_message": "The mist is burning you!",
    "rating": "bad",
    "max_duration": "30 s",
    "max_intensity": 5,
    "int_dur_factor": "5 s",
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_chance": [ 1 ],
      "hurt_chance_bot": [ 10 ],
      "pain_min": [ 1 ],
      "pain_chance": [ 1 ],
      "pain_chance_bot": [ 10 ]
    },
    "scaling_mods": { "hurt_chance": [ 1 ], "pain_chance": [ 1 ] },
    "show_in_info": true
  },
  {
    "type": "effect_type",
    "id": "vamp_blood_weave",
    "removes_effects": [ "infected", "bite", "bleed" ],
    "rating": "good",
    "apply_message": "Your wound closes up and covers over instantly."
  },
  {
    "type": "effect_type",
    "id": "xtr_str_aspirin",
    "max_duration": "4 m",
    "base_mods": {
      "pkill_tick": [ 42 ],
      "pkill_min": [ 1 ],
      "pkill_max_val": [ 15 ],
      "hurt_tick": [ 42 ],
      "hurt_min": [ -1 ],
      "hurt_max": [ -5 ]
    },
    "rating": "good",
    "blood_analysis_description": "Strange Painkiller"
  },
  {
    "type": "effect_type",
    "id": "blood_spiders",
    "name": [ "Blood Spiders" ],
    "desc": [
      "You have contracted an interdimensional disease, specifically Blood Spiders.  Symptoms can be alleviated by medication (antiparasitic)."
    ],
    "apply_memorial_log": "Caught blood spiders.",
    "remove_memorial_log": "Eradicated the spiders in their blood.",
    "apply_message": "Your veins itch…",
    "rating": "bad",
    "resist_traits": [ "PARAIMMUNE", "ACIDBLOOD" ],
    "base_mods": {
      "thirst_tick": [ 580 ],
      "thirst_min": [ 1 ],
      "fatigue_tick": [ 300 ],
      "fatigue_min": [ 1 ],
      "str_mod": [ -2, -1 ],
      "dex_mod": [ -1, 0 ],
      "per_mod": [ -1, 0 ],
      "pain_max_val": [ 30 ],
      "pain_min": [ 2, 0 ],
      "pain_chance": [ 3, 9 ],
      "health_amount": [ -2, -12 ]
    },
    "blood_analysis_description": "Unknown Hemolytic Parasite"
  },
  {
    "type": "effect_type",
    "id": "curesome",
    "removes_effects": [ "common_cold", "flu" ],
    "base_mods": { "pkill_min": [ 5 ] }
  },
  {
    "type": "effect_type",
    "id": "faewild",
    "//": "Should make the player have better perception with a worse dex but should be offset if taken with consumables that grant altered_physics.",
    "name": [ "glamoured" ],
    "desc": [ "The world is beautiful and breathtaking but maybe also terrifying." ],
    "apply_message": "Colors brighten and vision sharpens.",
    "remove_message": "The world becomes a duller place.",
    "rating": "mixed",
    "max_duration": "30 m",
    "base_mods": { "per_mod": [ 6 ], "dex_mod": [ -2 ], "speed_mod": [ -5 ] },
    "blood_analysis_description": "Cross-dimensional Narcotic, unexpected physics encountered"
  },
  {
    "type": "effect_type",
    "id": "relative_physics",
    "//": "Should improve your dex but worsen your mood.  Also should resist Hallucinating when on this.",
    "name": [ "Angled", "Canted", "Mirrored" ],
    "desc": [
      "Your vision suddenly feels as if it shifted down and to the left.",
      "You are viewing the world as if from an orchestra pit.",
      "You feel your body moves mirrored to the thoughts in your head."
    ],
    "apply_message": "You feel the universe vibrating.",
    "remove_message": "The hum in your bones subsides.",
    "decay_messages": [ [ "Your body accepts your presence once more.", "good" ], [ "A mirror cracks in the distance.", "good" ] ],
    "max_intensity": 3,
    "rating": "bad",
    "base_mods": { "dex_mod": [ 1 ], "h_mod_min": [ -1 ], "h_mod_min_val": [ 0 ], "h_mod_chance": [ 900 ] },
    "scaling_mods": { "dex_mod": [ 1 ], "h_mod_min": [ -1 ], "h_mod_min_val": [ -50 ], "h_mod_chance": [ -200 ] },
    "blood_analysis_description": "Anomalous Readings"
  },
  {
    "type": "effect_type",
    "id": "foxfire_imbibed",
    "name": [ "Foxfire", "Balefire", "St. Elmo's Fire" ],
    "desc": [
      "Your body is dimly covered in ephemeral flames.",
      "The flames sometimes obstruct your vision, yet you feel no pain from them.",
      "You body shines like a lit beacon."
    ],
    "miss_messages": [ [ "The flames distract you.", 1 ] ],
    "rating": "bad",
    "resist_traits": [ "POISRESIST", "VOMITSTOMACH" ],
    "max_intensity": 3,
    "enchantments": [
      {
        "values": [
          {
            "value": "LUMINATION",
            "add": { "arithmetic": [ { "u_val": "effect_intensity", "effect": "foxfire_imbibed" }, "*", { "const": 50 } ] }
          }
        ]
      }
    ],
    "base_mods": { "per_mod": [ -1 ], "dex_mod": [ -1 ] },
    "scaling_mods": { "per_mod": [ -1 ], "dex_mod": [ -1 ] }
  },
  {
    "type": "effect_type",
    "id": "visuals",
    "name": [ "Hallucinating" ],
    "desc": [ "You can't trust everything that you see." ],
    "rating": "bad",
    "resist_effects": [ "relative_physics" ],
    "base_mods": { "int_mod": [ -2 ], "dex_mod": [ -1 ], "per_mod": [ -4 ] },
    "blood_analysis_description": "Hallucinations"
  },
  {
    "type": "effect_type",
    "id": "creativity",
    "//": "Tracks inventors creative sparks",
    "name": [ "One Amazing Idea", "Several Inspired Tangents", "Brimming with Creativity" ],
    "desc": [
      "You have one incredibly amazing idea.  You think you should <color_yellow>research</color> it.",
      "You've got a few theories you'd like to explore.  Pick laptop, cup of coffee, and <color_yellow>research</color> it as proper scientist.",
      "Your brain can't hold any more brilliance.  To the <color_yellow>research</color> table!"
    ],
    "max_intensity": 3,
    "apply_message": "A great idea has illuminated your mind, it's probably a good time to pick up your laptop and do some calculations.",
    "rating": "good"
  },
  {
    "type": "effect_type",
    "id": "mental_exhaustion",
    "//": "Prevents you from learning new alchemy recipes.",
    "name": [ "Mental Exhaustion" ],
    "desc": [ "You have recently realized a new alchemical recipe and your thoughts are scattered." ],
    "remove_message": "Your mind feels normal enough that you could focus on new alchemy ideas once again.",
    "max_intensity": 1,
    "rating": "bad"
  },
  {
    "type": "effect_type",
    "id": "dreamer_eff",
    "name": [ "Matter Twist", "Matter Deformation", "Dimensional Shift", "Dimensional Chasm", "Reality Gateway" ],
    "desc": [
      "Sometimes the world nearby twists.  Was it you?",
      "Sometimes there is an odd noise you hear.  Sounds like a whisper.",
      "You feel someone's presences.  They are wondering.",
      "Random voices jump into your head time to time.  Most of them are friendly.",
      "You clearly feel the otherworldly presence.  They are ready to help you."
    ],
    "max_intensity": 5,
    "rating": "good"
  },
  {
    "type": "effect_type",
    "id": "hallu",
    "max_duration": "6 h",
    "resist_effects": [ "relative_physics" ],
    "blood_analysis_description": "Hallucinations"
  },
  {
    "type": "effect_type",
    "id": "night_sight",
    "name": [ "Night Sight" ],
    "desc": [ "You can see in the dark." ],
    "apply_message": "Your sight adjusts to the darkness.",
    "remove_message": "The darkness loses its shape and your eyes return to their usual hue.",
    "rating": "good",
    "flags": [ "EFFECT_LIMB_SCORE_MOD" ],
    "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 10 } ]
  },
  {
    "type": "effect_type",
    "id": "effect_dread_weight",
    "name": [ "Existential Dread" ],
    "desc": [ "Is there any point to forward movement?" ],
    "max_intensity": 4,
    "int_add_val": 1,
    "apply_message": "The air around you chills as existence loses its appeal!",
    "remove_message": "The weight is lifted from your mind and the air warms.",
    "base_mods": { "speed_mod": [ -40 ] },
    "scaling_mods": { "speed_mod": [ -10 ] }
  },
  {
    "type": "effect_type",
    "id": "blood_treatment",
    "//": "Should reduce and reverse the effects of vampire_virus.",
    "rating": "good",
    "blocks_effects": [ "vampire_virus" ],
    "blood_analysis_description": "Heightened levels of organosulfur compounds, mercury, and silver.",
    "max_duration": 8640000,
    "dur_add_perc": 25
  },
  {
    "type": "effect_type",
    "id": "blood_quenched",
    "//": "The PC has consumed more human blood than usual.  Will slow them down some but gives them more blood vitamin to cast with or to go without consuming blood for longer.",
    "name": [ "Flush", "Engorged", "Tick-like" ],
    "rating": "mixed",
    "max_intensity": 100,
    "blocks_effects": [ "vampire_virus_hunger" ],
    "blood_analysis_description": "Patient has had extensive battlefield blood transfusions.  Serious risk of bloodborne infections.",
    "base_mods": { "speed_mod": [ -10 ], "dex_mod": [ -1 ], "dodge_mod": [ -1 ] },
    "scaling_mods": { "speed_mod": [ -20 ], "dex_mod": [ -1 ], "dodge_mod": [ -1 ] }
  },
  {
    "type": "effect_type",
    "id": "cheval_overdose",
    "//": "Intensity 1 is a standard dosage of the drug.  Further intensities reflect taking pills while the first dose hasn't worn off.  It is not wise to do so.",
    "name": [ "Energized", "Enflamed", "Arrhythmic", "Tachycardiac" ],
    "apply_message": [
      [ "These magickal trucker pills have kicked in and you feel great!", "good" ],
      [
        "You shouldn't have taken this many pills.  Your skin flushes and your nerves feel like they are on fire.",
        "bad"
      ],
      [ "Your heartbeat doesn't feel normal.  Why on earth did you take more of these pills?", "bad" ],
      [
        "This might just be it, the big one.  With no hospital available you're just going to have to ride it straight through Hell.",
        "bad"
      ]
    ],
    "decay_messages": [
      [
        "These magickal trucker pills have worn off and you feel rough.  It might be best to go ahead and sleep through the hangover as best you can.",
        "bad"
      ],
      [
        "Aside from any leftover pain and damage that was done to your body by overdosing your feeling pretty good now.",
        "good"
      ],
      [ "Your heartbeat slows into a somewhat normal rhythm but your skin is still on fire.", "good" ],
      [ "The pain in your chest subsides but your heart is still beating in a concerning fashion.", "good" ]
    ],
    "max_intensity": 4,
    "blood_analysis_description": "Patient has dangerous levels of multiple chemicals in their blood.  Sedation and restraint suggested.",
    "base_mods": {
      "speed_mod": [ 10 ],
      "str_mod": [ 1 ],
      "stim_amount": [ 1 ],
      "stim_tick": [ 500 ],
      "stim_max_val": [ 50 ],
      "hurt_chance": [ 1 ],
      "hurt_tick": [ 15000 ],
      "pain_amount": [ 0 ],
      "pain_chance": [ 2 ],
      "pain_tick": [ 400 ],
      "hurt_amount": [ 1 ]
    },
    "scaling_mods": {
      "perspiration_amount": [ 6 ],
      "perspiration_min": [ 1 ],
      "perspiration_chance": [ 2 ],
      "perspiration_tick": [ 150 ],
      "pain_amount": [ 10 ],
      "pain_min": [ 1 ],
      "hurt_amount": [ 1 ],
      "pain_tick": [ -100 ],
      "hurt_tick": [ -4925 ],
      "stim_max_val": [ 400 ]
    }
  },
  {
    "type": "effect_type",
    "id": "cheval_withdrawal",
    "rating": "bad",
    "blood_analysis_description": "Patient has multiple byproducts in blood stream suggesting extended drug binge.",
    "base_mods": { "speed_mod": [ -15 ], "str_mod": [ -1 ], "stim_amount": [ -1 ], "stim_tick": [ 500 ], "stim_max_val": [ -50 ] }
  },
  {
    "type": "effect_type",
    "id": "poisoned_blood",
    "//": "Should happen if you consume blood treatments after gaining Vampire4 trait.  Currently unobtainable.",
    "name": [ "Poisoned blood" ],
    "desc": [ "You have poisoned your own blood!" ],
    "miss_messages": [ [ "You feel bad inside.", 1 ] ],
    "rating": "bad",
    "pain_sizing": true,
    "hurt_sizing": true,
    "main_parts_only": true,
    "base_mods": {
      "per_mod": [ -2, -1 ],
      "dex_mod": [ -1, -1 ],
      "str_mod": [ -2, 0 ],
      "pain_min": [ 1 ],
      "pain_chance": [ 150, 900 ],
      "hurt_min": [ 1 ],
      "hurt_chance": [ 150, 2700 ]
    },
    "show_in_info": true,
    "blood_analysis_description": "Poison"
  },
  {
    "type": "effect_type",
    "id": "poisoned_blood2",
    "//": "Should happen if you consume blood treatments after gaining Vampire5 trait.  Currently unobtainable.",
    "rating": "bad",
    "chance_kill": [ [ 1, 1 ] ],
    "chance_kill_resist": [ [ 1, 1 ] ],
    "death_msg": "Your blood turns to acid and melts through your body.",
    "death_event": "dies_from_bleeding",
    "max_duration": 86400,
    "dur_add_perc": 25
  },
  {
    "type": "effect_type",
    "id": "vampire_virus",
    "name": [ "Wan", "Reddened Eyes", "Bloodthirst" ],
    "desc": [
      "Your complexion is wan and spent.",
      "Your skin is pale and your eyes are thoroughly bloodshot.",
      "Your skin is pale and your eyes have turned dark red.  You feel a constant hunger, like the food you eat is no longer nourishing you."
    ],
    "apply_message": [
      [ "You feel the blood rushing from the wound and then a pressure that reminds you of backwash.", "bad" ],
      [ "Your iris slowly turns red from the outside in.", "bad" ],
      [ "There is an emptiness in your stomach and soul that can no longer be filled with mortal joys.", "bad" ]
    ],
    "death_msg": "You succumb to your deadly necrotic condition.",
    "apply_memorial_log": "Contracted a bloodborne pathogen out of legend.",
    "remove_memorial_log": "Rid themselves of a horrific curse of the blood.",
    "resist_traits": [ "ACIDBLOOD", "BLOOD_OF_SAINTS" ],
    "resist_effects": [ "blood_treatment" ],
    "blocks_effects": [ "cold", "flu" ],
    "max_intensity": 3,
    "//": "Each stage is intended to last 5.3 days.  I'm not sure if I've got the decay ticks correct on this.",
    "blood_analysis_description": "Unknown RNA virus is rewriting sampled blood cells.",
    "base_mods": { "speed_mod": [ -5 ] },
    "scaling_mods": { "speed_mod": [ 15 ], "str_mod": [ 1.5 ], "dodge_mod": [ 1.5 ] }
  },
  {
    "type": "effect_type",
    "id": "vampire_virus_ascendant",
    "//": "Currently unobtainable.  Needs to be player choice and significant quest/difficulty to advance to this stage. VAMPIRE4 will be gated behind this.",
    "name": [ "Terminal Porphyria" ],
    "desc": [ "Your skin is deathly white and will redden and burn when exposed to the sun." ],
    "apply_message": "You've chosen to embrace this illness and enhance your curse.",
    "death_msg": "You succumb to your deadly necrotic condition.",
    "apply_memorial_log": "Willingly left their humanity behind.",
    "resist_traits": [ "ACIDBLOOD" ],
    "resist_effects": [ "blood_treatment", "blood_quenched" ],
    "max_intensity": 1,
    "rating": "bad",
    "blood_analysis_description": "Blood sample contains numerous unidentified mutations and numerous blood sources.  Original host blood unidentifiable in the mix.",
    "base_mods": { "speed_mod": [ 20 ], "str_mod": [ 2 ], "dodge_mod": [ 2 ] }
  },
  {
    "type": "effect_type",
    "id": "vampire_virus_post_mortal",
    "//": "Currently unobtainable.  Needs to be player choice and significant quest/difficulty to advance to this stage. VAMPIRE5 will be gated behind this.",
    "name": [ "Homo sapiens homovorus" ],
    "desc": [
      "Your skin is deathly white, your eyes are solid red except for a huge pupil, the only food you can consume is human blood, and if sunlight hits you that part of your body instantly burns."
    ],
    "apply_message": "Becoming a monster is a matter of degrees until one day it isn't and you can no longer remember why morality seemed important.",
    "death_msg": "You succumb to your deadly necrotic condition.",
    "apply_memorial_log": "Terrorized the remnants of humanity til there were none left.",
    "remove_memorial_log": "Found a miracle in a world full of the dead.",
    "resist_traits": [ "ACIDBLOOD" ],
    "resist_effects": [ "blood_treatment", "blood_quenched" ],
    "max_intensity": 1,
    "rating": "bad",
    "blood_analysis_description": "Blood sample contains numerous unidentified mutations and numerous blood sources.  Original host blood unidentifiable in the mix.",
    "base_mods": { "speed_mod": [ 40 ], "str_mod": [ 4 ], "dodge_mod": [ 4 ] }
  },
  {
    "type": "effect_type",
    "id": "withering",
    "//": "This is the starving effect when the vampire hasn't consumed enough human blood.  Should take several days of not consuming blood even if not using any powers.",
    "name": [ "Sallow", "Hypomia", "Corpse-like", "Eternal Slumber" ],
    "desc": [
      "The absence of raw blood from your diet has left you wan, pale and uncomfortable.",
      "Your body is weakened and your need to feed is a constant pain in your chest.",
      "Severe blood deficiency has left you looking emaciated no matter what your weight is.",
      "One day blood may spill on your lips and wake you from your slumber, but until then you are a corpse."
    ],
    "apply_message": "Most of your thoughts now revolve around blood, how good it tastes and where you might find it.",
    "remove_message": "Your blood lust is slaked.",
    "decay_messages": [
      [ "You've almost consumed enough blood to feel normal again.", "good" ],
      [ "More blood and you'll start to feel even better.", "good" ]
    ],
    "max_intensity": 4,
    "rating": "bad",
    "chance_kill": [ [ -1, 1 ], [ -1, 1 ], [ -1, 1 ], [ 1, 100 ] ],
    "chance_kill_resist": [ [ -1, 1 ], [ -1, 1 ], [ -1, 1 ], [ 1, 2000000 ] ],
    "base_mods": {
      "str_mod": [ -1 ],
      "stamina_min": [ -100 ],
      "stamina_max": [ -200 ],
      "stamina_chance": [ 9000 ],
      "fatigue_min": [ 10 ],
      "fatigue_max": [ 20 ],
      "fatigue_chance": [ 9000 ],
      "h_mod_min": [ -1 ],
      "h_mod_min_val": [ 0 ],
      "h_mod_chance": [ 9000 ]
    },
    "scaling_mods": {
      "str_mod": [ -2 ],
      "stamina_max": [ -500 ],
      "fatigue_max": [ 20 ],
      "stamina_chance": [ -300 ],
      "fatigue_chance": [ -300 ],
      "h_mod_min": [ -1 ],
      "h_mod_min_val": [ -50 ],
      "h_mod_chance": [ -200 ]
    },
    "blood_analysis_description": "Severe Progressive Anemic Autophagy"
  },
  {
    "type": "effect_type",
    "id": "eyegleam",
    "name": [ "Eye gleam" ],
    "desc": [ "You can see in the dark." ],
    "apply_message": "Your sight adjusts to the darkness.",
    "remove_message": "The darkness loses its shape.",
    "rating": "good",
    "flags": [ "NIGHT_VISION" ]
  },
  {
    "type": "effect_type",
    "id": "blood_weave",
    "name": [ "Blood Weave" ],
    "desc": [ "Immunity to bleeding and bites, increased stamina regeneration, increased hunger and thirst gain." ],
    "remove_message": "The tension running through your flesh fades.",
    "blocks_effects": [ "bleed", "bite" ],
    "rating": "good",
    "max_duration": "5 m",
    "base_mods": {
      "hunger_min": [ 1 ],
      "hunger_chance": [ 12 ],
      "thirst_min": [ 1 ],
      "thirst_chance": [ 12 ],
      "health_min": [ 1 ],
      "health_chance": [ 4 ],
      "stamina_min": [ 40 ],
      "stamina_chance": [ 2 ]
    }
  },
  {
    "id": "eater_lump_pool",
    "type": "effect_type",
    "name": [ "Dream Gorging" ],
    "desc": [
      "You ate a whole dreamdross ingot.  It is too much for your body, but for a while you are much <color_green>stronger</color>, and <color_green>recover from traumas</color> faster."
    ],
    "apply_message": "A huge warm wave moves from your stomach through your body.",
    "remove_message": "The warm feeling fades away.",
    "rating": "good",
    "show_intensity": false,
    "enchantments": [ { "values": [ { "value": "STRENGTH", "add": 6 }, { "value": "REGEN_HP", "multiply": 1 } ] } ]
  },
  {
    "type": "effect_type",
    "id": "blind_rage",
    "name": [ "Blind Rage" ],
    "desc": [ "Perfect hatred" ],
    "//": "Must limit the player's sight to 2-3 tiles (maybe real blind would be cool, but I don't really think it's a good idea (and also I don't know how it interacts with melee (and also the effect is pretty weak for total blindness))), but it's hardcoded atm",
    "apply_message": "AAAAARGH!!",
    "flags": [ "EFFECT_LIMB_SCORE_MOD" ],
    "limb_score_mods": [ { "limb_score": "vision", "modifier": 0.1 }, { "limb_score": "night_vis", "modifier": 0.1 } ],
    "base_mods": { "str_mod": [ 6 ], "dex_mod": [ 6 ], "per_mod": [ -8 ] }
  },
  {
    "type": "effect_type",
    "id": "spell_stamina_eff",
    "name": [ "Circulatory" ],
    "desc": [ "You can't run out of <color_green>breath</color>." ],
    "apply_message": "You feel a deep energy in your muscles, exuberant and coiled.",
    "remove_message": "The energy in your body fades away.",
    "rating": "good",
    "//": "+0.2x smamina regen for each level",
    "enchantments": [
      { "values": [ { "value": "REGEN_STAMINA", "multiply": { "math": [ "u_spell_level('spell_stamina_wonder') / 5" ] } } ] }
    ]
  },
  {
    "id": "effect_dodge",
    "type": "effect_type",
    "name": [ "Dodge" ],
    "desc": [ "<color_green>Shun</color> their attacks." ],
    "apply_message": "Your reaction speed is increased.",
    "remove_message": "Your reaction speed turns back to normal.",
    "rating": "good",
    "show_intensity": false,
    "//": "+1 dodge initially, +1 each 6 levels",
    "enchantments": [ { "values": [ { "value": "BONUS_DODGE", "add": { "math": [ "(u_spell_level('spell_dodge') / 6 ) + 1" ] } } ] } ]
  },
  {
    "id": "effect_endurance",
    "type": "effect_type",
    "name": [ "Endurance" ],
    "desc": [ "Take the blows.  <color_red>Don’t let the world kill you</color>.  Your skin can stop a few attacks." ],
    "apply_message": "Your sense of touch is blunted for a bit, but your skin feels more dense.",
    "remove_message": "The sturdy feeling is gone.",
    "rating": "good",
    "show_intensity": false,
    "//": "+1 armor for each lvl",
    "enchantments": [
      {
        "values": [
          { "value": "ARMOR_BASH", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_CUT", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_STAB", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_BULLET", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_ACID", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_BIO", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_COLD", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_ELEC", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } },
          { "value": "ARMOR_HEAT", "add": { "math": [ "-1 * u_spell_level('spell_endurance')" ] } }
        ]
      }
    ]
  },
  {
    "id": "spell_melee_damage",
    "type": "effect_type",
    "name": [ "Physical Instrument" ],
    "desc": [
      "Your body is a tool of destruction.  <color_red>Use it effectively</color>.  Your attacks are faster and deadlier, and your dodging ability is better."
    ],
    "apply_message": "You can feel a bubbling energy in your muscles.",
    "remove_message": "The feelings in your muscles subside.",
    "rating": "good",
    "show_intensity": false,
    "//": "+2 atk speed for each level, +1 dodge each 10 levels, +5% melee damage every level",
    "enchantments": [
      {
        "values": [
          { "value": "ATTACK_SPEED", "add": { "math": [ "u_spell_level('spell_melee_damage') * 2" ] } },
          { "value": "BONUS_DODGE", "add": { "math": [ "u_spell_level('spell_melee_damage') / 10" ] } },
          { "value": "MELEE_DAMAGE", "multiply": { "math": [ "u_spell_level('spell_melee_damage') / 20" ] } }
        ]
      }
    ]
  },
  {
    "type": "effect_type",
    "id": "spell_speed_eff",
    "name": [ "Rush" ],
    "desc": [ "A burst of <color_green>speed</color>." ],
    "apply_message": "You feel your legs are much longer now.",
    "remove_message": "Your body shrinks back into its normal space.",
    "rating": "good",
    "show_intensity": false,
    "//": "+5 speed for each level",
    "enchantments": [ { "values": [ { "value": "SPEED", "add": { "math": [ "u_spell_level('spell_speed_wonder') * 5" ] } } ] } ]
  },
  {
    "id": "effect_weakening",
    "type": "effect_type",
    "name": [ "Weakness" ],
    "desc": [ "Your body is slow." ],
    "rating": "bad",
    "show_intensity": false,
    "max_intensity": 2,
    "int_add_val": 1,
    "//": "The original idea was to make an enchantment, that adds ARMOR_BASH enchantment value, so monsters will take more damage when you attack them, but sadly enchantments now works only with player's avatar, and not with monsters.  So now it's a boring slowdown.",
    "base_mods": { "speed_mod": [ -33 ] },
    "scaling_mods": { "speed_mod": [ -33 ] }
  },
  {
    "type": "effect_type",
    "id": "spell_unbreakable_eff",
    "name": [ "" ],
    "desc": [ "" ],
    "apply_message": "You are the only who can control your body now.",
    "remove_message": "External forces apply to your body again.",
    "blocks_effects": [ "grabbed" ],
    "rating": "good",
    "enchantments": [ { "mutations": [ "eater_unbreakable" ] } ]
  },
  {
    "type": "effect_type",
    "id": "mutagen_earthkin",
    "name": [ "Ierde Mutation", "Ierde Transformation", "Ierde Metamorphosis" ],
    "desc": [
      "You consumed Ierde destiny draught.",
      "You consumed a large amount of Ierde destiny draught.",
      "You consumed a life-changing amount of Ierde destiny draught."
    ],
    "max_intensity": 3,
    "resist_traits": [ "THRESH_IERDE" ],
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 2 ],
      "hurt_chance": [ -22 ],
      "hurt_tick": [ 75 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 100 ],
      "pain_tick": [ 75 ]
    },
    "scaling_mods": { "hurt_chance": [ 21, 0 ], "pain_chance": [ -30 ] },
    "rating": "bad",
    "blood_analysis_description": "Anomalous silicon content in blood sample"
  },
  {
    "id": "eater_unbreakable",
    "type": "mutation",
    "name": { "str": "Unbreakable" },
    "points": 0,
    "starting_trait": false,
    "purifiable": false,
    "valid": false,
    "description": "<color_green>Nothing can slow you down</color>, and your <color_red>pain</color> sensations are dull.",
    "enchantments": [ { "values": [ { "value": "PAIN", "multiply": -1 } ] } ],
    "flags": [ "STEADY" ]
  },
  {
    "type": "effect_type",
    "id": "wicked_quick_hands",
    "name": [ "Wicked Quick Hands" ],
    "desc": [ "Your hands move wicked quick!" ],
    "apply_message": "Your reflexes are heightened!",
    "remove_message": "Your reflexes return to normal.",
    "rating": "good",
    "removes_effects": [ "terrible_strength" ],
    "base_mods": { "dex_mod": [ 4 ] }
  },
  {
    "type": "effect_type",
    "id": "terrible_strength",
    "name": [ "Terrible Strength" ],
    "desc": [ "You have a terrible strength!" ],
    "apply_message": "You feel strong!",
    "remove_message": "Your strength deflates.",
    "rating": "good",
    "removes_effects": [ "wicked_quick_hands" ],
    "base_mods": { "str_mod": [ 4 ] }
  },
  {
    "id": "bleed_karma",
    "type": "effect_type",
    "name": [ "" ],
    "desc": [ "" ],
    "//": "Just to make karma arms drop a proper liquid when damaged",
    "show_intensity": false,
    "show_in_info": false,
    "enchantments": [ { "emitter": "emit_blood_karma" } ]
  },
  {
    "type": "effect_type",
    "id": "natures_commune",
    "name": [ "Commune with Nature" ],
    "desc": [ "You are in tune with the natural world, drawing strength from it and calming natural animals." ],
    "apply_message": "You can feel the lifeblood of nature all around, welcoming you as kin.",
    "remove_message": "Your communion with nature fades.",
    "rating": "good",
    "max_duration": "360 m",
    "dur_add_perc": 5,
    "base_mods": { "health_min": [ 1 ], "health_chance": [ 50 ], "h_mod_min": [ 1 ], "h_mod_chance": [ 100 ], "health_tick": [ 60 ] }
  },
  {
    "type": "effect_type",
    "id": "effect_hungry_roots",
    "name": [ "Hungry Thirsty Roots" ],
    "desc": [ "Roots and vines clutch at you." ],
    "max_intensity": 4,
    "int_add_val": 1,
    "apply_message": "Roots and vines entangle your foes to slow them!",
    "remove_message": "The roots and vines wither up and die.",
    "base_mods": { "speed_mod": [ -30 ] },
    "scaling_mods": { "speed_mod": [ -5 ] },
    "flags": [ "EFFECT_IMPEDING" ]
  },
  {
    "type": "effect_type",
    "id": "arvore_verdant_infusion",
    "name": [ "Verdant Infusion" ],
    "desc": [ "You are filled with the vitality of nature." ],
    "apply_message": "You can feel the power of nature flowing through you.",
    "remove_message": "The power of nature fades from you.",
    "rating": "good",
    "max_duration": "12 h",
    "base_mods": {
      "str_mod": [ 1 ],
      "health_min": [ 1 ],
      "health_chance": [ 30 ],
      "h_mod_min": [ 1 ],
      "h_mod_chance": [ 80 ],
      "health_tick": [ 30 ],
      "healing_rate": [ 2 ]
    }
  },
  {
    "type": "effect_type",
    "id": "effect_arvore_tree_immobility",
    "name": [ "Rooted" ],
    "desc": [ "Your roots sink into the ground and you are nearly immobile." ],
    "apply_message": "",
    "remove_message": "",
    "rating": "mixed",
    "max_intensity": 100000,
    "show_intensity": false,
    "limb_score_mods": [ { "limb_score": "lift", "modifier": 0.51 }, { "limb_score": "grip", "modifier": 0.25 } ],
    "flags": [ "EFFECT_LIMB_SCORE_MOD", "EFFECT_IMPEDING" ]
  },
  {
    "type": "effect_type",
    "id": "arvore_perennial_rebirth_cooldown",
    "name": [ "Reborn" ],
    "desc": [ "Your were reborn and your soul and new body are still finding their balance." ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_levitation",
    "name": [ "Smoke-Walking" ],
    "desc": [ "You are walking through the air." ],
    "apply_message": "",
    "remove_message": "Your feet touch the ground once again.",
    "rating": "good",
    "flags": [ "LEVITATION" ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_featherfall",
    "name": [ "" ],
    "desc": [ "" ],
    "//": "Empty name and description to hide effect",
    "rating": "good",
    "flags": [ "FEATHER_FALL" ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_smoke_immunity",
    "name": [ "" ],
    "desc": [ "" ],
    "//": "Empty name and description to hide effect",
    "rating": "good",
    "removes_effects": [ "smoke_eyes", "smoke_lungs", "teargas" ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_remove_stun",
    "name": [ "" ],
    "desc": [ "" ],
    "//": "Empty name and description to hide effect",
    "rating": "good",
    "removes_effects": [ "stunned", "dazed", "downed" ]
  },
  {
    "type": "effect_type",
    "id": "effect_flame_immunity",
    "name": [ "Flame Immunity" ],
    "desc": [ "You are immune to heat and fire." ],
    "rating": "good",
    "show_in_info": true,
    "removes_effects": [ "onfire", "blisters" ],
    "enchantments": [ { "values": [ { "value": "CLIMATE_CONTROL_CHILL", "add": 1000 }, { "value": "ARMOR_HEAT", "add": -1000 } ] } ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_cure_conditions",
    "name": [ "Burning" ],
    "desc": [ "Your impurities are being seared away!" ],
    "rating": "mixed",
    "removes_effects": [
      "fungus",
      "dermatik",
      "bloodworms",
      "paincysts",
      "brainworms",
      "tapeworm",
      "blind",
      "poison",
      "venom_dmg",
      "venom_weaken",
      "stung",
      "badpoison",
      "foodpoison",
      "paralyzepoison",
      "tetanus",
      "rat_bite_fever",
      "infected",
      "asthma",
      "common_cold",
      "flu"
    ],
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 1 ],
      "hurt_chance": [ 2 ],
      "hurt_tick": [ 1 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 3 ],
      "pain_tick": [ 1 ]
    }
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_burning_damage",
    "name": [ "" ],
    "desc": [ "" ],
    "rating": "bad",
    "//": "Name and description empty to hide effect",
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 1 ],
      "hurt_chance": [ 2 ],
      "hurt_tick": [ 1 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 3 ],
      "pain_tick": [ 1 ]
    }
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_berserk_stance",
    "name": [ "Wildfire Soul" ],
    "desc": [ "You are filled with transcendent flame." ],
    "apply_message": "All of your weakness boils away in the heat of the flames!",
    "remove_message": "As the heat leaves you, pain rushes in to take its place.",
    "rating": "good",
    "base_mods": { "str_mod": [ 3 ], "dex_mod": [ 3 ], "speed_mod": [ 20 ] },
    "flags": [ "PAIN_IMMUNE" ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_increase_speed",
    "name": [ "Inner Spark" ],
    "desc": [ "Your speed is magically increased." ],
    "apply_message": "You are filled with burning vigor.",
    "remove_message": "Your movements gradually slow.",
    "rating": "good",
    "enchantments": [
      {
        "values": [
          {
            "value": "SPEED",
            "add": {
              "math": [ "( ( 5 + ( u_spell_level('salamander_increase_speed_spell') * 1.5 ) ) ) * (scaling_factor(u_val('strength') ) )" ]
            }
          }
        ]
      }
    ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_emit_heat",
    "name": [ "Burning Furnace" ],
    "desc": [ "You are throwing off a large amount of heat." ],
    "apply_message": "The air around you heats up.",
    "remove_message": "The air around you cools down.",
    "rating": "good",
    "enchantments": [ { "emitter": "emit_salamander_heat" } ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_prevented_death",
    "name": [ "Arisen" ],
    "desc": [ "Like the phoenix, you have been reborn." ]
  },
  {
    "type": "effect_type",
    "id": "effect_salamander_smoke_form",
    "name": [ "Smoke Form" ],
    "desc": [ "You have transformed yourself into a cloud of smoke." ],
    "apply_message": "Your body falls apart into billowing smoke!",
    "remove_message": "You reconstruct yourself from the smoke.",
    "rating": "good",
    "removes_effects": [ "smoke_eyes", "smoke_lungs", "teargas" ],
    "enchantments": [
      { "emitter": "emit_smoke_blast" },
      { "values": [ { "value": "MELEE_DAMAGE", "multiply": -1.0 }, { "value": "RANGED_DAMAGE", "multiply": -1.0 } ] }
    ],
    "flags": [
      "INVISIBLE",
      "CLIMB_NO_LADDER",
      "LEVITATION",
      "DEAF",
      "FEATHER_FALL",
      "NO_SCENT",
      "NO_SPELLCASTING",
      "STAB_IMMUNE",
      "CUT_IMMUNE",
      "BULLET_IMMUNE",
      "BASH_IMMUNE",
      "ACID_IMMUNE",
      "BIO_IMMUNE"
    ],
    "//": "Deliberately vulnerable to electricity damage."
  },
  {
    "type": "effect_type",
    "id": "effect_paraclesian_dodge_bonus_1",
    "name": [ "Enhanced Dodging" ],
    "desc": [ "Like the whistling wind or the supple willow, you can easily move when danger beckons." ],
    "apply_message": "",
    "remove_message": "Your enhanced dodging ability fades away.",
    "rating": "good",
    "base_mods": { "dodge_mod": [ 1 ] },
    "enchantments": [
      {
        "values": [
          {
            "value": "BONUS_DODGE",
            "add": {
              "math": [ "( ( 1 + ( u_spell_level('paraclesian_spell_dodge_bonus') / 10 ) ) ) * (scaling_factor(u_val('perception') ) )" ]
            }
          }
        ]
      }
    ]
  },
  {
    "type": "effect_type",
    "id": "effect_paraclesian_dodge_bonus_2",
    "name": [ "Enhanced Dodging" ],
    "desc": [ "Like the whistling wind or the supple willow, you can easily move when danger beckons." ],
    "apply_message": "",
    "remove_message": "Your enhanced dodging ability fades away.",
    "rating": "good",
    "base_mods": { "dodge_mod": [ 2 ] },
    "enchantments": [
      {
        "values": [
          {
            "value": "BONUS_DODGE",
            "add": {
              "math": [ "( ( 1 + ( u_spell_level('paraclesian_spell_dodge_bonus') / 10 ) ) ) * (scaling_factor(u_val('perception') ) )" ]
            }
          }
        ]
      }
    ],
    "flags": [ "UNCANNY_DODGE" ]
  },
  {
    "type": "effect_type",
    "id": "effect_paraclesian_dodge_bonus_3",
    "name": [ "Enhanced Dodging" ],
    "desc": [ "Like the whistling wind or the supple willow, you can easily move when danger beckons." ],
    "apply_message": "",
    "remove_message": "Your enhanced dodging ability fades away.",
    "rating": "good",
    "base_mods": { "dodge_mod": [ 3 ] },
    "enchantments": [
      {
        "values": [
          {
            "value": "BONUS_DODGE",
            "add": {
              "math": [ "( ( 1 + ( u_spell_level('paraclesian_spell_dodge_bonus') / 10 ) ) ) * (scaling_factor(u_val('perception') ) )" ]
            }
          }
        ]
      }
    ],
    "flags": [ "UNCANNY_DODGE", "HARDTOHIT" ]
  },
  {
    "type": "effect_type",
    "id": "effect_paraclesian_learned_gossamer",
    "name": [ "" ],
    "desc": [ "" ],
    "//": "Empty name and description to hide effect.  This is just a tracker to make learning gossamer recipes take time.",
    "rating": "mixed"
  },
  {
    "type": "effect_type",
    "id": "mutagen_plantkin",
    "name": [ "Arvore Mutation", "Arvore Transformation", "Arvore Metamorphosis" ],
    "desc": [
      "You consumed Arvore destiny draught.",
      "You consumed a large amount of Arvore destiny draught.",
      "You consumed a life-changing amount of Arvore destiny draught."
    ],
    "max_intensity": 3,
    "resist_traits": [ "THRESH_ARVORE" ],
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 2 ],
      "hurt_chance": [ -22 ],
      "hurt_tick": [ 75 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 100 ],
      "pain_tick": [ 75 ]
    },
    "scaling_mods": { "hurt_chance": [ 21, 0 ], "pain_chance": [ -30 ] },
    "rating": "bad",
    "blood_analysis_description": "Anomalous chlorophyll content in blood sample"
  },
  {
    "type": "effect_type",
    "id": "mutagen_waterkin",
    "name": [ "Undine Mutation", "Undine Transformation", "Undine Metamorphosis" ],
    "desc": [
      "You consumed Undine destiny draught.",
      "You consumed a large amount of Undine destiny draught.",
      "You consumed a life-changing amount of Undine destiny draught."
    ],
    "max_intensity": 3,
    "resist_traits": [ "THRESH_UNDINE" ],
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 2 ],
      "hurt_chance": [ -22 ],
      "hurt_tick": [ 75 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 100 ],
      "pain_tick": [ 75 ]
    },
    "scaling_mods": { "hurt_chance": [ 21, 0 ], "pain_chance": [ -30 ] },
    "rating": "bad",
    "blood_analysis_description": "Excessive water content in blood sample"
  },
  {
    "type": "effect_type",
    "id": "mutagen_flamekin",
    "name": [ "Salamander Mutation", "Salamander Transformation", "Salamander Metamorphosis" ],
    "desc": [
      "You consumed Salamander destiny draught.",
      "You consumed a large amount of Salamander destiny draught.",
      "You consumed a life-changing amount of Salamander destiny draught."
    ],
    "max_intensity": 3,
    "resist_traits": [ "THRESH_SALAMANDER" ],
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 2 ],
      "hurt_chance": [ -22 ],
      "hurt_tick": [ 75 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 100 ],
      "pain_tick": [ 75 ]
    },
    "scaling_mods": { "hurt_chance": [ 21, 0 ], "pain_chance": [ -30 ] },
    "rating": "bad",
    "blood_analysis_description": "Blood sample displays unnatural heat generation"
  },
  {
    "type": "effect_type",
    "id": "mutagen_dollkin",
    "name": [ "Homullus Mutation", "Homullus Transformation", "Homullus Metamorphosis" ],
    "desc": [
      "You consumed Homullus destiny draught.",
      "You consumed a large amount of Homullus destiny draught.",
      "You consumed a life-changing amount of Homullus destiny draught."
    ],
    "max_intensity": 3,
    "resist_traits": [ "THRESH_HOMULLUS" ],
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 2 ],
      "hurt_chance": [ -22 ],
      "hurt_tick": [ 75 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 100 ],
      "pain_tick": [ 75 ]
    },
    "scaling_mods": { "hurt_chance": [ 21, 0 ], "pain_chance": [ -30 ] },
    "rating": "bad",
    "blood_analysis_description": "Inert elements providing some functions of blood"
  },
  {
    "type": "effect_type",
    "id": "mutagen_airkin",
    "name": [ "Sylph Mutation", "Sylph Transformation", "Sylph Metamorphosis" ],
    "desc": [
      "You consumed Sylph destiny draught.",
      "You consumed a large amount of Sylph destiny draught.",
      "You consumed a life-changing amount of Sylph destiny draught."
    ],
    "max_intensity": 3,
    "resist_traits": [ "THRESH_SYLPH" ],
    "base_mods": {
      "hurt_min": [ 1 ],
      "hurt_max": [ 2 ],
      "hurt_chance": [ -22 ],
      "hurt_tick": [ 75 ],
      "pain_min": [ 1 ],
      "pain_max": [ 2 ],
      "pain_chance": [ 100 ],
      "pain_tick": [ 75 ]
    },
    "scaling_mods": { "hurt_chance": [ 21, 0 ], "pain_chance": [ -30 ] },
    "rating": "bad",
    "blood_analysis_description": "Dangerous levels of oxygen and nitrogen in blood sample"
  }
]
