[
  {
    "type": "mutation_type",
    "id": "perk"
  },
  {
    "type": "mutation",
    "id": "perk_perk_menu",
    "name": { "str": "Open Perk Menu" },
    "points": 0,
    "description": "Direct access to the perk menu.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_open_perk_menu" ]
  },
  {
    "type": "mutation",
    "id": "perk_STR_UP",
    "name": { "str": "Stronger" },
    "points": 0,
    "description": "Have you been working out?  +1 Strength.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "STRENGTH", "add": 1 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_DEX_UP",
    "name": { "str": "Faster" },
    "points": 0,
    "description": "Have you been doing cardio?  +1 Dexterity.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "DEXTERITY", "add": 1 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_INT_UP",
    "name": { "str": "Smarter" },
    "points": 0,
    "description": "Have you been reading?  +1 Intelligence.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "INTELLIGENCE", "add": 1 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_PER_UP",
    "name": { "str": "Sharper" },
    "points": 0,
    "description": "Have you been staring out into the middle distance?  +1 Perception.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "PERCEPTION", "add": 1 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_holdout_pocket",
    "name": { "str": "Holdout Pocket" },
    "points": 0,
    "description": "Never leave home without it!  You have a secret pocket no one knows about that can easily store a weapon.",
    "category": [ "perk" ],
    "integrated_armor": [ "integrated_holdout_pocket" ]
  },
  {
    "type": "mutation",
    "id": "perk_built_tough",
    "name": { "str": "Built Tough" },
    "points": 0,
    "description": "You're like a walking tank!  Take 5% less damage from all sources.",
    "category": [ "perk" ],
    "enchantments": [
      {
        "condition": "ALWAYS",
        "values": [
          { "value": "ARMOR_ACID", "multiply": -0.05 },
          { "value": "ARMOR_BASH", "multiply": -0.05 },
          { "value": "ARMOR_BIO", "multiply": -0.05 },
          { "value": "ARMOR_BULLET", "multiply": -0.05 },
          { "value": "ARMOR_COLD", "multiply": -0.05 },
          { "value": "ARMOR_CUT", "multiply": -0.05 },
          { "value": "ARMOR_ELEC", "multiply": -0.05 },
          { "value": "ARMOR_HEAT", "multiply": -0.05 },
          { "value": "ARMOR_STAB", "multiply": -0.05 }
        ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "perk_hauler",
    "name": { "str": "Hauler" },
    "points": 0,
    "description": "All that hauling has paid off.  You can carry 10kg of additional items.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "CARRY_WEIGHT", "add": 10000 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_vacationer",
    "name": { "str": "Vacationer" },
    "points": 0,
    "description": "Every day in the apocalypse is just like the beach.  You are more comfortable in cold and warm weather.",
    "category": [ "perk" ],
    "enchantments": [
      {
        "condition": "ALWAYS",
        "values": [ { "value": "CLIMATE_CONTROL_HEAT", "add": 10 }, { "value": "CLIMATE_CONTROL_CHILL", "add": 10 } ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "perk_gymrat",
    "name": { "str": "Gym Rat" },
    "points": 0,
    "description": "Your time exercising has gotten you used to being drenched in your own sweat.  Being wet doesn't bother you as much anymore.",
    "category": [ "perk" ],
    "wet_protection": [
      { "part": "head", "neutral": 6 },
      { "part": "leg_l", "neutral": 8 },
      { "part": "leg_r", "neutral": 8 },
      { "part": "foot_l", "neutral": 2 },
      { "part": "foot_r", "neutral": 2 },
      { "part": "arm_l", "neutral": 8 },
      { "part": "arm_r", "neutral": 8 },
      { "part": "hand_l", "neutral": 12 },
      { "part": "hand_r", "neutral": 12 },
      { "part": "torso", "neutral": 10 }
    ]
  },
  {
    "type": "mutation",
    "id": "perk_thick_skull",
    "name": { "str": "Thick Skull" },
    "points": 0,
    "description": "You've taken so many blows to the head you've lost count.  You've got additional skull armor.",
    "category": [ "perk" ],
    "integrated_armor": [ "integrated_thick_skull" ]
  },
  {
    "type": "mutation",
    "id": "perk_way_openpalm",
    "name": { "str": "Way of the Open Palm" },
    "points": 0,
    "description": "You've dealt enough blows that your hands have callused, and your knifehand strikes are sharp enough to draw blood.",
    "category": [ "perk" ],
    "integrated_armor": [ "integrated_hand_openpalm" ]
  },
  {
    "type": "mutation",
    "id": "perk_way_closedfist",
    "name": { "str": "Way of the Closed Fist" },
    "points": 0,
    "description": "You've dealt enough blows that your hands have callused, and your hammerfist strikes are as strong as a real hammer.",
    "category": [ "perk" ],
    "integrated_armor": [ "integrated_hand_closedfist" ]
  },
  {
    "type": "mutation",
    "id": "perk_way_pinchedfingers",
    "name": { "str": "Way of the Pinched Fingers" },
    "points": 0,
    "description": "You've dealt enough blows that your hands have callused, your spearhand strikes can pierce armor, and your grip can turn bolts barehanded.",
    "category": [ "perk" ],
    "integrated_armor": [ "integrated_hand_pinchedfingers" ]
  },
  {
    "type": "mutation",
    "id": "perk_quickdraw",
    "name": { "str": "Quickdraw" },
    "points": 0,
    "description": "Practicing with handguns has improved your draw speed with pretty much everything.  Retrieve objects 25% faster from containers.",
    "category": [ "perk" ],
    "obtain_cost_multiplier": 0.75
  },
  {
    "type": "mutation",
    "id": "perk_vengeful",
    "name": { "str": "Vengeful" },
    "points": 0,
    "description": "Oh, they're not getting away with THAT.\n\nYou do +15% damage for two turns after you're hit.",
    "category": [ "perk" ],
    "enchantments": [ "perk_ench_vengeful" ]
  },
  {
    "type": "mutation",
    "id": "perk_tuck_and_roll",
    "name": { "str": "Tuck and Roll" },
    "points": 0,
    "description": "At some point you got really good at falling off rooftops.  Take 40% less fall damage.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "FALL_DAMAGE", "multiply": -0.4 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_surgical_strikes",
    "name": { "str": "Surgical Strikes" },
    "points": 0,
    "description": "Careful aim allows you to take down game with little tissue damage.  Enemies you kill tend to stay intact.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "OVERKILL_DAMAGE", "add": 30.0 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_bloody_mess",
    "name": { "str": "Bloody Mess" },
    "points": 0,
    "description": "For whatever reason you seem to always make a real mess of things.  Enemies you kill tend to explode into a mess of viscera.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "OVERKILL_DAMAGE", "add": -1000.0 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_tingly",
    "name": { "str": "Tingly" },
    "points": 0,
    "description": "Ever since the apocalypse you get a funny feeling during storms and have trouble trusting small appliances.  You usually have a pretty good idea where they are though.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "SIGHT_RANGE_ELECTRIC", "add": 4.0 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_jumpy",
    "name": { "str": "Jumpy" },
    "points": 0,
    "description": "You've not been the same since the apocalypse, almost everything makes you jump.  You are just a bit quicker to act though.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "SPEED", "multiply": 0.03 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_quick_recovery",
    "name": { "str": "Quick Recovery" },
    "points": 0,
    "description": "You get knocked down, but you get up again.  There is a 75% chance when you are downed that you will stand up again immediately.",
    "category": [ "perk" ]
  },
  {
    "type": "mutation",
    "id": "perk_sleepy",
    "name": { "str": "Easy Sleeper" },
    "points": 0,
    "description": "You've always been able to fall asleep within a few minutes of closing your eyes, no matter what else is going on around you.  You have a much easier time falling asleep.'",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "SLEEPY", "add": 15 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_hobbyist",
    "name": { "str": "Hobbyist" },
    "points": 0,
    "description": "No work, no social obligations, lots of time to focus on your hobbies.  You feel like you've been picking up skills faster recently.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "LEARNING_FOCUS", "add": 5.0 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_recycler",
    "name": { "str": "Recycler" },
    "points": 0,
    "description": "Even with no one around you feel obligated to clean up the streets.  You find full cans of soda in the weirdest places.",
    "category": [ "perk" ],
    "active": true,
    "activated_is_setup": true,
    "activated_eocs": [ "EOC_can_finder_on" ],
    "deactivated_eocs": [ "EOC_can_finder_off" ],
    "processed_eocs": [ "EOC_can_hunting" ],
    "time": 24000
  },
  {
    "type": "mutation",
    "id": "perk_troubleseeker",
    "name": { "str": "Trouble seeker" },
    "points": 0,
    "description": "As if the apocalypse itself wasn't enough, you are constantly looking for some trouble.  Zombies will sometimes appear out of nowhere to attack you.  Fortunately, they always appear at a good distance from you.  Activate to toggle.",
    "category": [ "perk" ],
    "active": true,
    "activated_is_setup": true,
    "activated_eocs": [ "EOC_troubleseek_on" ],
    "deactivated_eocs": [ "EOC_troubleseek_off" ],
    "processed_eocs": [ "EOC_troubleseeking" ],
    "time": 20000
  },
  {
    "type": "mutation",
    "id": "perk_popeye",
    "name": { "str": "Of sailors and spinach" },
    "points": 0,
    "description": "You spent several years on the high sea and now your muscles visibly swell and clench when you eat raw spinach.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_spinach_consumption" ]
  },
  {
    "type": "mutation",
    "id": "perk_frakenstein",
    "name": { "str": "Playing God" },
    "points": 0,
    "description": "You've been dissecting critters since high school.  Last night a voice gave you an idea for how to bring them back to life activate the perk to gain insight into the nature of life itself!",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_frankenstein_insight" ]
  },
  {
    "type": "mutation",
    "id": "perk_safety_net",
    "name": { "str": "Safety net" },
    "points": 0,
    "description": "You've always felt like someone was looking out for you upstairs.  When you are attacked there is a 5% chance the attack will deal no damage.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "FORCEFIELD", "add": 0.05 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_lucky_dodge",
    "name": { "str": "Lucky dodge" },
    "points": 0,
    "description": "You have a habit of always ducking at the right time.  You have a 5% chance to dodge any incoming attack.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "EVASION", "add": 0.05 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_long_shot",
    "name": { "str": "Long shot" },
    "points": 0,
    "description": "You always ate your carrots, that good eyesight is paying off.  You can use ranged weapons effectively up to 4 more tiles away.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "RANGE", "add": 4 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_metamagic_quicken",
    "name": { "str": "Metamagic: Quicken Spell" },
    "points": 0,
    "description": "You have learned to cast spells in a way that is much quicker, but also more wasteful.  -95% cast time, +100% cast cost.  Can be toggled on or of by activating this trait.  Does not work on spells that consumes runes.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_metamagic_toggle_quicken" ]
  },
  {
    "type": "mutation",
    "id": "perk_metamagic_widen",
    "name": { "str": "Metamagic: Widen Spell" },
    "points": 0,
    "description": "You have learned to cast spells that affects a larger area.  +100% area of effect, +50% cast cost.  Can be toggled on or of by activating this trait.  Does not work on spells that consumes runes.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_metamagic_toggle_widen" ]
  },
  {
    "type": "mutation",
    "id": "perk_metamagic_reach",
    "name": { "str": "Metamagic: Reach Spell" },
    "points": 0,
    "description": "You have learned to cast spells from a longer distance.  +100% reach, +50% cast cost.  Can be toggled on or of by activating this trait.  Does not work on spells that consumes runes.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_metamagic_toggle_reach" ]
  },
  {
    "type": "mutation",
    "id": "perk_metamagic_silent",
    "name": { "str": "Metamagic: Silent Spell" },
    "points": 0,
    "description": "You have learned to cast spells quietly.  -100% noise, +20% cast cost, ignores mouth encumbrance.  Can be toggled on or of by activating this trait.  Does not work on spells that consumes runes.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_metamagic_toggle_silent" ]
  },
  {
    "type": "mutation",
    "id": "perk_metamagic_still",
    "name": { "str": "Metamagic: Still Spell" },
    "points": 0,
    "description": "You have learned to cast spells without moving.  +20% cast cost, ignores arm, leg, and hand encumbrance.  Can cast spells while holding items.  Can be toggled on or of by activating this trait.  Does not work on spells that consumes runes.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_metamagic_toggle_still" ]
  },
  {
    "type": "mutation",
    "id": "perk_metamagic_careful",
    "name": { "str": "Metamagic: Careful Spell" },
    "points": 0,
    "description": "You take your time when casting spells in order to get it right.  +200% cast time, -5 difficulty.  Can be toggled on or of by activating this trait.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_metamagic_toggle_careful" ]
  },
  {
    "type": "mutation",
    "id": "perk_metamagic_intuitive",
    "name": { "str": "Metamagic: Intuitive Spell" },
    "points": 0,
    "description": "Casting spells comes more naturally for you.  You don't have to think as much when casting.  Focus no longer affects casting, +20% cast cost.  Can be toggled on or of by activating this trait.  Only affects spells that are affected by focus.  Does not work on spells that consumes runes.",
    "category": [ "perk" ],
    "active": true,
    "activated_eocs": [ "EOC_metamagic_toggle_intuitive" ]
  },
  {
    "type": "mutation",
    "id": "perk_crafty_hands",
    "name": { "str": "Crafty hands" },
    "points": 0,
    "description": "You really like to do stuff with your own hands.  +10% for crafting speed.",
    "category": [ "perk" ],
    "crafting_speed_multiplier": 1.1
  },
  {
    "type": "mutation",
    "id": "perk_chainsmoker",
    "name": { "str": "Chainsmoker" },
    "points": 0,
    "description": "Smoking is bad, but damn it's badass.  You deal more damage and shoot more accurately when you smoke.",
    "category": [ "perk" ],
    "enchantments": [
      { "condition": { "u_has_effect": "cig" }, "values": [ { "value": "MELEE_DAMAGE", "multiply": 0.25 } ] },
      { "condition": { "u_has_effect": "cig" }, "values": [ { "value": "WEAPON_DISPERSION", "multiply": 0.25 } ] }
    ]
  },
  {
    "type": "mutation",
    "id": "perk_empath",
    "name": { "str": "Empath" },
    "points": 0,
    "description": "You've always had a passion for people, and a deep understanding of their thoughts and feelings.  Now that almost everyone's dead that has to extend to other things too!  When you kill a creature gain some of its abilities temporarily.",
    "category": [ "perk" ]
  },
  {
    "type": "mutation",
    "id": "perk_jugg",
    "name": { "str": "Iron arm" },
    "points": 0,
    "description": "You've always been a bit of a bull in a china shop; people used to call you heavy handed but now they aren't saying much at all.  You deal extra damage based on how protective your right arm is.",
    "category": [ "perk" ],
    "enchantments": [
      {
        "condition": "ALWAYS",
        "values": [ { "value": "ITEM_DAMAGE_BASH", "add": { "math": [ "u_armor('bash', 'arm_r') * u_attack_speed() / 200" ] } } ]
      }
    ]
  },
  {
    "type": "mutation",
    "id": "perk_skeleton",
    "name": { "str": "Skin and bones" },
    "points": 0,
    "description": "People always used to tell you that you should eat more.  It seems you needed their reminders because you can see your bones at this point.  You have skeletal armor.",
    "category": [ "perk" ],
    "integrated_armor": [ "skeleton_plate" ]
  },
  {
    "type": "mutation",
    "id": "perk_chainsaw",
    "name": { "str": "The Great Communicator" },
    "points": 0,
    "description": "You've always had something to say about ripping apart things with chainsaws.  You can swing powered blades faster.",
    "category": [ "perk" ],
    "enchantments": [ { "condition": { "u_has_wielded_with_flag": "MESSY" }, "values": [ { "value": "ATTACK_SPEED", "multiply": -0.2 } ] } ]
  },
  {
    "type": "mutation",
    "id": "perk_olde_guns",
    "name": { "str": "Olde Reliables" },
    "points": 0,
    "description": "You've always had a bit of a fondness for the older firearms.  Post apocalypse, this has translated into a damage boost when using WWII and older weapons.",
    "category": [ "perk" ],
    "enchantments": [
      { "condition": { "u_has_wielded_with_flag": "OLD_GUN" }, "values": [ { "value": "RANGED_DAMAGE", "multiply": 0.25 } ] }
    ]
  }
]
