[
  {
    "id": "mon_ogre",
    "type": "MONSTER",
    "name": { "str": "ogre" },
    "description": "An enormous, pale green beast known for living in swamps and eating passersby, clutching a gigantic club in a single meaty hand; it will kill anything it gets its hands on.",
    "default_faction": "ogre",
    "bodytype": "human",
    "species": [ "OGRE" ],
    "volume": "300 L",
    "weight": "250 kg",
    "hp": 350,
    "speed": 105,
    "material": [ "flesh" ],
    "symbol": "O",
    "color": "green",
    "aggression": 75,
    "morale": 100,
    "melee_skill": 5,
    "melee_dice": 2,
    "melee_dice_sides": 6,
    "dodge": 0,
    "harvest": "ogre",
    "families": [ "prof_gross_anatomy", "prof_intro_biology", "prof_wp_demihuman", "prof_wp_hulk" ],
    "weakpoint_sets": [ "wps_humanoid_body" ],
    "anger_triggers": [ "HURT", "FIRE", "PLAYER_WEAK" ],
    "grab_strength": 50,
    "special_attacks": [
      { "id": "grab", "condition": { "u_has_effect": "disarmed" } },
      {
        "type": "monster_attack",
        "attack_type": "melee",
        "id": "ogre_weapon_club",
        "cooldown": 2,
        "move_cost": 150,
        "accuracy": 5,
        "damage_max_instance": [ { "damage_type": "bash", "amount": 40 } ],
        "condition": { "test_eoc": "is_disarmed" },
        "hit_dmg_u": "%1$s hits your %2$s with an enormous club!",
        "hit_dmg_npc": "%1$s hits <npcname>'s %2$s with an enormous club!",
        "miss_msg_u": "%1$s tries to hit you, but you dodge!",
        "miss_msg_npc": "%1$s tries to hit <npcname>, but they dodge!",
        "no_dmg_msg_u": "%1$s hits your %2$s without penetrating your armor.",
        "no_dmg_msg_npc": "%1$s hits <npcname>'s %2$s without penetrating their armor."
      },
      { "id": "smash", "throw_strength": 80 },
      [ "EAT_FOOD", 120 ]
    ],
    "vision_day": 45,
    "vision_night": 3,
    "path_settings": { "avoid_traps": true, "avoid_sharp": true },
    "flags": [ "SEES", "HEARS", "HAS_MIND", "WARM", "EATS", "BASHES", "PUSH_MON", "PUSH_VEH", "FILTHY", "PATH_AVOID_DANGER" ],
    "armor": { "bash": 5, "cut": 2, "stab": 2, "psionic": 20 }
  },
  {
    "id": "mon_ogre_mage",
    "copy-from": "mon_ogre",
    "type": "MONSTER",
    "name": { "str": "ogre mage" },
    "description": "An enormous, blue beast known for living in swamps and eating passersby, slightly smaller than the other ogres you've seen.  This ogre has a more calculating look.  As it idly waves the hand not holding a club, you see sparkles trail through the air after its fingers.",
    "proportional": { "hp": 0.78, "weight": 0.8, "volume": 0.8 },
    "color": "blue",
    "aggression": 55,
    "morale": 75,
    "regenerates": 1,
    "regen_morale": true,
    "special_attacks": [
      {
        "type": "monster_attack",
        "attack_type": "melee",
        "id": "ogre_weapon_club",
        "cooldown": 2,
        "move_cost": 150,
        "accuracy": 3,
        "damage_max_instance": [ { "damage_type": "bash", "amount": 30 } ],
        "condition": { "test_eoc": "is_disarmed" },
        "hit_dmg_u": "%1$s hits your %2$s with an enormous club!",
        "hit_dmg_npc": "%1$s hits <npcname>'s %2$s with an enormous club!",
        "miss_msg_u": "%1$s tries to hit you, but you dodge!",
        "miss_msg_npc": "%1$s tries to hit <npcname>, but they dodge!",
        "no_dmg_msg_u": "%1$s hits your %2$s without penetrating your armor.",
        "no_dmg_msg_npc": "%1$s hits <npcname>'s %2$s without penetrating their armor."
      },
      {
        "type": "monster_attack",
        "attack_type": "melee",
        "id": "ogre_mage_magebolt",
        "cooldown": 15,
        "move_cost": 150,
        "range": 8,
        "damage_max_instance": [ { "damage_type": "nether", "amount": 25 } ],
        "dodgeable": true,
        "blockable": false,
        "condition": { "and": [ { "not": { "u_has_flag": "MUTE" } }, { "not": { "u_has_flag": "NO_SPELLCASTING" } } ] },
        "hit_dmg_u": "%1$s rumbles words of magic and an eldritch bolt impacts your %2$s!",
        "hit_dmg_npc": "%1$s rumbles words of magic and an eldritch bolt impacts <npcname>'s %2$s!",
        "miss_msg_u": "%1$s rumbles words of magic and you narrowly avoid an eldritch bolt!",
        "miss_msg_npc": "%1$s rumbles words of magic and <npcname> narrowly avoids an eldritch bolt!",
        "no_dmg_msg_u": "%1$s rumbles words of magic and your %2$s is impacted by an eldritch bolt, but it does no damage.",
        "no_dmg_msg_npc": "%1$s rumbles words of magic and <npcname>'s %2$s is impacted by an eldritch bolt, but it does no damage."
      },
      {
        "id": "ogre_mage_darkness_spell",
        "type": "spell",
        "spell_data": { "id": "shadow_field", "min_level": 25, "hit_self": true },
        "cooldown": 25,
        "condition": { "not": { "u_has_flag": "NO_SPELLCASTING" } },
        "monster_message": "%1$s gestures and %1$s is enveloped in darkness!"
      },
      {
        "id": "mon_ogre_mage_invisibility_spell",
        "type": "spell",
        "spell_data": { "id": "monster_invisibility_spell", "min_level": 10, "hit_self": true },
        "cooldown": 40,
        "condition": { "and": [ { "math": [ "u_hp('ALL') < 150" ] }, { "not": { "u_has_flag": "NO_SPELLCASTING" } } ] }
      },
      { "id": "smash", "throw_strength": 40 },
      [ "EAT_FOOD", 120 ]
    ],
    "fear_triggers": [ "HURT" ],
    "path_settings": { "avoid_traps": true, "avoid_dangerous_fields": true },
    "flags": [
      "SEES",
      "HEARS",
      "HAS_MIND",
      "MAGIC_USER",
      "WARM",
      "EATS",
      "BASHES",
      "PUSH_MON",
      "PUSH_VEH",
      "FILTHY",
      "PATH_AVOID_DANGER"
    ]
  },
  {
    "id": "mon_ogre_twoheaded",
    "copy-from": "mon_ogre",
    "type": "MONSTER",
    "name": { "str": "ettin" },
    "description": "An enormous, clay-colored beast known for living in swamps and eating passersby.  This one has two heads, both moving independently and gazing around at their surroundings.",
    "color": "brown",
    "//": "Two heads give it better vision but lower morale (heads disagree about when to run) and much better psionic armor.",
    "vision_day": 80,
    "vision_night": 10,
    "morale": 50,
    "flags": [
      "SEES",
      "HEARS",
      "HAS_MIND",
      "WARM",
      "EATS",
      "BASHES",
      "PUSH_MON",
      "PUSH_VEH",
      "FILTHY",
      "PATH_AVOID_DANGER",
      "STUN_IMMUNE"
    ],
    "path_settings": { "avoid_traps": true, "avoid_dangerous_fields": true },
    "armor": { "bash": 5, "cut": 2, "stab": 2, "psionic": 50 }
  },
  {
    "id": "mon_ogre_spider",
    "copy-from": "mon_ogre",
    "type": "MONSTER",
    "name": { "str": "ettercap" },
    "description": "A hideous monstrosity, like a spider in the shape of a man.  Its dark purple skin is half-covered in chitin, long claws extend from its hands and feet, and eight eyes peer out from a distorted humanlike face.",
    "proportional": { "hp": 0.5, "weight": 0.6, "volume": 0.6 },
    "color": "light_green",
    "speed": 110,
    "morale": 50,
    "melee_skill": 4,
    "melee_dice": 1,
    "dodge": 4,
    "melee_dice_sides": 6,
    "special_attacks": [
      {
        "type": "bite",
        "cooldown": 10,
        "damage_max_instance": [ { "damage_type": "stab", "amount": 10, "armor_penetration": 10 } ],
        "effects": [ { "id": "venom_weaken", "chance": 25, "duration": [ 3600, 36000 ] } ]
      },
      {
        "id": "scratch",
        "cooldown": 2,
        "damage_max_instance": [ { "damage_type": "cut", "amount": 15, "armor_penetration": 5 } ]
      },
      { "id": "grab", "cooldown": 15 },
      { "id": "mutant_spinneret", "cooldown": 3 },
      [ "EAT_FOOD", 120 ]
    ],
    "fear_triggers": [ "FIRE", "HURT" ],
    "flags": [ "SEES", "HEARS", "HAS_MIND", "WARM", "EATS", "BASHES", "FILTHY", "PATH_AVOID_DANGER" ],
    "armor": { "bash": 5, "cut": 8, "stab": 8, "poison": 35 }
  },
  {
    "id": "mon_ogre_giant",
    "copy-from": "mon_ogre",
    "type": "MONSTER",
    "name": { "str_sp": "athach" },
    "description": "A gigantic, ogre-like monster, nearly half again as tall as an ogre.  Two huge tusks jut forth from a mouth twisted into a snarl, and a third arm protrudes from the center of its chest.",
    "proportional": { "hp": 2, "weight": 2, "volume": 2 },
    "color": "red_green",
    "speed": 130,
    "morale": 100,
    "//": "Third arm allows for grab_2 and scratching even while grabbing",
    "grab_strength": 100,
    "special_attacks": [
      {
        "id": "bite_humanoid",
        "cooldown": 10,
        "damage_max_instance": [ { "damage_type": "stab", "amount": 40, "armor_penetration": 15 } ],
        "effects": [ { "id": "badpoison", "chance": 50, "duration": [ 3600, 36000 ] } ]
      },
      { "id": "grab", "cooldown": 15 },
      { "id": "grab_2", "cooldown": 15 },
      {
        "id": "scratch",
        "cooldown": 3,
        "damage_max_instance": [ { "damage_type": "cut", "amount": 32, "armor_penetration": 6 } ]
      },
      { "id": "smash", "throw_strength": 70 },
      [ "EAT_FOOD", 120 ]
    ],
    "flags": [ "SEES", "HEARS", "HAS_MIND", "WARM", "EATS", "BASHES", "PUSH_MON", "PUSH_VEH", "FILTHY", "PATH_AVOID_DANGER" ]
  }
]
