[
  {
    "id": "changeling_thrown_knife",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "symbol": "%",
    "color": "red",
    "name": { "str": "thrown knife" },
    "description": "Shiny reflective throwing knife at the ready.",
    "material": [ "stone" ],
    "flags": [
      "PRIMITIVE_RANGED_WEAPON",
      "NEVER_JAMS",
      "NONCONDUCTIVE",
      "NO_REPAIR",
      "WATERPROOF_GUN",
      "NO_SALVAGE",
      "NO_UNLOAD",
      "NO_TURRET"
    ],
    "skill": "throw",
    "ammo": [ "throwing_knives" ],
    "ammo_effects": [ "NO_PENETRATE_OBSTACLES", "NEVER_MISFIRES" ],
    "ranged_damage": { "damage_type": "cut", "amount": -1 },
    "clip_size": 1,
    "weight": "540 g",
    "volume": "210 ml",
    "longest_side": "75 mm",
    "to_hit": 1,
    "loudness": 2,
    "range": 6,
    "dispersion": 150,
    "durability": 8,
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE",
        "rigid": true,
        "max_contains_volume": "200 L",
        "max_contains_weight": "400 kg",
        "max_item_length": "2000 m",
        "ammo_restriction": { "throwing_knives": 3 }
      }
    ],
    "melee_damage": { "bash": 2 }
  },
  {
    "type": "monster_attack",
    "attack_type": "melee",
    "id": "sharp_objects",
    "cooldown": 25,
    "move_cost": 150,
    "damage_max_instance": [ { "damage_type": "stab", "amount": 10, "armor_penetration": 8, "armor_multiplier": 0.5 } ],
    "hitsize_min": 4,
    "effects": [ { "id": "bleed", "duration": 100, "affect_hit_bp": true } ],
    "hit_dmg_u": "%1$s impales your %2$s!",
    "hit_dmg_npc": "%1$s impales <npcname>!",
    "miss_msg_u": "%1$s tries to impale your %2$s, but you dodge!",
    "miss_msg_npc": "%1$s tries to impale <npcname>, but they dodge!",
    "no_dmg_msg_u": "%1$s tries to impale your %2$s, but fails to penetrate your armor!",
    "no_dmg_msg_npc": "%1$s tries to impale <npcname>, but fails to penetrate their armor!",
    "dodgeable": true,
    "blockable": true
  },
  {
    "id": "renfield_glock",
    "copy-from": "pistol_base",
    "looks_like": "glock_19",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str_sp": "Glock 19", "//~": "NO_I18N" },
    "description": { "str": "A poorly maintained and inaccurate version of the Glock 19 for renfields.", "//~": "NO_I18N" },
    "ascii_picture": "glock_19",
    "weight": "600 g",
    "volume": "386 ml",
    "longest_side": "211 mm",
    "price": "650 USD",
    "price_postapoc": "25 USD",
    "ranged_damage": { "damage_type": "bullet", "amount": -4 },
    "material": [ "steel", "aluminum" ],
    "symbol": "(",
    "color": "dark_gray",
    "ammo": [ "9mm" ],
    "range": 1,
    "dispersion": 4800,
    "durability": 7,
    "min_cycle_recoil": 450,
    "weapon_category": [ "AUTOMATIC_PISTOLS" ],
    "pocket_data": [
      {
        "magazine_well": "250 ml",
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [ "glockmag", "glockbigmag", "glock17_17", "glock17_22", "glock_drum_50rd", "glock_drum_100rd" ]
      }
    ],
    "melee_damage": { "bash": 8 }
  },
  {
    "id": "renfield_remington",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "symbol": "R",
    "color": "dark_gray",
    "name": { "str_sp": "renfield Remington", "//~": "NO_I18N" },
    "description": { "str": "A fake shotgun for renfields (because monster aiming is too lethal).", "//~": "NO_I18N" },
    "material": [ "steel", "aluminum", "plastic" ],
    "skill": "shotgun",
    "flags": [ "NONCONDUCTIVE", "NO_REPAIR", "NO_SALVAGE", "NO_UNLOAD", "RELOAD_AND_SHOOT" ],
    "ammo": [ "shot" ],
    "clip_size": 5,
    "weight": "3400 g",
    "volume": "2487 ml",
    "longest_side": "1234 mm",
    "dispersion": 3250,
    "range": 65,
    "durability": 9,
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 5 } } ],
    "melee_damage": { "bash": 3 }
  },
  {
    "id": "feral_57",
    "copy-from": "pistol_base",
    "looks_like": "fn57",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str_sp": "FN Five-seveN", "//~": "NO_I18N" },
    "description": { "str": "A poorly maintained and inaccurate version of the Five-seveN for feral agents.", "//~": "NO_I18N" },
    "ascii_picture": "FN_five_seven",
    "weight": "600 g",
    "volume": "551 ml",
    "longest_side": "164 mm",
    "price": "650 USD",
    "price_postapoc": "25 USD",
    "ranged_damage": { "damage_type": "bullet", "amount": -5 },
    "material": [ "steel", "aluminum" ],
    "symbol": "(",
    "color": "light_gray",
    "ammo": [ "57" ],
    "range": 1,
    "dispersion": 4800,
    "durability": 7,
    "min_cycle_recoil": 120,
    "weapon_category": [ "AUTOMATIC_PISTOLS" ],
    "pocket_data": [ { "magazine_well": "250 ml", "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "fn57mag" ] } ],
    "melee_damage": { "bash": 6 }
  },
  {
    "id": "feral_p90",
    "looks_like": "hk_mp5",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "reload_noise_volume": 10,
    "name": { "str": "P90 automatic PDW", "//~": "NO_I18N" },
    "description": {
      "str": "A late 90s manufactured personal defense weapon (PDW), this automatic firearm fires the high-velocity, proprietary 5.7x28mm cartridge.  Making use of top-mounted 50-round custom magazines which lock into the receiver of the weapon behind the grip, this little submachine gun packs quite the nasty payload.  Its small, high-speed caliber makes it excellent at both defeating armored opponents and firing short bursts manageably.",
      "//~": "NO_I18N"
    },
    "weight": "2640 g",
    "volume": "3817 ml",
    "longest_side": "511 mm",
    "barrel_length": "264 mm",
    "price": "3 kUSD 500 USD",
    "price_postapoc": "35 USD",
    "material": [ "steel", "plastic" ],
    "symbol": "(",
    "color": "light_gray",
    "ranged_damage": { "damage_type": "bullet", "amount": -5 },
    "range": 4,
    "ammo": [ "57" ],
    "skill": "smg",
    "dispersion": 4800,
    "durability": 8,
    "min_cycle_recoil": 81,
    "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 5 ] ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "muzzle", 1 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 2 ]
    ],
    "faults": [
      { "fault": "fault_gun_blackpowder" },
      { "fault": "fault_gun_dirt" },
      { "fault": "fault_gun_chamber_spent" },
      { "fault": "fault_fail_to_feed" },
      { "fault": "fault_stovepipe" },
      { "fault": "fault_double_feed" }
    ],
    "pocket_data": [ { "magazine_well": "500 ml", "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "fnp90mag" ] } ],
    "melee_damage": { "bash": 10 }
  },
  {
    "id": "shifting",
    "type": "SPELL",
    "name": { "str": "Duplicator Shifting", "//~": "NO_I18N" },
    "description": { "str": "Constantly teleports you around.", "//~": "NO_I18N" },
    "message": "",
    "effect": "short_range_teleport",
    "shape": "blast",
    "valid_targets": [ "self", "ground", "none" ],
    "flags": [ "SILENT", "RANDOM_TARGET" ],
    "min_aoe": 4,
    "max_aoe": 4
  },
  {
    "id": "duplicate_shifter",
    "type": "SPELL",
    "name": { "str": "Summon Shifter (Monster Version)", "//~": "NO_I18N" },
    "description": {
      "str": "Summon a shifter.  Monster version, the creature exists for 1-2 seconds.  Mostly decorative effect to show 'glitchiness'.",
      "//~": "NO_I18N"
    },
    "message": "",
    "valid_targets": [ "ground" ],
    "min_damage": 1,
    "max_damage": 1,
    "effect": "summon",
    "effect_str": "mon_shifter",
    "shape": "blast",
    "min_aoe": 1,
    "max_aoe": 1,
    "flags": [ "NO_EXPLOSION_SFX", "RANDOM_DURATION" ],
    "min_duration": 100,
    "max_duration": 200
  },
  {
    "id": "sapient_light_damage",
    "type": "SPELL",
    "name": { "str": "Sapient Damage", "//~": "NO_I18N" },
    "description": { "str": "Deal some damage.  You can't see it except in debug mode.", "//~": "NO_I18N" },
    "message": "",
    "effect": "attack",
    "shape": "cone",
    "valid_targets": [ "hostile", "ground", "item" ],
    "flags": [ "SILENT", "IGNORE_WALLS", "RANDOM_AOE", "RANDOM_DAMAGE" ],
    "min_damage": 60,
    "max_damage": 150,
    "min_bash_scaling": 3,
    "max_bash_scaling": 4,
    "min_range": 9,
    "max_range": 9,
    "min_aoe": 25,
    "max_aoe": 50,
    "damage_type": "pure",
    "sound_description": "a loud whisper",
    "extra_effects": [ { "id": "sapient_light_damage_player" } ]
  },
  {
    "id": "sapient_light_damage_player",
    "type": "SPELL",
    "name": { "str": "Sapient Player Damage", "//~": "NO_I18N" },
    "description": { "str": "Deal 34% of player's HP damage to player.  You can't see it except in debug mode.", "//~": "NO_I18N" },
    "message": "",
    "effect": "attack",
    "shape": "cone",
    "valid_targets": [ "ally" ],
    "flags": [ "SILENT", "IGNORE_WALLS", "PERCENTAGE_DAMAGE", "NO_EXPLOSION_SFX" ],
    "min_damage": 34,
    "max_damage": 34,
    "min_bash_scaling": 5.3,
    "max_bash_scaling": 17.6,
    "min_range": 9,
    "max_range": 9,
    "min_aoe": 50,
    "max_aoe": 50,
    "damage_type": "pure"
  },
  {
    "type": "SPELL",
    "id": "duplicator_spawn_pawn",
    "name": { "str": "Summon Duplicator Pawn", "//~": "NO_I18N" },
    "description": { "str": "Summon 1 short life pawn.", "//~": "NO_I18N" },
    "message": "",
    "flags": [ "PERMANENT", "NO_EXPLOSION_SFX" ],
    "valid_targets": [ "ground" ],
    "min_damage": 1,
    "max_damage": 1,
    "min_aoe": 3,
    "max_aoe": 3,
    "shape": "blast",
    "effect": "summon",
    "effect_str": "mon_duplicator_pawn"
  },
  {
    "id": "ophanim_death",
    "type": "SPELL",
    "name": { "str": "Ophanim Death", "//~": "NO_I18N" },
    "description": { "str": "AoE cut damage, when ophanim dies.", "//~": "NO_I18N" },
    "message": "",
    "valid_targets": [ "self", "hostile", "ground" ],
    "effect": "attack",
    "shape": "blast",
    "min_damage": 45,
    "max_damage": 99,
    "damage_type": "cut",
    "flags": [ "SILENT", "RANDOM_DAMAGE", "RANDOM_AOE" ],
    "min_aoe": 7,
    "max_aoe": 10
  },
  {
    "id": "zombie_monochrome_reset_hp",
    "type": "SPELL",
    "name": { "str": "Reset HP", "//~": "NO_I18N" },
    "description": { "str": "Heals 100% of health.  Players should not have this spell.", "//~": "NO_I18N" },
    "message": "",
    "effect": "attack",
    "shape": "blast",
    "valid_targets": [ "ally", "self" ],
    "flags": [ "SILENT", "IGNORE_WALLS", "PERCENTAGE_DAMAGE", "NO_EXPLOSION_SFX" ],
    "min_damage": -200,
    "max_damage": -200,
    "min_range": 0,
    "max_range": 0,
    "damage_type": "pure"
  },
  {
    "id": "xedra_monster_erosion_attack",
    "type": "SPELL",
    "name": { "str": "Monster Erosion - Attack", "//~": "NO_I18N" },
    "description": "This causes the dot when attacking targets with the erosion buff.  Having the spell is a bug.  Monster version",
    "valid_targets": [ "hostile", "ground", "none" ],
    "flags": [ "SILENT", "NO_PROJECTILE", "NO_EXPLOSION_SFX", "RANDOM_DAMAGE", "RANDOM_DURATION", "SPLIT_DAMAGE" ],
    "message": "monster erosion attack",
    "effect": "attack",
    "shape": "blast",
    "min_dot": 5,
    "max_dot": 5,
    "min_range": 10,
    "max_range": 10,
    "min_duration": 1000,
    "max_duration": 1000,
    "damage_type": "pure"
  },
  {
    "id": "xedra_monster_erosion_buff",
    "type": "SPELL",
    "name": { "str": "Monster Erosion - Buff", "//~": "NO_I18N" },
    "description": "This gives the monster the erosion buff.  Having the spell is a bug.  Monster version",
    "valid_targets": [ "self" ],
    "flags": [ "SILENT", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "effect": "attack",
    "effect_str": "effect_xedra_monster_erosion",
    "shape": "blast",
    "min_duration": 100000,
    "max_duration": 100000,
    "min_range": 0,
    "max_range": 0
  },
  {
    "id": "xedra_death_boomer_monochrome",
    "type": "SPELL",
    "name": { "str": "Monochrome Boomer Death", "//~": "NO_I18N" },
    "description": { "str": "Time explosion.", "//~": "NO_I18N" },
    "valid_targets": [ "ground", "hostile", "ally", "self" ],
    "flags": [ "NO_EXPLOSION_SFX" ],
    "min_aoe": 1,
    "max_aoe": 2,
    "aoe_increment": 1,
    "max_level": 1,
    "min_duration": 180000,
    "max_duration": 180000,
    "shape": "blast",
    "effect": "attack",
    "effect_str": "effect_xedra_time_freeze",
    "field_chance": 1,
    "field_id": "fd_frozen_time",
    "min_field_intensity": 10,
    "max_field_intensity": 10,
    "extra_effects": [ { "id": "death_explosion", "hit_self": true } ]
  }
]
