[
  {
    "id": "effect_goblin_fruit_heal",
    "type": "effect_type",
    "name": [ "Restore Flesh and Bone" ],
    "desc": [ "Your wounds are slowly healing." ],
    "apply_message": "Your flesh and bones start to knit together before your eyes.",
    "remove_message": "Your regeneration slows down as the goblin fruit's magic fades.",
    "rating": "good",
    "show_intensity": false,
    "enchantments": [
      {
        "intermittent_activation": { "effects": [ { "frequency": "30 seconds", "spell_effects": [ { "id": "goblin_fruit_regeneration_spell" } ] } ] }
      }
    ]
  },
  {
    "id": "goblin_fruit_regeneration_spell",
    "type": "SPELL",
    "name": "Sweet Goblin Fruit Healing Effect",
    "description": "Heals the target.",
    "valid_targets": [ "self" ],
    "min_damage": -1,
    "max_damage": -1,
    "effect": "attack",
    "shape": "blast",
    "flags": [ "SILENT" ]
  },
  {
    "id": "effect_goblin_fruit_cure",
    "type": "effect_type",
    "name": [ "Ward off Miasma" ],
    "desc": [ "No illness is going to get you down now." ],
    "apply_message": "You feel revitalized.",
    "rating": "good",
    "show_intensity": false,
    "removes_effects": [ "scurvy", "redcells_anemia", "anemia", "toxin_buildup", "common_cold", "flu" ]
  },
  {
    "id": "effect_goblin_fruit_speed",
    "type": "effect_type",
    "name": [ "Quick Blows" ],
    "desc": [ "You can attack faster." ],
    "apply_message": "You arms speed up.",
    "remove_message": "Your muscles twitch as the goblin fruit's magic fades.",
    "rating": "good",
    "show_intensity": false,
    "enchantments": [ { "values": [ { "value": "ATTACK_SPEED", "add": -15 } ] } ]
  },
  {
    "id": "effect_goblin_fruit_thorns",
    "type": "effect_type",
    "name": [ "Thorns" ],
    "desc": [ "Anyone who attacks you will regret it." ],
    "apply_message": "Long thorns grow through your skin, clothes, and armor.",
    "remove_message": "The thorns vanish without a trace, leaving your gear unharmed.",
    "rating": "good",
    "show_intensity": false,
    "enchantments": [ "ench_goblin_fruit_thorns" ]
  },
  {
    "type": "enchantment",
    "id": "ench_goblin_fruit_thorns",
    "condition": "ALWAYS",
    "has": "HELD",
    "hit_me_effect": [ { "id": "goblin_fruit_aura_thorns", "hit_self": false, "once_in": 4 } ]
  },
  {
    "id": "goblin_fruit_aura_thorns",
    "type": "SPELL",
    "name": "Goblin fruit aura thorns",
    "description": "Stab a monster that attacked you.",
    "valid_targets": [ "hostile" ],
    "flags": [ "RANDOM_DAMAGE" ],
    "shape": "blast",
    "effect": "attack",
    "damage_type": "stab",
    "min_damage": 1,
    "max_damage": 4,
    "min_range": 1,
    "max_range": 1
  },
  {
    "id": "effect_goblin_fruit_keep_warm",
    "type": "effect_type",
    "name": [ "Summer's Heat" ],
    "desc": [ "The magic of that goblin fruit is keeping you warm." ],
    "apply_message": "You feel a pleasant warmth.",
    "remove_message": "You shiver as a cool breeze hits your skin.",
    "rating": "good",
    "show_intensity": false,
    "enchantments": [ { "values": [ { "value": "CLIMATE_CONTROL_HEAT", "add": 50 } ] } ]
  },
  {
    "id": "effect_goblin_fruit_purge_blood",
    "type": "effect_type",
    "name": [ "Ward off Toxins" ],
    "desc": [ "Your body will not be corrupted by these vile substances." ],
    "apply_message": "You feel cleansed.",
    "rating": "good",
    "show_intensity": false,
    "removes_effects": [
      "poison",
      "venom_dmg",
      "venom_weaken",
      "badpoison",
      "foodpoison",
      "paralyzepoison",
      "bloodworms",
      "brainworms",
      "tapeworm"
    ]
  },
  {
    "id": "effect_goblin_fruit_dodge",
    "type": "effect_type",
    "name": [ "Flexible" ],
    "desc": [ "Your range of motion is greatly increased." ],
    "apply_message": "You arms are as bendy as rubber.",
    "remove_message": "Your limbs creak as they lose their flexibility.",
    "rating": "good",
    "show_intensity": false,
    "limb_score_mods": [
      { "limb_score": "reaction", "modifier": 2.0 },
      { "limb_score": "block", "modifier": 1.2 },
      { "limb_score": "crawl", "modifier": 1.5 }
    ],
    "base_mods": { "dodge_mod": [ 1 ] },
    "enchantments": [ { "values": [ { "value": "BONUS_DODGE", "add": 1 } ] } ],
    "flags": [ "DOWNED_RECOVERY", "EFFECT_LIMB_SCORE_MOD" ]
  },
  {
    "type": "effect_type",
    "id": "effect_goblin_fruit_nightvision",
    "name": [ "Darkvision" ],
    "desc": [ "You can see in the dark." ],
    "apply_message": "The night doesn't seem so dark anymore.",
    "remove_message": "The darkness of the night rushes in again.",
    "rating": "good",
    "limb_score_mods": [ { "limb_score": "night_vis", "modifier": 6 } ],
    "flags": [ "EFFECT_LIMB_SCORE_MOD" ]
  },
  {
    "type": "effect_type",
    "id": "effect_goblin_fruit_nobleed",
    "name": [ "Stopped Bleeding" ],
    "desc": [ "Your blood is all being contained within your body." ],
    "apply_message": "Your wounds tingle.",
    "remove_message": "You feel a prickle as your wounds ache.",
    "rating": "good",
    "show_intensity": false,
    "removes_effects": [ "bleed" ],
    "flags": [ "BLEED_IMMUNE" ]
  },
  {
    "type": "effect_type",
    "id": "effect_goblin_fruit_perception",
    "name": [ "Good Vision" ],
    "desc": [ "The magic of that goblin fruit is helping you see better." ],
    "apply_message": "You can pick out even minute details.",
    "remove_message": "Distant objects loose their magical clarity.",
    "rating": "good",
    "show_intensity": false,
    "limb_score_mods": [ { "limb_score": "vision", "modifier": 1.25 } ],
    "enchantments": [ { "values": [ { "value": "PERCEPTION", "add": 2 } ] } ],
    "flags": [ "GLARE_RESIST", "EFFECT_LIMB_SCORE_MOD" ]
  },
  {
    "id": "effect_goblin_fruit_no_drunk",
    "type": "effect_type",
    "name": [ "Remove intoxicants" ],
    "desc": [ "You are being rapidly sobered up." ],
    "apply_message": "Your head pounds, but you feel much more alert.",
    "remove_message": ".",
    "rating": "mixed",
    "show_intensity": false,
    "removes_effects": [ "drunk", "meth", "high", "weed_high" ]
  },
  {
    "id": "effect_goblin_fruit_eat_poison",
    "type": "effect_type",
    "name": [ "Poison-Eater" ],
    "desc": [ "You can eat toxic or spoiled food without penalty.  You still should not eat zombie meat." ],
    "apply_message": "Your sense of taste dulls.",
    "remove_message": "Something in your mouth tastes foul.",
    "rating": "good",
    "show_intensity": false,
    "flags": [ "IMMUNE_SPOIL", "PARAIMMUNE" ],
    "blocks_effects": [ "foodpoison" ],
    "vitamins": [ { "vitamin": "mutant_toxin", "rate": [ [ -1, -1 ] ], "absorb_mult": [ 0.5 ], "tick": [ "10 s" ] } ]
  },
  {
    "id": "effect_goblin_fruit_no_drunk",
    "type": "effect_type",
    "name": [ "Remove intoxicants" ],
    "desc": [ "You are being rapidly sobered up." ],
    "apply_message": "Your head pounds, but you feel much more alert.",
    "remove_message": ".",
    "rating": "mixed",
    "show_intensity": false,
    "removes_effects": [ "drunk", "meth", "high", "weed_high" ]
  },
  {
    "id": "effect_goblin_fruit_featherfall",
    "type": "effect_type",
    "name": [ "Feather Fall" ],
    "desc": [ "You can fall any distance without damage." ],
    "apply_message": "You feel as light as air.",
    "remove_message": "Gravity reclaims its hold on you.",
    "rating": "good",
    "show_intensity": false,
    "flags": [ "FEATHER_FALL" ]
  },
  {
    "id": "effect_goblin_fruit_super_clairvoyance",
    "type": "effect_type",
    "name": [ "Omniscience" ],
    "desc": [ "You can see forever." ],
    "apply_message": "Your head pounds as you suddenly see in all directions simultaneously.",
    "remove_message": "Your senses snap back into your body.",
    "rating": "good",
    "show_intensity": false,
    "flags": [ "SUPER_CLAIRVOYANCE" ]
  },
  {
    "id": "effect_goblin_fruit_water_breathing",
    "type": "effect_type",
    "name": [ "Return to the Sea" ],
    "desc": [ "You can breathe underwater." ],
    "apply_message": "You feel an urge to take a swim.",
    "remove_message": "You need to take a breath of air, now!",
    "rating": "good",
    "show_intensity": false,
    "flags": [ "WALK_UNDERWATER", "GILLS" ]
  }
]
