[
  {
    "type": "mutation",
    "id": "IERDE_SKIN_1",
    "name": { "str": "Clay of the Earth" },
    "points": 0,
    "visibility": 2,
    "ugliness": 0,
    "description": "Your skin has turned the color of manganese stained soil.  Your skin is now a purplish black.  This has no gameplay effects.",
    "types": [ "skin_tone" ],
    "leads_to": [ "IERDE_SKIN_2" ],
    "category": [ "IERDE", "FAIR_FOLK_COMMONER_TROW" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_SKIN_2",
    "name": { "str": "Pebbled Skin" },
    "points": 2,
    "visibility": 4,
    "ugliness": 3,
    "description": "Your skin has toughened and formed pebble-like growths in some places, acting as natural armor.  Somewhat reduces wet effects.",
    "types": [ "SKIN" ],
    "category": [ "IERDE", "FAIR_FOLK_COMMONER_TROW" ],
    "prereqs": [ "IERDE_SKIN_1" ],
    "changes_to": [ "IERDE_SKIN_3" ],
    "wet_protection": [
      { "part": "head", "ignored": 2 },
      { "part": "leg_l", "ignored": 5 },
      { "part": "leg_r", "ignored": 5 },
      { "part": "foot_l", "ignored": 2 },
      { "part": "foot_r", "ignored": 2 },
      { "part": "arm_l", "ignored": 4 },
      { "part": "arm_r", "ignored": 4 },
      { "part": "hand_l", "ignored": 1 },
      { "part": "hand_r", "ignored": 1 },
      { "part": "torso", "ignored": 6 }
    ],
    "integrated_armor": [ "integrated_pebbled" ],
    "enchantments": [ { "values": [ { "value": "WEIGHT", "multiply": 0.15 } ] } ],
    "flags": [ "TOUGH_FEET", "BARKY" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_SKIN_3",
    "name": { "str": "Stone Skin" },
    "points": 3,
    "visibility": 10,
    "ugliness": 4,
    "mixed_effect": true,
    "description": "Your skin has developed into strong granite-like covering that retains some flexibility and has grown to cover most of your body, acting as natural armor.  While difficult to penetrate, it also limits your flexibility.  Greatly reduces wet effects.",
    "types": [ "skin_tone" ],
    "prereqs": [ "IERDE_SKIN_2" ],
    "threshreq": [ "THRESH_IERDE" ],
    "category": [ "IERDE" ],
    "wet_protection": [
      { "part": "head", "ignored": 5 },
      { "part": "leg_l", "ignored": 16 },
      { "part": "leg_r", "ignored": 16 },
      { "part": "foot_l", "ignored": 5 },
      { "part": "foot_r", "ignored": 5 },
      { "part": "arm_l", "ignored": 14 },
      { "part": "arm_r", "ignored": 14 },
      { "part": "hand_l", "ignored": 4 },
      { "part": "hand_r", "ignored": 4 },
      { "part": "torso", "ignored": 30 }
    ],
    "integrated_armor": [ "integrated_granite_skin" ],
    "enchantments": [ { "values": [ { "value": "WEIGHT", "multiply": 0.35 } ] } ],
    "flags": [ "TOUGH_FEET", "BARKY" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_EYES",
    "name": { "str": "Ierde Eyes" },
    "points": 1,
    "visibility": 2,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde's eyes begin reflecting their mood: a pale white streaked with rose when happy; pale green or grey when calm, and pure obsidian black when angry.  Glare no longer impacts them and they are not bothered by light levels when sleeping.",
    "category": [ "IERDE" ],
    "integrated_armor": [ "integrated_ierde_eyes" ],
    "flags": [ "SEESLEEP" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_EARS",
    "name": { "str": "Ierde Ears" },
    "points": 1,
    "visibility": 2,
    "ugliness": 0,
    "description": "The Ierde's ears are longer and pointed, like the peak of a high mountain.  They can hear slightly better and are unphased by loud sounds.",
    "category": [ "IERDE" ],
    "enchantments": [ { "values": [ { "value": "HEARING_MULT", "multiply": 0.3 } ] } ],
    "flags": [ "IMMUNE_HEARING_DAMAGE" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STONE_FISTS",
    "name": { "str": "Fists of Stone" },
    "points": 4,
    "visibility": 0,
    "ugliness": 0,
    "description": "The Ierde's stony skin makes their fists hit like hammers.  Though their attacks are slower, the Ierde does more bashing damage with punches and can use their hands to replace some simple tools.",
    "types": [ "CLAWS" ],
    "prereqs": [ "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "category": [ "IERDE" ],
    "integrated_armor": [ "integrated_ierde_fists" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STRONG_EQUIPMENT",
    "name": { "str": "Stone-Hardened Panoply" },
    "points": 6,
    "visibility": 0,
    "ugliness": 0,
    "description": "Just as their body is now one with the stone, the Ierde can infuse the strength of the earth into their equipment, rendering it more resilient.  While on natural earth or stone or underground, the Ierde's equipment is twice as difficult to damage.",
    "prereqs": [ "IERDE_STONE_FISTS" ],
    "category": [ "IERDE" ],
    "enchantments": [
      {
        "condition": { "test_eoc": "EOC_CONDITION_CHECK_IERDE_ON_NATURAL_EARTH_OR_UNDERGROUND" },
        "values": [ { "value": "EQUIPMENT_DAMAGE_CHANCE", "multiply": -0.5 } ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "IERDE_NO_SLEEP_MEDITATE",
    "name": { "str": "Unsleeping Earth Vigil" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to, while underground, rest and recover energy as though sleeping.  Activate to begin the vigil.",
    "prereqs": [ "IERDE_EYES" ],
    "category": [ "IERDE" ],
    "activated_is_setup": false,
    "active": true,
    "activated_eocs": [ "EOC_IERDE_NO_SLEEP_MEDITATE_activate" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_DETECT_NEARBY_MONSTERS_EARTH",
    "name": { "str": "The Soil Knows Those Who Tread Upon It" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to sense the movements of nearby creatures, as long as they maintains contact with natural earth or stone, or are underground.",
    "prereqs": [ "IERDE_EYES" ],
    "prereqs2": [ "IERDE_EARS" ],
    "category": [ "IERDE" ],
    "activated_is_setup": true,
    "active": true,
    "activated_eocs": [ "EOC_IERDE_DETECT_NEARBY_MONSTERS_EARTH_ON" ],
    "deactivated_eocs": [ "EOC_IERDE_DETECT_NEARBY_MONSTERS_EARTH_OFF" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_CRAFT_IN_DARKNESS",
    "name": { "str": "Sense the Smallest Tremor" },
    "points": 3,
    "description": "The Ierde's ability to sense small movements is heightened to such a degree that with small movements of their fingers, they can sense the exact shape and position of objects nearby.  They can craft in darkness, as long as \"The Soil Knows Those Who Tread Upon It\" is active.",
    "prereqs": [ "IERDE_DETECT_NEARBY_MONSTERS_EARTH" ],
    "category": [ "IERDE" ],
    "enchantments": [
      {
        "condition": { "u_has_effect": "effect_ierde_sense_nearby_monsters" },
        "ench_effects": [ { "effect": "effect_ierde_craft_in_darkness", "intensity": 1 } ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "IERDE_SMASHING_PUNCH",
    "name": { "str": "Avalanche Blow" },
    "points": 3,
    "description": "With a brief moment to stabilize themselves, the Ierde strikes a wall, door, or other terrain feature with the force of a falling boulder, doing many times their normal damage.",
    "category": [ "IERDE" ],
    "activated_is_setup": false,
    "active": true,
    "activated_eocs": [ "EOC_IERDE_SMASHING_PUNCH_activated" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STOMP_GROUND_SMASH",
    "name": { "str": "Earthquake Stomp" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to stomp on the ground and cause a minor local earthquake.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_NO_KNOCKBACK" ],
    "prereqs2": [ "IERDE_SMASHING_PUNCH" ],
    "spells_learned": [ [ "ierde_stomp_ground_smash_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_KNOCKBACK_PUNCH",
    "name": { "str": "Mountain-Toppling Punch" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to strike an enemy with a blow that does extra damage and knocks them backwards.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_SMASHING_PUNCH" ],
    "spells_learned": [ [ "ierde_knockback_punch_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_REVEAL_EARTH_MAP",
    "name": { "str": "Knowing Every Furrow" },
    "points": 6,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to learn the terrain layout in a large area around themselves.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_PER_BONUS" ],
    "spells_learned": [ [ "ierde_reveal_earth_map_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_CREATE_PITS",
    "name": { "str": "Earthen Grasp" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to create large pits on diggable ground, dumping their enemies into them.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_RESHAPE_THE_EARTH" ],
    "spells_learned": [ [ "ierde_create_pits_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_SLOW_ENEMIES",
    "name": { "str": "Rigidity of Stone" },
    "points": 4,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde may infuse the rigidity of stone into their enemies, slowing their movements.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_RESHAPE_THE_EARTH" ],
    "spells_learned": [ [ "ierde_slow_enemies_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_RESHAPE_THE_EARTH",
    "name": { "str": "Reshape the Living Earth" },
    "points": 4,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde may reshape the earth, raising or lowering earth or stone or turning the one into the other.",
    "category": [ "IERDE" ],
    "spells_learned": [ [ "ierde_reshape_the_earth_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_SUMMON_EARTH_ELEMENTAL",
    "name": { "str": "Calling the Children of the Stones" },
    "points": 0,
    "visibility": 0,
    "ugliness": 0,
    "description": "Allows the Ierde to summon a minor earth elemental to support them in the world for a short time.",
    "category": [ "IERDE" ],
    "spells_learned": [ [ "ierde_summon_earth_spirit", 1 ] ],
    "//": "Eventually add further spells in this area with more powerful elementals."
  },
  {
    "type": "mutation",
    "id": "IERDE_IRON_ARMOR",
    "name": { "str": "Invulnerable Iron Skin" },
    "points": 4,
    "visibility": 0,
    "ugliness": 0,
    "description": "Stone endures but armor is made of metal.  While standing on natural earth or stone, the Ierde can infuse their skin with metal, slowing their movement and encumbering them but rendering them much harder to damage.",
    "prereqs": [ "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "category": [ "IERDE" ],
    "spells_learned": [ [ "ierde_iron_armor_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_EARTH_SHIELD",
    "name": { "str": "Impenetrable Earthen Shield" },
    "points": 6,
    "visibility": 0,
    "ugliness": 0,
    "description": "While standing on natural earth or stone, the Ierde can summon up an earthen shield to protect themselves.  They will be invulnerable until the shield breaks.",
    "prereqs": [ "IERDE_IRON_ARMOR" ],
    "category": [ "IERDE" ],
    "spells_learned": [ [ "ierde_earthen_shield_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_BUFF_ARMOR_ALLIES",
    "name": { "str": "Skin of the Mountains" },
    "points": 6,
    "visibility": 0,
    "ugliness": 0,
    "description": "When gaining this ability, the Ierde gains the ability to infuse the resilience of the earth into one of their allies.",
    "prereqs": [ "IERDE_IRON_ARMOR" ],
    "prereqs2": [ "IERDE_STRONG_EQUIPMENT" ],
    "category": [ "IERDE" ],
    "spells_learned": [ [ "ierde_buff_armor_allies_spell", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_NO_SCENT_AND_IRON",
    "name": {
      "//~": "The name is a reference to Chapter 63 of Bleak House by Charles Dickens",
      "str": "An Iron Taste and an Iron Smell"
    },
    "points": 5,
    "visibility": 0,
    "ugliness": 0,
    "description": "The Ierde has taken the essence of iron into themselves.  They no longer smell anything like a human, smelling only like a faint whiff of iron if they have any scent at all, and can produce all their iron their body needs themselves.",
    "prereqs": [ "IERDE_IRON_ARMOR" ],
    "category": [ "IERDE" ],
    "vitamin_rates": [ [ "iron", -1200 ] ],
    "flags": [ "NO_SCENT" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_CARDIO",
    "name": { "str": "Tireless Strength of the Earth" },
    "points": 2,
    "description": "The Ierde can draw on the boundless strength of the earth, increasing their stamina.",
    "changes_to": [ "IERDE_CARDIO2" ],
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_SKIN_1", "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "enchantments": [ { "values": [ { "value": "CARDIO_MULTIPLIER", "multiply": 0.6 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_CARDIO2",
    "name": { "str": "Unceasing Strength of the Earth" },
    "points": 5,
    "description": "The Ierde can draw even deeper on the boundless strength of the earth, greatly increasing their stamina.",
    "changes_to": [ "IERDE_CARDIO3" ],
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "enchantments": [ { "values": [ { "value": "CARDIO_MULTIPLIER", "multiply": 1.4 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_CARDIO3",
    "name": { "str": "Inexhaustible Strength of the Earth" },
    "points": 8,
    "description": "The Ierde can draw from boundless strength of the very depths of the earth, enormously increasing their stamina.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "prereqs": [ "IERDE_SKIN_3" ],
    "enchantments": [ { "values": [ { "value": "CARDIO_MULTIPLIER", "multiply": 2.5 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_REGAIN_STAMINA_UNDERGROUND",
    "name": { "str": "Stone Does Not Grow Weary" },
    "points": 5,
    "description": "When underground or on natural earth, the Ierde recovers Stamina 50% faster.",
    "category": [ "IERDE" ],
    "changes_to": [ "IERDE_HEAL_FASTER_UNDERGROUND" ],
    "prereqs": [ "IERDE_CARDIO2", "IERDE_CARDIO3" ],
    "enchantments": [
      {
        "condition": {
          "or": [
            { "math": [ "u_val('pos_z') <= -1" ] },
            {
              "and": [
                { "u_is_on_terrain_with_flag": "DIGGABLE" },
                { "not": { "u_is_on_terrain": "t_vitrified_sand" } },
                { "not": { "u_is_on_terrain": "t_pit_corpsed" } },
                { "not": { "u_is_on_terrain": "t_fungus" } },
                { "not": { "u_is_on_terrain": "t_glassed_sand" } },
                { "not": { "u_is_on_terrain": "t_rubber_mulch" } },
                { "not": { "u_is_on_terrain": "t_swater_surf" } },
                { "not": { "u_is_on_terrain": "t_woodchips" } }
              ]
            }
          ]
        },
        "values": [ { "value": "REGEN_STAMINA", "multiply": 0.5 } ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "IERDE_HEAL_FASTER_UNDERGROUND",
    "name": { "str": "The Stone Endures" },
    "points": 7,
    "description": "When underground or on natural earth, the Ierde recovers Stamina 50% faster and heals 33% faster.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_CARDIO2", "IERDE_CARDIO3" ],
    "prereqs2": [ "IERDE_REGAIN_STAMINA_UNDERGROUND" ],
    "enchantments": [
      {
        "condition": {
          "or": [
            { "math": [ "u_val('pos_z') <= -1" ] },
            {
              "and": [
                { "u_is_on_terrain_with_flag": "DIGGABLE" },
                { "not": { "u_is_on_terrain": "t_vitrified_sand" } },
                { "not": { "u_is_on_terrain": "t_pit_corpsed" } },
                { "not": { "u_is_on_terrain": "t_fungus" } },
                { "not": { "u_is_on_terrain": "t_glassed_sand" } },
                { "not": { "u_is_on_terrain": "t_rubber_mulch" } },
                { "not": { "u_is_on_terrain": "t_swater_surf" } },
                { "not": { "u_is_on_terrain": "t_woodchips" } }
              ]
            }
          ]
        },
        "values": [ { "value": "REGEN_STAMINA", "multiply": 0.5 }, { "value": "REGEN_HP", "multiply": 0.33 } ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "IERDE_FEEL_HALF_PAIN",
    "name": { "str": "Stone Does Not Cry Out" },
    "points": 5,
    "description": "Like the stone, the Ierde suffers little from blows.  All pain is halved.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_REGAIN_STAMINA_UNDERGROUND", "IERDE_HEAL_FASTER_UNDERGROUND" ],
    "enchantments": [ { "values": [ { "value": "PAIN", "multiply": -0.5 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_SINK_INTO_EARTH",
    "name": { "str": "In the Earthmother's Embrace" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to sink into the living earth, where they will heal faster, they will not need to eat or drink, and sleep will be more restful for them.",
    "prereqs": [ "IERDE_REGAIN_STAMINA_UNDERGROUND", "IERDE_HEAL_FASTER_UNDERGROUND" ],
    "category": [ "IERDE" ],
    "activated_is_setup": false,
    "active": true,
    "activated_eocs": [ "EOC_IERDE_SINK_INTO_EARTH_activate" ],
    "comfort": [
      {
        "conditions": [ { "type": "terrain", "flag": "DIGGABLE" } ],
        "comfort": "very_comfortable",
        "msg_try": { "text": "You settle down to rest on the living earth.", "rating": "good" }
      },
      {
        "conditions": [ { "type": "terrain", "id": "t_rock" } ],
        "comfort": "very_comfortable",
        "msg_try": { "text": "Encased within the living earth, you drift off to sleep.", "rating": "good" }
      }
    ],
    "enchantments": [ { "condition": { "u_is_on_terrain": "t_rock" }, "values": [ { "value": "CLIMATE_CONTROL_HEAT", "add": 300 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STONE_SLEEP",
    "name": { "str": "Sleeping in the Earth" },
    "description": "You are resting in the depths of the earth.  You should never actually see this.",
    "player_display": false,
    "points": 0,
    "enchantments": [
      {
        "values": [
          { "value": "HUNGER", "multiply": -1.0 },
          { "value": "THIRST", "multiply": -1.0 },
          { "value": "METABOLISM", "multiply": -1.0 },
          { "value": "SLEEPINESS_REGEN", "multiply": 0.5 },
          { "value": "MENDING_MODIFIER", "multiply": 15 },
          { "value": "REGEN_HP", "multiply": 1.5 },
          { "value": "REGEN_HP_AWAKE", "multiply": 0.8 }
        ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "IERDE_SLOW_BLEEDING",
    "name": { "str": "Blood of the Earth" },
    "points": 2,
    "description": "The Ierde's blood has turned black and grown thick and tar-like.  They will bleed much more slowly.",
    "category": [ "IERDE" ],
    "changes_to": [ "IERDE_STOP_BLEEDING" ],
    "prereqs": [ "IERDE_HEAL_FASTER_UNDERGROUND" ],
    "flags": [ "BLEEDSLOW2" ],
    "//": "Ideally there'd be a flag to let them bleed oil, but there doesn't currently seem to be"
  },
  {
    "type": "mutation",
    "id": "IERDE_STOP_BLEEDING",
    "name": { "str": "Black Blood of the Earth" },
    "points": 8,
    "description": "The Ierde's blood has turned into a black sludge that barely flows.  They no longer bleed at all.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "prereqs": [ "IERDE_SKIN_3" ],
    "prereqs2": [ "IERDE_SLOW_BLEEDING" ],
    "flags": [ "BLEED_IMMUNE" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_NO_KNOCKBACK",
    "name": { "str": "The Mountain Does Not Move" },
    "points": 4,
    "description": "Though the earth shivers and shakes, the mountain stands tall.  The Ierde is immune to knockback.",
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_SKIN_1", "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "prereqs2": [ "IERDE_STR_BONUS_1", "IERDE_STR_BONUS_2", "IERDE_STR_BONUS_3", "IERDE_STR_BONUS_4" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "KNOCKBACK_RESIST", "add": 100 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_ROOTED_IN_PLACE",
    "name": { "str": "The Root of the Mountain" },
    "points": 8,
    "description": "When standing on the living earth or underground, the Ierde can root themselves in place.  While doing so, they cannot move, but they are immune to being stunned, dazed, or downed, and gain additional armor.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "prereqs": [ "IERDE_NO_KNOCKBACK" ],
    "prereqs2": [ "IERDE_STR_BONUS_3", "IERDE_STR_BONUS_4" ],
    "active": true,
    "activated_is_setup": true,
    "mana": true,
    "cost": 1,
    "time": 10,
    "activation_msg": "You merge with the ground beneath your feet.",
    "activated_eocs": [ "EOC_IERDE_ROOTED_IN_PLACE_activated" ],
    "deactivated_eocs": [ "EOC_IERDE_ROOTED_IN_PLACE_deactivated" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_TOUGH",
    "name": { "str": "Durability of the Earth" },
    "points": 2,
    "description": "The Ierde has some of the toughness of the earth.  +15% hit points.",
    "changes_to": [ "IERDE_TOUGH2" ],
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_SKIN_1", "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "enchantments": [ { "values": [ { "value": "MAX_HP", "multiply": 0.15 }, { "value": "WEIGHT", "multiply": 0.05 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_TOUGH2",
    "name": { "str": "Durability of the Stone" },
    "points": 5,
    "description": "The Ierde has some of the toughness of the stone.  +30% hit points.",
    "changes_to": [ "IERDE_TOUGH3" ],
    "category": [ "IERDE" ],
    "prereqs": [ "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "prereqs2": [ "IERDE_TOUGH" ],
    "enchantments": [ { "values": [ { "value": "MAX_HP", "multiply": 0.3 }, { "value": "WEIGHT", "multiply": 0.1 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_TOUGH3",
    "name": { "str": "Durability of the Mountain" },
    "points": 9,
    "description": "The Ierde has the toughness of the enduring mountains.  +45% hit points.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "prereqs": [ "IERDE_SKIN_3" ],
    "prereqs2": [ "IERDE_TOUGH2" ],
    "enchantments": [ { "values": [ { "value": "MAX_HP", "multiply": 0.45 }, { "value": "WEIGHT", "multiply": 0.15 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_CULTIVATE_GOBLIN_FRUIT",
    "name": { "str": "Cultivate Goblin Fruit" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to grow a goblin fruit from a earth or stone.",
    "category": [ "IERDE" ],
    "spells_learned": [ [ "ierde_cultivate_goblin_fruit", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STR_BONUS_1",
    "name": { "str": "Vigor of the Soil" },
    "points": 1,
    "visibility": 0,
    "ugliness": 0,
    "changes_to": [ "IERDE_STR_BONUS_2" ],
    "description": "Like the bountiful soil, the Ierde is filled with power.  +3 Strength.",
    "category": [ "IERDE" ],
    "enchantments": [ { "values": [ { "value": "STRENGTH", "add": 3 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STR_BONUS_2",
    "name": { "str": "Vigor of the Stone" },
    "points": 3,
    "visibility": 0,
    "ugliness": 0,
    "prereqs": [ "IERDE_STR_BONUS_1" ],
    "prereqs2": [ "IERDE_SKIN_1", "IERDE_SKIN_2", "IERDE_SKIN_3" ],
    "changes_to": [ "IERDE_STR_BONUS_3" ],
    "description": "Like the stone, the Ierde can withstand any punishment.  +5 Strength.",
    "category": [ "IERDE" ],
    "enchantments": [ { "values": [ { "value": "STRENGTH", "add": 5 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STR_BONUS_3",
    "name": { "str": "Vigor of the Mountain" },
    "points": 5,
    "visibility": 0,
    "ugliness": 0,
    "prereqs": [ "IERDE_STR_BONUS_2" ],
    "prereqs2": [ "IERDE_CARDIO2" ],
    "changes_to": [ "IERDE_STR_BONUS_4" ],
    "description": "Like the mountain, the Ierde is unmoved by calamity.  +7 Strength.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "enchantments": [ { "values": [ { "value": "STRENGTH", "add": 7 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STR_BONUS_4",
    "name": { "str": "Vigor of the Bedrock" },
    "points": 5,
    "visibility": 0,
    "ugliness": 0,
    "prereqs": [ "IERDE_STR_BONUS_3" ],
    "prereqs2": [ "IERDE_HEAL_FASTER_UNDERGROUND" ],
    "description": "Like the bedrock, the Ierde's might can support the entire world.  +9 Strength.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "enchantments": [ { "values": [ { "value": "STRENGTH", "add": 9 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_PER_BONUS",
    "name": { "str": "The Hills Overlook the Valleys" },
    "points": 5,
    "visibility": 0,
    "ugliness": 0,
    "prereqs": [ "IERDE_EYES" ],
    "description": "Like an observer on a mountaintop, the Ierde sees more than most.  +3 Perception.",
    "category": [ "IERDE" ],
    "enchantments": [ { "values": [ { "value": "PERCEPTION", "add": 3 } ] } ]
  },
  {
    "type": "mutation",
    "id": "IERDE_FEEL_NO_PAIN",
    "name": { "str": "The Mountain Is Unflinching" },
    "points": 12,
    "description": "While on living earth or stone or underground, the Ierde is as impassive as the mountains and feels no pain at all.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "prereqs": [ "IERDE_FEEL_HALF_PAIN" ],
    "enchantments": [
      {
        "condition": { "test_eoc": "EOC_CONDITION_CHECK_IERDE_ON_NATURAL_EARTH_OR_UNDERGROUND" },
        "values": [ { "value": "PAIN", "multiply": -1.0 } ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "IERDE_NO_DISEASE_OR_PARA",
    "name": { "str": "The Stone Does Not Rot" },
    "points": 5,
    "visibility": 0,
    "ugliness": 0,
    "prereqs": [ "IERDE_STR_BONUS_3", "IERDE_STR_BONUS_4" ],
    "description": "The stones do not rot as the trees or humans do, and neither is the Ierde affected by the frailties of the flesh.  They are immune to disease and cannot suffer from parasites.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "flags": [ "PARAIMMUNE", "NO_DISEASE" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_NO_MIND_PROBLEMS",
    "name": { "str": "Mind of Iron" },
    "points": 5,
    "visibility": 0,
    "ugliness": 0,
    "prereqs": [ "IERDE_PER_BONUS" ],
    "prereqs2": [ "IERDE_CARDIO3" ],
    "description": "The Ierde's mind has the resilience of iron, and they cannot be affected by delusions, hallucinations, or other mental problems.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "enchantments": [ "ench_ierde_no_mind_problems" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STONE_MEDITATIONS",
    "name": { "str": "Stone Meditations" },
    "points": 1,
    "visibility": 0,
    "ugliness": 0,
    "description": "The Ierde meditates on the nature of stone and removes themselves from the highs and lows of mortal emotions.",
    "category": [ "IERDE" ],
    "active": true,
    "activated_is_setup": true,
    "mana": true,
    "cost": 1,
    "time": 5000,
    "activation_msg": "Your feelings calcify.",
    "activated_eocs": [ "EOC_FULL_MORALE_NEUTRALIZATION" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_TUNNEL_TRANSLOCATION",
    "name": { "str": "Traveling the Veins of the Earth" },
    "points": 10,
    "visibility": 0,
    "ugliness": 0,
    "description": "Upon gaining this ability the Ierde gains the ability to travel through stone to another underground location they have previously been to.",
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "prereqs": [ "IERDE_SINK_INTO_EARTH" ],
    "prereqs2": [ "IERDE_STOP_BLEEDING" ],
    "spells_learned": [ [ "ierde_tunnel_translocation_spell", 1 ], [ "ierde_tunnel_translocation_attune", 1 ] ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STONE_FORM",
    "name": { "str": "Form of the Solid Earth" },
    "points": 8,
    "description": "The Ierde may transform into rock and earth.  They become incredibly resilient and nearly immune to some forms of damage, but will be much, much slower.",
    "prereqs": [ "IERDE_NO_KNOCKBACK" ],
    "prereqs2": [ "IERDE_FEEL_NO_PAIN" ],
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "active": true,
    "activated_is_setup": true,
    "cost": 1,
    "time": 2,
    "mana": true,
    "activated_eocs": [ "EOC_IERDE_STONE_FORM_ON" ],
    "deactivated_eocs": [ "EOC_IERDE_STONE_FORM_OFF" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_STONE_FORM_TRAITS",
    "name": { "str": "Earthen Form" },
    "description": "You are a mass of stone and earth.  You are incredibly resilient, but you are extremely slow.",
    "points": 10,
    "valid": false,
    "enchantments": [ "ench_ierde_stone_form" ],
    "override_look": { "id": "mon_stonegolem", "tile_category": "monster" },
    "flags": [ "ACID_IMMUNE", "BIO_IMMUNE", "COLD_IMMUNE", "STAB_IMMUNE", "BULLET_IMMUNE" ]
  },
  {
    "type": "mutation",
    "id": "IERDE_NO_BROKEN_BONES",
    "name": { "str": "Body of Adamant" },
    "points": 12,
    "visibility": 0,
    "ugliness": 0,
    "description": "The Ierde is so infused with the power of stone they are approaching invincibility.  There is a small chance that attacks against them simply rebound off their rocky skin, and their limbs are so resilient that they will never break.",
    "prereqs": [ "IERDE_STONE_FORM" ],
    "prereqs2": [ "IERDE_STOP_BLEEDING" ],
    "category": [ "IERDE" ],
    "threshreq": [ "THRESH_IERDE" ],
    "enchantments": [
      { "values": [ { "value": "WEIGHT", "multiply": 0.1 }, { "value": "FORCEFIELD", "add": 0.15 } ] },
      { "ench_effects": [ { "effect": "effect_ierde_limb_breaking_stopper", "intensity": 1 } ] }
    ]
  }
]
