[
  {
    "id": "mon_yrax_trifacet",
    "type": "MONSTER",
    "name": { "str": "Yrax trifacet" },
    "description": "Three dual leg modules join with each lower vertex of a pyramidal body, in a abstract configuration that vaguely recalls an alien arthropod.  Devoid of any exterior signs that betray its artificial origin, it looks like it could fold itself into a perfectly featureless quartz pyramid.  It crawls with a gait like none you've seen before, its minute movements too fast for your eyes to track.",
    "default_faction": "yrax",
    "volume": "50 L",
    "weight": "30 kg",
    "species": [ "ROBOT" ],
    "bodytype": "trifacet",
    "material": [ "steel" ],
    "speed": 100,
    "symbol": "A",
    "morale": 70,
    "hp": 50,
    "color": "yellow",
    "melee_skill": 10,
    "melee_dice": 3,
    "melee_dice_sides": 8,
    "melee_damage": [ { "damage_type": "cut", "amount": 12 } ],
    "tracking_distance": 10,
    "vision_day": 50,
    "vision_night": 20,
    "revert_to_itype": "bot_yrax_trifacet",
    "aggro_character": false,
    "anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
    "special_attacks": [
      {
        "type": "gun",
        "cooldown": 1,
        "move_cost": 200,
        "gun_type": "yrax_deterrent_laser",
        "fake_skills": [ [ "gun", 5 ] ],
        "fake_dex": 12,
        "ranges": [ [ 0, 25, "DEFAULT" ] ],
        "require_targeting_npc": true,
        "require_targeting_monster": true,
        "target_moving_vehicles": true,
        "laser_lock": true,
        "targeting_sound": "a fast sequence of clicking tones.",
        "targeting_volume": 50,
        "targeting_cost": 200,
        "targeting_timeout_extend": -10
      }
    ],
    "death_function": { "corpse_type": "BROKEN" },
    "flags": [
      "SEES",
      "HEARS",
      "GOODHEARING",
      "NOHEAD",
      "NO_BREATHE",
      "KEEP_DISTANCE",
      "PATH_AVOID_DANGER",
      "PRIORITIZE_TARGETS",
      "HIT_AND_RUN",
      "ELECTRONIC"
    ],
    "path_settings": { "avoid_traps": true, "avoid_dangerous_fields": true },
    "armor": { "bash": 42, "cut": 48, "acid": 12, "heat": 8, "bullet": 35 }
  },
  {
    "id": "mon_yrax_triakis",
    "type": "MONSTER",
    "name": { "str_sp": "Yrax triakis" },
    "description": "Short-snakelike limbs seamlessly extend from an aggressively faceted body.  Its movements keep it low to the ground, coiled like a trap waiting to spring.",
    "default_faction": "yrax",
    "volume": "50 L",
    "weight": "30 kg",
    "species": [ "ROBOT" ],
    "bodytype": "trifacet",
    "material": [ "steel" ],
    "speed": 100,
    "symbol": "V",
    "morale": 70,
    "hp": 50,
    "color": "yellow",
    "melee_skill": 10,
    "melee_dice": 3,
    "melee_dice_sides": 8,
    "melee_damage": [ { "damage_type": "cut", "amount": 12 } ],
    "tracking_distance": 10,
    "vision_day": 50,
    "vision_night": 20,
    "aggro_character": false,
    "anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
    "special_attacks": [
      {
        "type": "leap",
        "min_consider_range": 2,
        "min_range": 2,
        "move_cost": 50,
        "max_range": 8,
        "allow_no_target": false,
        "cooldown": 3
      },
      [ "BIO_OP_IMPALE", 10 ]
    ],
    "death_function": { "corpse_type": "BROKEN" },
    "flags": [
      "SEES",
      "HEARS",
      "GOODHEARING",
      "NOHEAD",
      "NO_BREATHE",
      "PATH_AVOID_DANGER",
      "HARDTOSHOOT",
      "PRIORITIZE_TARGETS",
      "HIT_AND_RUN",
      "ELECTRONIC"
    ],
    "armor": { "bash": 42, "cut": 48, "acid": 12, "heat": 8, "bullet": 35 }
  },
  {
    "id": "mon_yrax_sphenocorona",
    "type": "MONSTER",
    "name": { "str": "Yrax sphenocorona", "str_pl": "Yrax sphenocoronae" },
    "description": "Manipulator arrays seamlessly protract from asymmetric facets, their testing spaces undisturbed by the forces affixing it to the sky.",
    "default_faction": "yrax",
    "volume": "930 L",
    "//": "A lot of gold in this bad boy.",
    "weight": "8282 kg",
    "species": [ "ROBOT" ],
    "bodytype": "blob",
    "material": [ "gold", "steel" ],
    "speed": 40,
    "symbol": "C",
    "morale": 100,
    "hp": 10,
    "bleed_rate": 0,
    "color": "yellow",
    "melee_skill": 4,
    "dodge": 4,
    "melee_dice": 4,
    "melee_dice_sides": 4,
    "armor": { "bash": 42, "cut": 48, "acid": 35, "heat": 10, "bullet": 35 },
    "tracking_distance": 3,
    "vision_day": 50,
    "aggro_character": false,
    "vision_night": 20,
    "anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
    "special_attacks": [
      {
        "type": "spell",
        "id": "sphenocorona_inactive",
        "spell_data": { "id": "sphenocorona_inactive", "hit_self": true },
        "allow_no_target": true,
        "condition": {
          "and": [
            {
              "not": {
                "or": [
                  { "is_weather": "portal_storm" },
                  { "and": [ { "is_weather": "distant_portal_storm" } ] },
                  { "is_weather": "close_portal_storm" }
                ]
              }
            },
            "u_is_outside"
          ]
        },
        "monster_message": "The %s abruptly falls to the ground!",
        "cooldown": 5
      },
      {
        "type": "spell",
        "id": "killer_swarm",
        "spell_data": { "id": "release_the_deltas", "hit_self": true, "min_level": 1 },
        "monster_message": "Shards of gleaming alloy detach from the %s's surface!",
        "cooldown": 60
      }
    ],
    "death_function": {
      "effect": { "id": "death_yrax_sphenocorona", "hit_self": true },
      "message": "The %s abruptly falls to the ground!",
      "corpse_type": "NO_CORPSE"
    },
    "flags": [
      "SEES",
      "HEARS",
      "GOODHEARING",
      "NOHEAD",
      "NO_BREATHE",
      "PATH_AVOID_DANGER",
      "FLIES",
      "PRIORITIZE_TARGETS",
      "ELECTRONIC"
    ],
    "path_settings": { "avoid_traps": true, "avoid_dangerous_fields": true }
  },
  {
    "id": "mon_golden_monolith",
    "type": "MONSTER",
    "name": { "str": "golden monolith" },
    "copy-from": "mon_yrax_sphenocorona",
    "description": "A large golden monolith.  Carefully carved asymmetric edges betray its artificial origin.",
    "default_faction": "passive_machine",
    "speed": 5,
    "hp": 100,
    "symbol": "I",
    "armor": { "bash": 100, "cut": 150, "acid": 35, "heat": 10, "bullet": 100 },
    "melee_skill": 0,
    "aggro_character": false,
    "dodge": 0,
    "melee_dice": 1,
    "melee_dice_sides": 1,
    "flags": [ "GOODHEARING", "NOHEAD", "NO_BREATHE", "IMMOBILE", "PACIFIST" ],
    "special_attacks": [
      {
        "type": "spell",
        "id": "sphenocorona_active",
        "spell_data": { "id": "sphenocorona_active", "hit_self": true },
        "allow_no_target": true,
        "condition": {
          "or": [
            { "is_weather": "portal_storm" },
            { "and": [ { "is_weather": "distant_portal_storm" } ] },
            { "is_weather": "close_portal_storm" }
          ]
        },
        "monster_message": "The %s unfolds into an alien robot!",
        "cooldown": 5
      },
      {
        "type": "spell",
        "id": "killer_swarm",
        "spell_data": { "id": "release_the_deltas", "hit_self": true, "min_level": 1 },
        "monster_message": "Shards of gleaming alloy detach from the %s's surface!",
        "cooldown": 60
      }
    ],
    "death_function": { "corpse_type": "BROKEN" }
  },
  {
    "id": "mon_yrax_apeirogon",
    "type": "MONSTER",
    "name": { "str": "Yrax apeirohedron", "str_pl": "Yrax apeirohedra" },
    "description": "Its uncountable surfaces flow against each other in a dazzling sea of gold.",
    "default_faction": "yrax",
    "volume": "50 L",
    "weight": "30 kg",
    "species": [ "ROBOT" ],
    "bodytype": "apeirohedra",
    "material": [ "steel" ],
    "speed": 500,
    "symbol": "Y",
    "morale": 100,
    "hp": 1000000,
    "color": "yellow",
    "aggro_character": false,
    "melee_skill": 10,
    "melee_dice": 300,
    "melee_dice_sides": 10,
    "vision_day": 50,
    "vision_night": 20,
    "anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
    "death_function": { "corpse_type": "NO_CORPSE", "message": "The %s folds away." },
    "flags": [
      "SEES",
      "HEARS",
      "GOODHEARING",
      "NOHEAD",
      "NO_BREATHE",
      "PATH_AVOID_DANGER",
      "PRIORITIZE_TARGETS",
      "HIT_AND_RUN",
      "ELECTRONIC"
    ],
    "path_settings": { "avoid_traps": true, "avoid_dangerous_fields": true },
    "armor": { "bash": 1000, "cut": 1000, "acid": 100, "heat": 100, "bullet": 1000 }
  },
  {
    "id": "mon_yrax_quadraphract",
    "type": "MONSTER",
    "name": "Yrax quadraphract",
    "description": "A gleaming, burnished gold, four legged structure the size of a small vehicle, but much taller; this looks vaguely robotic, but too smooth and perfect to fit in this world.  Its legs are smooth faceted figures, with no visible joints, and hold its gem-like body aloft with an eery, sculpted grace.  At the peak of the gem-body is a deep, goblet-shaped crown that slowly swivels about, pointing at nothing in specific.  Though nothing about its appearance is familiar to you, it nevertheless strikes you with a mixture of awe and dread.",
    "default_faction": "yrax",
    "volume": "930 L",
    "//": "A lot of gold in this bad boy.",
    "weight": "8282 kg",
    "diff": 40,
    "speed": 60,
    "move_skills": { "climb": 9 },
    "material": [ "gold", "steel" ],
    "symbol": "A",
    "aggression": 70,
    "morale": 100,
    "aggro_character": false,
    "color": "yellow",
    "luminance": 20,
    "anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
    "//2": "Takes at least two Carl Gustaff HEDP shells to kill.",
    "hp": 2400,
    "flags": [
      "SEES",
      "HEARS",
      "GOODHEARING",
      "NOHEAD",
      "NO_BREATHE",
      "PACIFIST",
      "PATH_AVOID_DANGER",
      "PRIORITIZE_TARGETS",
      "ELECTRONIC",
      "NOT_HALLUCINATION",
      "ALWAYS_SEES_YOU",
      "FIREPROOF"
    ],
    "path_settings": { "avoid_traps": true, "avoid_dangerous_fields": true },
    "special_attacks": [
      {
        "type": "spell",
        "spell_data": { "id": "quadraphract_control", "min_level": 1, "hit_self": true },
        "allow_no_target": true,
        "monster_message": "",
        "cooldown": 3
      },
      {
        "type": "gun",
        "cooldown": 20,
        "gun_type": "yrax_metaljet_cannon",
        "move_cost": 60,
        "fake_skills": [ [ "gun", 10 ], [ "rifle", 5 ] ],
        "fake_dex": 10,
        "ranges": [ [ 5, 40, "DEFAULT" ] ],
        "require_targeting_npc": true,
        "targeting_cost": 180,
        "laser_lock": true,
        "targeting_timeout": 15,
        "description": "reality seems to warp around the quadraphract's crown as it fires.",
        "targeting_timeout_extend": 0,
        "targeting_sound": "a deep thrumming sound.",
        "targeting_volume": 50
      }
    ],
    "death_function": { "corpse_type": "BROKEN", "message": "The quadraphract collapses, dead at last.", "eoc": "EOC_QUADRAPHRACT_DIES" },
    "weakpoint_sets": [ "wps_yrax_quadraphract" ],
    "armor": { "bash": 1000, "cut": 2000, "acid": 100, "heat": 500, "electric": 100, "bullet": 1000 }
  },
  {
    "id": "mon_yrax_quadraphract_leg",
    "type": "MONSTER",
    "name": { "str": "quadraphract leg" },
    "description": "A morphing lune of burnished gold attached to the greater structure.  Seemingly jointless it moves with a fluid grace, allowing the quadraphract to glide aboveground with a speed and agility that belies its size.",
    "default_faction": "yrax",
    "copy-from": "mon_yrax_quadraphract",
    "symbol": "(",
    "hp": 400,
    "proportional": { "dodge": 0.25, "speed": 1.2 },
    "melee_dice": 6,
    "melee_dice_sides": 15,
    "melee_skill": 4,
    "special_attacks": [ { "id": "smash", "throw_strength": 96 } ],
    "armor": { "bash": 1000, "cut": 2000, "acid": 100, "heat": 500, "electric": 100, "bullet": 1000 },
    "death_function": {
      "corpse_type": "BROKEN",
      "message": "The quadraphract stumbles as one of its legs looses coherence and collapses.",
      "eoc": "EOC_QUADRAPHRACT_HURT"
    },
    "weakpoint_sets": [ "wps_yrax_quadraphract_leg" ],
    "delete": { "flags": [ "PACIFIST" ] },
    "extend": { "flags": [ "DESTROYS" ] }
  },
  {
    "id": "mon_yrax_delta",
    "copy-from": "base_drone",
    "type": "MONSTER",
    "name": { "str": "Yrax delta" },
    "description": "A kite shaped blade of metal, darting through air and foes by indiscernible means.",
    "default_faction": "yrax",
    "weight": "374 g",
    "species": [ "ROBOT" ],
    "volume": "500 ml",
    "vision_day": 50,
    "vision_night": 20,
    "aggression": 7,
    "aggro_character": false,
    "symbol": "^",
    "diff": 2,
    "speed": 120,
    "color": "yellow",
    "melee_skill": 5,
    "melee_dice": 2,
    "melee_dice_sides": 4,
    "anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
    "melee_damage": [ { "damage_type": "cut", "amount": 12 } ],
    "death_function": { "corpse_type": "BROKEN" },
    "extend": { "flags": [ "HIT_AND_RUN" ] },
    "delete": { "flags": [ "PACIFIST" ] },
    "special_attacks": [
      {
        "type": "gun",
        "cooldown": 5,
        "move_cost": 100,
        "gun_type": "yrax_delta_laser_gun",
        "fake_skills": [ [ "gun", 5 ] ],
        "fake_dex": 4,
        "ranges": [ [ 0, 25, "DEFAULT" ] ],
        "targeting_sound": "a fast sequence of clicking tones.",
        "targeting_volume": 50,
        "targeting_cost": 200,
        "targeting_timeout_extend": -10,
        "condition": { "u_has_effect": "yrax_overcharged" }
      },
      {
        "type": "spell",
        "id": "shock_cone",
        "spell_data": { "id": "shock_cone", "min_level": 1 },
        "monster_message": "A bolt of electricity arcs from %s!",
        "cooldown": 15,
        "condition": { "u_has_effect": "yrax_overcharged" }
      }
    ],
    "armor": { "bash": 12, "cut": 18, "acid": 12, "electric": 100, "heat": 8, "bullet": 1 }
  }
]
