[
  {
    "id": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "AR-15" },
    "copy-from": "gun_base_rifle_semi",
    "//": "This is assumed to be the standard model matching the M16. Tileset whitelist for rifles",
    "description": "This ubiquitous rifle is the forefather of the M16 rifle series.  It is lightweight and accurate, but will malfunction if not properly maintained.  This one is a semi-automatic civilian version.",
    "weight": "902 g",
    "volume": "1550 ml",
    "longest_side": "520 mm",
    "//2": "Numbers for weight, volume, and length calculations are based upon an AR-15's complete lower receiver. The difference will be made up for with integrated stats from the installable modular upper receivers.",
    "price": "1 kUSD 250 USD",
    "price_postapoc": "40 USD",
    "material": [ "aluminum", "steel", "plastic" ],
    "ammo": [ "NULL" ],
    "dispersion": 150,
    "min_cycle_recoil": 1350,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "bore", 1 ],
      [ "loading port", 1 ],
      [ "mechanism", 2 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock", 1 ]
    ],
    "flags": [ "NO_TURRET" ]
  },
  {
    "id": "modular_ar_pistol",
    "copy-from": "pistol_base",
    "//": "Based on https://www.aeroprecisionusa.com/m4e1-carbine-complete-lower-a2-grip-no-stock-anodized",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "AR \"pistol\"", "str_pl": "AR \"pistols\"" },
    "description": "The common AR-15 platform, with its stock removed and buffer tube covered by a thick, padded sleeve that allows the user to brace it like a rifle.  AR pistols lack stocks, or have arm braces due to restrictions on short barreled rifles, and so without a stock, they're legally classified as a pistol.",
    "weight": "735 g",
    "volume": "748 ml",
    "longest_side": "373 mm",
    "price": "245 USD",
    "price_postapoc": "35 USD",
    "to_hit": { "grip": "none", "length": "hand", "surface": "any", "balance": "clumsy" },
    "skill": "rifle",
    "material": [ "steel", "aluminum" ],
    "ammo": [ "NULL" ],
    "dispersion": 150,
    "min_cycle_recoil": 1350,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "bore", 1 ],
      [ "loading port", 1 ],
      [ "mechanism", 2 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock", 1 ]
    ],
    "flags": [ "NO_TURRET" ],
    "melee_damage": { "bash": 9 }
  },
  {
    "//": "Groups all 'H&K416' related rifles together. Used M27 due to it being the most popular of the three in the US.",
    "id": "modular_m27_assault_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "copy-from": "gun_base_rifle_semi",
    "name": { "str": "M27 assault rifle" },
    "description": "Designed to replace the M4 Carbine, the M27 assault rifle features most of the former's strengths, while being considerably more durable.  It is chambered in 5.56x45mm and accepts STANAG magazines.",
    "weight": "1222 g",
    "volume": "3407 ml",
    "longest_side": "388 mm",
    "//2": "Numbers for weight, volume, and length calculations are based upon an AR-15's complete lower receiver. The difference will be made up for with integrated stats from the installable modular upper receivers.",
    "price": "5 kUSD 400 USD",
    "price_postapoc": "50 USD",
    "variant_type": "gun",
    "variants": [
      {
        "id": "modular_h&k416a5",
        "name": { "str": "H&K416 A5 rifle" },
        "description": "Designed to replace the M4A1, the Heckler and Koch 416A5 features most of the former's strengths, while being considerably more durable."
      },
      {
        "id": "modular_m27iar",
        "name": { "str": "M27 IAR carbine" },
        "description": "A H&K416 carbine outfitted with a heavier barrel to enable higher amounts of suppressive fire while retaining a good degree of mobility.",
        "ascii_picture": "m27_iar"
      },
      {
        "id": "modular_m38dmr",
        "name": { "str": "M38 DMR rifle" },
        "description": "The M38 Designated Marksman Rifle is an M27 IAR, itself derived from a H&K416, selected for accuracy, and outfitted with a variable power scope and a QDSS suppressor."
      }
    ],
    "to_hit": -1,
    "material": [ "aluminum", "steel", "plastic" ],
    "ammo": [ "NULL" ],
    "dispersion": 180,
    "min_cycle_recoil": 1350,
    "default_mods": [ "retool_ar15_223rem" ],
    "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "bore", 1 ],
      [ "loading port", 1 ],
      [ "mechanism", 2 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock", 1 ]
    ],
    "flags": [ "NO_TURRET" ]
  },
  {
    "id": "scar_l",
    "copy-from": "gun_base_223_semi_rifle",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "FN SCAR-L" },
    "description": "A highly accurate and modular assault rifle specially designed for the United States Special Operations Command.  The 'L' in its name stands for light, as it uses the lightweight .223 round.",
    "ascii_picture": "scar-L",
    "weight": "3490 g",
    "volume": "4957 ml",
    "longest_side": "798 mm",
    "barrel_length": "355 mm",
    "price": "5 kUSD 400 USD",
    "material": [ "steel", "aluminum", "plastic" ],
    "dispersion": 180,
    "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
    "default_mods": [ "high_end_folding_stock" ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "muzzle", 1 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock", 1 ],
      [ "underbarrel", 1 ]
    ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag40ranger",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "survivor223mag"
        ]
      }
    ]
  },
  {
    "id": "scar_16s",
    "copy-from": "scar_l",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "civilian FN SCAR-L rifle" },
    "description": "A highly accurate and modular rifle specially designed for the United States Special Operations Command, in semi-auto only to be sold on the civilian market.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "scar_16s",
        "name": { "str": "FN SCAR 16S" },
        "description": "The SCAR 16S is the civilian-legal version of the SCAR-L rifle.  It is still very expensive, not like that matters now anymore."
      }
    ],
    "ascii_picture": "scar-L",
    "weight": "3289 g",
    "barrel_length": "413 mm",
    "price": "3 kUSD 839 USD",
    "price_postapoc": "20 USD",
    "modes": [ [ "DEFAULT", "semi-auto", 1 ] ]
  },
  {
    "id": "sl8",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "SL8 civilian rifle" },
    "description": "A semi-automatic clone of an older German assault rifle.  Due to importation bans, it is semi-auto and can only feed from 10 round magazines.",
    "weight": "3901 g",
    "volume": "3919 ml",
    "longest_side": "987 mm",
    "barrel_length": "635 mm",
    "price": "1 kUSD 789 USD",
    "price_postapoc": "5 USD",
    "variant_type": "gun",
    "variants": [
      {
        "id": "sl8",
        "name": { "str": "SL8-6" },
        "description": "The SL8 is an importation-legal gun similar to the German G36, made to be semi-auto only, and to only feed from 10 round single stack magazines.  It also features a distinctive thumbhole stock, a polymer handguard, and a top rail for mounting optics."
      }
    ],
    "material": [ "steel", "plastic" ],
    "dispersion": 150,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock mount", 1 ]
    ],
    "pocket_data": [ { "magazine_well": "60 ml", "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "sl8mag" ] } ]
  },
  {
    "id": "m249",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "M249 machine gun" },
    "description": "The M249 is a mountable machine gun used by the US military and SWAT teams.  Quite inaccurate and difficult to control, the M249 is designed to fire many rounds very quickly.",
    "ascii_picture": "m249_saw",
    "weight": "7500 g",
    "volume": "10610 ml",
    "longest_side": "1035 mm",
    "barrel_length": "533 mm",
    "price": "7 kUSD 500 USD",
    "price_postapoc": "20 USD",
    "material": [ "steel", "plastic" ],
    "dispersion": 200,
    "reload": 400,
    "modes": [ [ "DEFAULT", "burst", 4 ] ],
    "built_in_mods": [ "bipod" ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "muzzle", 1 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock mount", 1 ]
    ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "belt223",
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag40ranger",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "survivor223mag"
        ]
      }
    ]
  },
  {
    "id": "m249_semi",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "copy-from": "m249",
    "name": { "str": "M249S machine gun" },
    "description": "This is a semi-automatic civilian variant of the M249 machine gun, manufactured for sport shooting and collectors market.  Notably, it retains the ability to be belt fed, an uncommon feature in civilian firearms.",
    "modes": [ [ "DEFAULT", "semi-auto", 1 ] ]
  },
  {
    "id": "modular_m4_carbine",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "copy-from": "gun_base_rifle_semi",
    "name": { "str": "M4 carbine" },
    "description": "A popular carbine, long used by the US military.  Though accurate, small, and lightweight, it is infamous for its unreliability when not properly maintained.  It is chambered in 5.56x45mm and accepts STANAG magazines.",
    "ascii_picture": "modular_m4a1",
    "weight": "880 g",
    "volume": "1760 ml",
    "longest_side": "470 mm",
    "//": "The volume, weight, and overall length of an average AR-15's complete upper receiver module have been deducted and will be made up for by the installable upper assemblies.",
    "price": "2 kUSD 400 USD",
    "price_postapoc": "50 USD",
    "variant_type": "gun",
    "variants": [
      {
        "id": "modular_m4a1",
        "name": { "str": "M4A1 carbine" },
        "description": "A popular carbine, long used by the US military.  Though accurate, small, and lightweight, it is infamous for its unreliability when not properly maintained.",
        "ascii_picture": "modular_m4a1"
      },
      {
        "id": "m4_cqbr",
        "name": { "str": "Mk 18 CQBR carbine" },
        "description": "This is a shorter M4 carbine with a 10.3 inch barrel, intended for confined spaces and close quarters battle situations.",
        "weight": 0
      }
    ],
    "material": [ "aluminum", "steel", "plastic" ],
    "ammo": [ "NULL" ],
    "dispersion": 180,
    "min_cycle_recoil": 1350,
    "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "bore", 1 ],
      [ "loading port", 1 ],
      [ "mechanism", 2 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock", 1 ]
    ],
    "flags": [ "NO_TURRET" ],
    "//2": "This should be removed once vehicle turrets are capable of mounting guns with mods attached. As it stands, trying to mount this style of weapon would require the player to remove the conversion kit, thus rendering it unusable anyhow."
  },
  {
    "id": "modular_m16a4",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "copy-from": "modular_m4_carbine",
    "name": { "str": "M16 burst rifle" },
    "description": "The M16 is a common assault rifle descended from the AR-15, used by militaries across the world for over 50 years.  It fires in three round bursts, ensuring the rifle is more accurate, but at the cost of being slower than other assault rifles.  It is chambered in 5.56x45mm rounds, and accepts STANAG magazines.",
    "weight": "992 g",
    "volume": "3480 ml",
    "longest_side": "495 mm",
    "//": "The volume, weight, and overall length of an average AR-15's complete upper receiver module with a 20-inch barrel have been deducted and will be made up for by the installable upper assemblies.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "modular_m16a4",
        "name": { "str": "M16A4 rifle" },
        "description": "The M16 is a very common assault rifle descended from the AR-15, used by militaries across the world for over 50 years.  It is a gas-operated, rotating bolt rifle known for its accuracy and controllable recoil."
      }
    ],
    "material": [ "aluminum", "steel", "plastic" ],
    "default_mods": [ "adjustable_stock", "retool_ar15_223rem_extended" ],
    "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "3 rd.", 3 ] ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "bore", 1 ],
      [ "loading port", 1 ],
      [ "mechanism", 2 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock", 1 ]
    ],
    "//2": "This should be removed once vehicle turrets are capable of mounting guns with mods attached. As it stands, trying to mount this style of weapon would require the player to remove the conversion kit, thus rendering it unusable anyhow."
  },
  {
    "//": "Figured having 'm16' in the name would make it more understandable, seeing as I named 2 of the .223 rifle groups/names after it.",
    "id": "modular_m16_auto_rifle",
    "copy-from": "modular_m16a4",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "M16 auto rifle" },
    "description": "The M16 is a very common assault rifle descended from the AR-15, used by militaries across the world for over 50 years.  Unlike its more common brother, the M16 burst rifle, this one has full-auto capabilities.  It is chambered in 5.56x45mm and accepts STANAG magazines.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "modular_m16a3",
        "name": { "str": "M16A3 rifle" },
        "description": "The M16 is a very common assault rifle descended from the AR-15, used by militaries across the world for over 50 years.  It is a gas-operated, rotating bolt rifle known for its accuracy and controllable recoil.  This one is a relatively rare M16A3, with full auto capability."
      }
    ],
    "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
    "flags": [ "NO_TURRET" ],
    "//2": "This should be removed once vehicle turrets are capable of mounting guns with mods attached. As it stands, trying to mount this style of weapon would require the player to remove the conversion kit, thus rendering it unusable anyhow."
  },
  {
    "id": "ruger_mini",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "Ruger Mini-14 carbine" },
    "description": "A small, lightweight semi-auto carbine designed for civilian and police use.  Its superb accuracy and low recoil makes it more suitable than full-auto rifles for some situations.",
    "ascii_picture": "mini-14",
    "weight": "3180 g",
    "volume": "2900 ml",
    "longest_side": "977 mm",
    "barrel_length": "406 mm",
    "price": "921 USD",
    "material": [ "steel", "wood" ],
    "dispersion": 100,
    "barrel_volume": "500 ml",
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "bore", 1 ],
      [ "loading port", 1 ],
      [ "mechanism", 2 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock", 1 ]
    ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [ "ruger20", "ruger5", "ruger10", "ruger30", "ruger90", "ruger100", "ruger_makeshiftmag" ]
      }
    ]
  },
  {
    "//": "Changed from SG 553, which itself was originally the Sig 550, to the civilian legal copy",
    "id": "sig_assault_rifle",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "SIG civilian rifle" },
    "description": "A civilian variant of an automatic Swiss rifle for military service.  Accepts STANAG magazines.",
    "weight": "4100 g",
    "volume": "3146 ml",
    "longest_side": "1020 mm",
    "barrel_length": "406 mm",
    "price": "3 kUSD 200 USD",
    "variant_type": "gun",
    "variants": [
      {
        "id": "sig553",
        "name": { "str": "SIG SG 556" },
        "description": "The SG 556 is a civilian model of the Swiss SIG SG 550 series, manufactured in New Hampshire.  It lacks any automatic fire capability and has a 16 inch barrel, but still retains a folding stock, with the feature of feeding from STANAG magazines instead of the SG 550 series magazines."
      }
    ],
    "material": [ "steel", "plastic" ],
    "dispersion": 180,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "mechanism", 2 ],
      [ "rail mount", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock mount", 1 ],
      [ "underbarrel mount", 1 ]
    ],
    "built_in_mods": [ "folding_stock" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag40ranger",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "survivor223mag"
        ]
      }
    ]
  },
  {
    "id": "steyr_aug",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "AUG assault rifle" },
    "description": "An assault rifle chambered in 5.56x45mm and accepting AUG magazines",
    "weight": "3500 g",
    "volume": "3520 ml",
    "longest_side": "715 mm",
    "barrel_length": "508 mm",
    "price": "4 kUSD 900 USD",
    "variant_type": "gun",
    "variants": [
      {
        "id": "steyr_aug",
        "name": { "str": "Steyr AUG" },
        "description": "The Steyr AUG is an Austrian assault rifle that uses a bullpup design.  It is used in the armed forces and police forces of many nations, and enjoys low recoil and high accuracy."
      }
    ],
    "material": [ "steel", "plastic" ],
    "dispersion": 140,
    "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
    "built_in_mods": [ "grip" ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "muzzle", 1 ],
      [ "rail mount", 1 ],
      [ "sights mount", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock mount", 1 ]
    ],
    "pocket_data": [
      { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "augmag_30rd", "augmag_10rd", "augmag_42rd", "augmag_100rd" ] }
    ]
  },
  {
    "id": "ak556",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "ZPAP AK-style rifle" },
    "description": "A civilian AK pattern rifle, chambered in 5.56x45 NATO.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "zpapm90",
        "name": { "str": "ZPAP M90" },
        "description": "A Serbian-made AK pattern rifle made by Zastava in 5.56x45mm NATO.  To avoid import restrictions, Zastava USA has added a number of American-made parts."
      }
    ],
    "weight": "3402 g",
    "volume": "2167 ml",
    "longest_side": "99 cm",
    "barrel_length": "465 mm",
    "price": "795 USD",
    "material": [ "steel", "wood" ],
    "dispersion": 180,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock mount", 1 ],
      [ "underbarrel mount", 1 ]
    ],
    "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "zpap85mag" ] } ]
  },
  {
    "id": "mdrx",
    "copy-from": "rifle_semi",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "Desert Tech bullpup carbine" },
    "description": "Produced by the Desert Tech gun company, this is a highly modular, semi-automatic rifle of remarkably modest dimensions.  The weapon is notable for the simplicity of converting it to fire a wide number of different cartridges, with retool kits for .223 Remington, .308 Winchester, and .300 AAC Blackout being available.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "mdrx",
        "name": { "str": "Desert Tech MDRX carbine" },
        "description": "Bringing a compact, highly modular, and soft-recoiling weapon system to the table, the Desert Tech Micro Dynamic Rifle Extreme (MDRX) is a gas-operated bullpup carbine originally unveiled in 2014, with this updated model of the weapon having been released in 2019.  One of the rifle's most notable features is the utter simplicity of swapping the carbine's chambering, with an easy change of the barrel, bolt, and a handful of other components being all the steps required to chamber the MDRX for either .223 Remington, .308 Winchester, or .300 AAC Blackout."
      }
    ],
    "weight": "3080 g",
    "volume": "3121 ml",
    "longest_side": "402 mm",
    "//": "The length, weight, and volume numbers are assigned to, roughly, represent an MDRX without a protruding barrel. the difference will be made up for with the installable conversion kits.",
    "price": "1 kUSD 739 USD",
    "price_postapoc": "40 USD",
    "to_hit": -1,
    "material": [ "aluminum", "steel", "plastic" ],
    "symbol": "(",
    "color": "dark_gray",
    "ammo": [ "NULL" ],
    "dispersion": 150,
    "durability": 8,
    "min_cycle_recoil": 1250,
    "valid_mod_locations": [
      [ "bore", 1 ],
      [ "grip", 1 ],
      [ "mechanism", 2 ],
      [ "rail", 2 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 2 ],
      [ "underbarrel", 1 ]
    ],
    "flags": [ "NO_TURRET" ],
    "//2": "This should be removed once vehicle turrets are capable of mounting guns with mods attached. As it stands, trying to mount this style of weapon would require the player to remove the conversion kit, thus rendering it unusable anyhow.",
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag40ranger",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "ar10mag_20rd",
          "ar10mag_10rd",
          "ar10mag_25rd",
          "ar10mag_50rd",
          "ar10_makeshiftmag",
          "survivor223mag"
        ]
      }
    ],
    "melee_damage": { "bash": 10 }
  },
  {
    "id": "bren2_556",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "Bren 5.56x45mm carbine" },
    "description": "A semi-automatic clone of the Czech Republic's standard infantry carbine, sold for civilian sport shooting and recreational use, this modular rifle makes use of the standard magazines of the AR-15 platform and a 5.56x45mm cartridge.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "bren2_556",
        "name": { "str": "CZ Bren 2 carbine" },
        "description": "Hailing from the Czech Republic, this modular carbine supplanted the older CZ 805 rifle within Czech military use, improving upon the former's features and bringing fully ambidextrous controls, a streamlined design, and an easily adjustable gas system to the table.  Chambered for the 5.56x45mm NATO cartridge, this particular weapon possesses a 16.5-inch barrel and is a civilian MS, 'modular semi-automatic,' model.  Incorporating a number of US-made parts, the weapon features a removable muzzle break rather than the flash hider that comes standard with military rifles."
      }
    ],
    "weight": "3450 g",
    "volume": "4200 ml",
    "longest_side": "91 cm",
    "barrel_length": "419 mm",
    "price": "2 kUSD 259 USD",
    "material": [ "steel", "aluminum", "plastic" ],
    "dispersion": 140,
    "default_mods": [ "folding_stock", "muzzle_brake" ],
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "muzzle", 1 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "stock mount", 1 ],
      [ "underbarrel", 1 ]
    ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag40ranger",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "survivor223mag"
        ]
      }
    ]
  },
  {
    "id": "cz600",
    "copy-from": "rifle_manual",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "bolt-action trail carbine" },
    "description": "Compact, svelte, and lightweight, this Leen bolt-action rifle packs the same features of larger sporting weapons into a backpack-sized package.  Possessing an adjustable buttstock, a detachable magazine-based system, and a quick-swap barrel that can be exchanged to accommodate the firing of .223 Remington or 7.62x39mm Soviet ammunition, the weapon is a commendable backpacker or prepper rifle.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "cz600",
        "name": { "str": "CZ 600 TRAIL rifle" },
        "description": "A handy bolt-action offering from CZ, the 600 Trail is a box magazine-fed ranch rifle that utilizes an aluminum chassis to keep its overall heft to a minimum.  Possessing an extendable buttstock, extensive modularity, and a quick-swap barrel assembly switchable to accommodate the firing of either .223 or 7.62x39mm ammunition, the rifle was intended for use by backpackers, trail hikers, and preppers."
      }
    ],
    "weight": "1800 g",
    "volume": "2500 ml",
    "longest_side": "384 mm",
    "//": "The size calculations are taken from a CZ 600 with a half-extended buttstock, sitting at 790 mm, between the minimum and maximum of 690 and 890 mm. In addition, the length of a 16-inch barrel has been deducted and will be made up for by the installable barrel assemblies.",
    "price": "1 kUSD 155 USD",
    "price_postapoc": "40 USD",
    "to_hit": -1,
    "material": [ "aluminum", "steel", "plastic" ],
    "symbol": "(",
    "color": "dark_gray",
    "ammo": [ "NULL" ],
    "dispersion": 150,
    "durability": 8,
    "built_in_mods": [ "adjustable_stock" ],
    "valid_mod_locations": [
      [ "bore", 1 ],
      [ "mechanism", 2 ],
      [ "rail", 2 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 2 ],
      [ "stock", 1 ]
    ],
    "flags": [ "NO_TURRET", "EASY_CLEAN" ],
    "//2": "This should be removed once vehicle turrets are capable of mounting guns with mods attached. As it stands, trying to mount this style of weapon would require the player to remove the conversion kit, thus rendering it unusable anyhow.",
    "melee_damage": { "bash": 10 }
  },
  {
    "id": "rdb_223",
    "copy-from": "rifle_semi",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "5.56x45mm bullpup rifle" },
    "description": "This is a semi-automatic bullpup rifle with a lightened body due to the use of polymers and aluminum, using standard magazines of the AR-15 platform and a 5.56x45mm cartridge.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "rdb_223",
        "name": { "str": "Kel-Tec RDB rifle" },
        "description": "This is a semi-automatic bullpup rifle with a lightened body due to the use of polymers and aluminum, using standard magazines from the AR-15 platform and the 5.56 NATO cartridge.  The name stands for rifle, downward-ejection, bullpup, and its design was intended to incorporate some technical solutions, such as downward case ejection and convenience for left-handers, to solve some problems with bullpup guns.  However, the good idea's execution is not as perfect as the manufacturer (and user) would like.  No good idea from Kel-Tec is immune to Kel-Tec manufacturing issues, sadly."
      }
    ],
    "weight": "3200 g",
    "volume": "3421 ml",
    "longest_side": "693 mm",
    "barrel_length": "439 mm",
    "price": "1 kUSD",
    "price_postapoc": "40 USD",
    "material": [ "steel", "aluminum", "plastic" ],
    "symbol": "(",
    "color": "dark_gray",
    "ammo": [ "223" ],
    "dispersion": 180,
    "sight_dispersion": 500,
    "durability": 6,
    "min_cycle_recoil": 1350,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "muzzle", 1 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "underbarrel", 1 ]
    ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag40ranger",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "survivor223mag"
        ]
      }
    ],
    "melee_damage": { "bash": 10 }
  },
  {
    "id": "iwi_tavor_x95_300blk",
    "//": "Yes the ID says 300blk.  The old .300 version didn't meet the inclusion criteria, but the 556 one did so it was changed to 556.  Since it feeds from the same magazines, a migration wasn't need and the old ID was kept.",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "IWI Tavor X95" },
    "description": "The Tavor is an Israeli series of bullpup rifles designed and produced by Israel Weapon Industries.  This is the Tavor X95, a civilian-legal rifle lacking any full-auto capability, and sporting a 16.5\" barrel.  Chambered in 5.56/.223, this rifle feeds from STANAG magazines.",
    "weight": "3583 g",
    "volume": "2400 ml",
    "longest_side": "665 mm",
    "barrel_length": "419 mm",
    "price": "4 kUSD 900 USD",
    "material": [ "steel", "plastic" ],
    "dispersion": 140,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "muzzle", 1 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "underbarrel mount", 1 ]
    ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "survivor223mag"
        ]
      }
    ],
    "melee_damage": { "bash": 12 }
  },
  {
    "id": "mp_15",
    "//": "Based on https://www.smith-wesson.com/product/mp15-sport-iii-10rd-fixed-stock-compliant",
    "copy-from": "gun_base_223_semi_rifle",
    "looks_like": "modular_ar15",
    "type": "ITEM",
    "subtypes": [ "GUN" ],
    "name": { "str": "sporter AR rifle" },
    "description": "A lightweight AR-15 platform rifle, capable of feeding standard AR magazines.  Unlike the military versions, it has no threaded barrel or collapsing stock.",
    "variant_type": "gun",
    "variants": [
      {
        "id": "mp_15",
        "name": { "str": "M&P 15" },
        "description": "S&Ws version of the AR-15, the M&P-15 is a very common rifle.  Despite being very similar to an AR-15 in both form and function, the receivers and uppers are incompatible."
      }
    ],
    "weight": "2903 g",
    "volume": "3677 ml",
    "longest_side": "876 mm",
    "barrel_length": "406 mm",
    "price": "799 USD",
    "material": [ "steel", "plastic" ],
    "dispersion": 150,
    "valid_mod_locations": [
      [ "barrel", 1 ],
      [ "brass catcher", 1 ],
      [ "mechanism", 2 ],
      [ "rail", 1 ],
      [ "sights", 1 ],
      [ "sling", 1 ],
      [ "stock accessory", 1 ],
      [ "underbarrel mount", 1 ]
    ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "item_restriction": [
          "stanag30",
          "stanag5",
          "stanag5ranger",
          "stanag10",
          "stanag10ranger",
          "stanag20",
          "stanag20ranger",
          "stanag30ranger",
          "stanag40",
          "stanag50",
          "stanag60",
          "stanag60drum",
          "stanag90",
          "stanag100",
          "stanag100drum",
          "stanag150",
          "survivor223mag"
        ]
      }
    ]
  }
]
