These are working versions of the files. They have been copied from item-migration, a derivative work of Cataclysm-DDA created by BorkBorkGoesTheCode. Cataclysm-DDA was created by the community. you can find them at this forum and at https://github.com/CleverRaven/Cataclysm-DDA. Cataclysm-DDA is a derivative work of Cataclysm, created by Whales. His github account can be found here: https://github.com/Whales. They are distributed under the terms of the Creative Commons Attribution ShareAlike 3.0 license.
To fix the affected file, open it with a text editor and erase it’s contents, then copy the code below into the file and save it.
gun/9mm.json
[
{
"id": "briefcase_smg",
"type": "GUN",
"name": "briefcase SMG",
"description": "A custom built 9mm submachine gun camouflaged to look as the average businessman suitcase, panes of cutting edge materials and its clever internal construction allowed it to bypass even the most scrupulous of security checkpoints. Due to the fact that the average security guard is now only concerned in eating you, this million dollar baby has been reduced to little more than a novelty item.",
"weight": 2640,
"volume": 5,
"price": 400000,
"bashing": 15,
"material": ["steel", "leather"],
"symbol": "[",
"color": "dark_gray",
"armor_data": {
"covers": ["ARM_EITHER", "HAND_EITHER"],
"coverage": 10,
"material_thickness": 1,
"encumbrance": 30,
"warmth": 0
},
"skill": "smg",
"ammo": "9mm",
"dispersion": 255,
"sight_dispersion": 75,
"aim_speed": 5,
"durability": 8,
"modes": [
[ "DEFAULT", "semi-auto", 1 ],
[ "BURST", "3 rd.", 3 ],
[ "AUTO", "auto", 5 ]
],
"magazines": [
[ "9mm", [ "stenmag", "survivor9mm_mag" ] ],
[ "22", [ "a180mag" ] ],
[ "45", [ "thompson_mag", "thompson_bigmag", "thompson_drum" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fnp90mag" ] ]
],
"flags": [ "OVERSIZE", "BELTED", "FANCY", "RESTRICT_HANDS" ]
},
{
"id": "calico",
"type": "GUN",
"name": "Calico M960",
"name_plural": "Calico M960",
"description": "The Calico M960 is an automatic carbine with a unique circular magazine that allows for high capacities and reduced recoil.",
"weight": 1680,
"volume": 4,
"price": 240000,
"bashing": 9,
"to_hit": -2,
"material": "steel",
"symbol": "(",
"color": "dark_gray",
"skill": "smg",
"ammo": "9mm",
"ranged_damage": 2,
"dispersion": 300,
"sight_dispersion": 105,
"aim_speed": 3,
"recoil": -60,
"durability": 6,
"burst": 20,
"valid_mod_locations": [ [ "accessories", 3 ], [ "barrel", 1 ], [ "bore", 1 ], [ "grip", 1 ], [ "mechanism", 4 ], [ "muzzle", 1 ], [ "rail", 1 ], [ "sights", 1 ], [ "stock", 1 ], [ "underbarrel", 1 ] ],
"magazine_well": 1,
"magazines": [
[ "9mm", [ "calicomag" ] ],
[ "22", [ "a180mag" ] ],
[ "45", [ "thompson_drum" ] ],
[ "57", [ "fnp90mag" ] ]
]
},
{
"id": "cx4",
"type": "GUN",
"name": "Cx4 Storm",
"description": "A small pistol caliber carbine designed for police use and civilian self-defense, the Cx4 Storm uses magazines that are interchangeable with other Beretta 9mm handguns.",
"weight": 2300,
"volume": 6,
"price": 90000,
"bashing": 8,
"to_hit": -1,
"material": ["steel", "plastic"],
"symbol": "(",
"color": "dark_gray",
"skill": "rifle",
"ammo": "9mm",
"ranged_damage": 2,
"range": 20,
"dispersion": 180,
"sight_dispersion": 75,
"aim_speed": 5,
"recoil": -15,
"durability": 10,
"barrel_length": 1,
"valid_mod_locations": [[ "accessories", 4 ],[ "barrel", 1 ],[ "bore", 1 ],[ "grip", 1 ],[ "mechanism", 4 ],[ "muzzle", 1 ],[ "rail", 1 ],[ "sights", 1 ],[ "stock", 1 ],[ "underbarrel", 1 ]],
"magazine_well": 1,
"magazines": [
[ "9mm", [ "m9bigmag", "m9mag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "m1911mag", "m1911bigmag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
},
{
"id": "glock_19",
"copy-from": "pistol_base",
"type": "GUN",
"name": "Glock 19",
"description": "Possibly the most popular pistol in existence. The Glock 19 is often derided for its plastic construction, but it is easy to shoot.",
"weight": 595,
"volume": 2,
"price": 69000,
"material": ["plastic", "steel"],
"symbol": "(",
"color": "dark_gray",
"bashing": 8,
"to_hit": -2,
"ammo": "9mm",
"ranged_damage": -1,
"dispersion": 240,
"sight_dispersion": 90,
"recoil": 90,
"durability": 6,
"magazine_well": 1,
"magazines": [
[ "9mm", [ "glockmag", "glockbigmag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "m1911mag", "m1911bigmag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
},
{
"id": "hk_mp5",
"type": "GUN",
"name": "H&K MP5",
"description": "The Heckler & Koch MP5 is one of the most widely-used submachine guns in the world, and has been adopted by special police forces and militaries alike. Its high degree of accuracy and low recoil are universally praised.",
"weight": 2550,
"volume": 5,
"price": 280000,
"bashing": 10,
"to_hit": -2,
"material": ["steel", "plastic"],
"symbol": "(",
"color": "dark_gray",
"skill": "smg",
"ammo": "9mm",
"ranged_damage": 1,
"dispersion": 150,
"sight_dispersion": 75,
"aim_speed": 5,
"recoil": -45,
"durability": 8,
"modes": [
[ "DEFAULT", "semi-auto", 1 ],
[ "BURST", "3 rd.", 3 ],
[ "AUTO", "auto", 8 ]
],
"valid_mod_locations": [[ "accessories", 3 ],[ "barrel", 1 ],[ "bore", 1 ],[ "grip", 1 ],[ "mechanism", 4 ],[ "muzzle", 1 ],[ "rail", 1 ],[ "sights", 1 ],[ "stock", 1 ],[ "underbarrel", 1 ]],
"magazines" : [
[ "9mm", [ "mp5mag", "mp5bigmag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "ump45mag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
},
{
"id": "ksub2000",
"type": "GUN",
"name": "Kel-Tec SUB-2000",
"name_plural": "Kel-Tec SUB-2000",
"description": "A uniquely designed pistol caliber carbine with an integral folding stock and that makes use of 9mm Glock magazines.",
"weight": 1985,
"volume": 7,
"price": 5900,
"bashing": 8,
"to_hit": -1,
"material": ["steel", "plastic"],
"symbol": "(",
"color": "dark_gray",
"skill": "rifle",
"ammo": "9mm",
"ranged_damage": 3,
"range": 18,
"dispersion": 210,
"sight_dispersion": 85,
"aim_speed": 5,
"recoil": -15,
"durability": 7,
"barrel_length": 1,
"valid_mod_locations": [[ "accessories", 4 ],[ "barrel", 1 ],[ "bore", 1 ],[ "grip", 1 ],[ "mechanism", 4 ],[ "muzzle", 1 ],[ "rail", 1 ],[ "sights", 1 ]],
"built_in_mods": [ "folding_stock" ],
"magazine_well": 1,
"magazines": [
[ "9mm", [ "glockmag", "glockbigmag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "m1911mag", "m1911bigmag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
},
{
"id": "l_lookout_9mm",
"copy-from": "l_enforcer_45",
"type": "GUN",
"name": "L2032 Lookout",
"name_plural": "L2032 Lookout",
"description": "After the Enforcer's success, Leadworks LLC reworked their autorevolver design to cater to the 9mm market. The Lookout, released in 2032, takes advantage of the smaller 9mm to hold a seventh round, without sacrificing the ease of handling or reloading the Enforcer made legendary.",
"ammo": "9mm",
"clip_size": 7
},
{
"id": "l_mp_9mm",
"copy-from": "l_sp_9mm",
"type": "GUN",
"name": "L39B",
"description": "A selective-firing 9mm handgun introduced in 2039, Leadworks LLC's L39B provides accurate single-shot placement as well as controllable short-range firepower with its three-round burst mode. Users praised its accuracy and fearsome appearance.",
"price": 95000,
"ammo": "9mm",
"relative": {
"weight": 130,
"recoil": 15,
"durability": -1
},
"burst": 3, "//": "The M93R can go through up to 110 rounds in six seconds, FWIW."
},
{
"id": "l_sp_9mm",
"copy-from": "pistol_base",
"type": "GUN",
"name": "L39", "//": "L39s are based off the Robocop Auto-9, in turn a dolled-up Beretta 93R.",
"description": "A semiautomatic 9mm handgun introduced in 2039, Leadworks LLC's L39 provides accurate single-shot placement in a very robust frame. Several urban legends describe using it in ways that would have destroyed a lesser weapon.",
"weight": 935,
"volume": 2,
"price": 70000,
"bashing": 8,
"to_hit": -2,
"material": ["steel", "plastic"],
"symbol": "(",
"color": "dark_gray",
"ammo": "9mm",
"range": 1,
"dispersion": 150,
"sight_dispersion": 90,
"aim_speed": 4,
"recoil": 60,
"durability": 9,
"magazine_well": 1,
"magazines": [
[ "9mm", [ "lw21mag" ] ],
[ "45", [ "lw12mag" ] ]
],
"flags": [ "DURABLE_MELEE" ]
},
{
"id": "m9",
"copy-from": "pistol_base",
"type": "GUN",
"name": "Beretta M9",
"description": "A very popular 9mm pistol, the M9 has been the standard issue sidearm of the US army since 1985.",
"weight": 590,
"volume": 2,
"price": 65000,
"bashing": 8,
"to_hit": -2,
"material": ["steel", "plastic"],
"symbol": "(",
"color": "dark_gray",
"ammo": "9mm",
"range": 1,
"dispersion": 225,
"sight_dispersion": 90,
"recoil": 90,
"durability": 6,
"magazine_well": 1,
"magazines": [
[ "9mm", [ "m9mag", "m9bigmag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "m1911mag", "m1911bigmag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
},
{
"id": "rifle_9mm",
"type": "GUN",
"name": "pipe rifle: 9mm",
"name_plural": "pipe rifles: 9mm",
"description": "A home-made rifle. It is simply a pipe attached to a stock, with a hammer to strike the single round it holds.",
"weight": 2114,
"volume": 8,
"price": 10000,
"bashing": 10,
"to_hit": -1,
"material": [ "steel", "wood" ],
"symbol": "(",
"color": "brown",
"skill": "rifle",
"ammo": "9mm",
"ranged_damage": 1, "//": "Despite its quality, it IS a small rifle, although not as effective as a genuine pistol carbine.",
"dispersion": 105,
"sight_dispersion": 60,
"aim_speed": 6,
"recoil": 30,
"durability": 6,
"loudness": 25,
"clip_size": 1,
"reload": 200,
"barrel_length": 3,
"valid_mod_locations": [ [ "accessories", 2 ], [ "muzzle", 1 ], [ "stock", 1 ] ],
"flags": [ "RELOAD_ONE", "RELOAD_EJECT" ]
},
{
"id": "sten",
"type": "GUN",
"name": "STEN",
"description": "A British submachine gun developed during World War II, to make up for shortages of supplies. Designed to be made using unskilled labor and not known for reliablity, its main advantages were low cost and being able to use German 9mm ammunition.",
"weight": 2945,
"volume": 7,
"price": 40000,
"bashing": 10,
"material": "steel",
"symbol": "[",
"color": "dark_gray",
"skill": "smg",
"ammo": "9mm",
"ranged_damage": 1,
"dispersion": 150,
"sight_dispersion": 90,
"aim_speed" : 4,
"durability": 5,
"modes": [
[ "DEFAULT", "auto", 3 ]
],
"valid_mod_locations": [[ "accessories", 2 ],[ "muzzle", 1 ],[ "stock", 1 ]],
"magazines" : [
[ "9mm", [ "stenmag", "survivor9mm_mag" ] ],
[ "22", [ "a180mag" ] ],
[ "45", [ "mac10mag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fnp90mag" ] ]
]
},
{
"id": "tec9",
"type": "GUN",
"name": "TEC-9",
"name_plural": "TEC-9",
"description": "The TEC-9 is a machine pistol made of cheap polymers and machine stamped parts. Its rise in popularity among criminals is largely due to its intimidating looks and low cost.",
"weight": 1080,
"volume": 2,
"price": 125000,
"bashing": 9,
"to_hit": -2,
"material": "steel",
"symbol": "(",
"color": "dark_gray",
"skill": "smg",
"ammo": "9mm",
"dispersion": 240,
"sight_dispersion": 105,
"aim_speed": 3,
"recoil": -15,
"durability": 6,
"modes": [
[ "DEFAULT", "auto", 8 ]
],
"valid_mod_locations": [ [ "accessories", 3 ], [ "barrel", 1 ], [ "bore", 1 ], [ "grip", 1 ], [ "mechanism", 4 ], [ "muzzle", 1 ], [ "rail", 1 ], [ "sights", 1 ], [ "stock", 1 ], [ "underbarrel", 1 ] ],
"magazine_well": 1,
"magazines": [
[ "9mm", [ "tec9mag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "mac10mag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
},
{
"id": "usp_9mm",
"copy-from": "pistol_base",
"type": "GUN",
"name": "USP 9mm",
"description": "A popular pistol, widely used among law enforcement. Extensively tested for durability, it has been found to stay accurate even after being subjected to extreme abuse.",
"material": ["steel", "plastic"],
"symbol": "(",
"color": "dark_gray",
"weight": 520,
"volume": 2,
"price": 68000,
"bashing": 8,
"to_hit": -2,
"ammo": "9mm",
"ranged_damage": -1,
"dispersion": 255,
"sight_dispersion": 90,
"recoil": 75,
"durability": 9,
"magazine_well": 1,
"magazines": [
[ "9mm", [ "usp9mag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "usp45mag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
},
{
"id": "uzi",
"type": "GUN",
"name": "Uzi 9mm",
"description": "The Uzi 9mm has enjoyed immense popularity, selling more units than any other submachine gun. It is widely used as a personal defense weapon, or as a primary weapon by elite frontline forces.",
"weight": 3280,
"volume": 5,
"price": 208000, "//" : "SMGs aren't as commercially traded as rifles/handguns/SGs, so no cite for price points.",
"bashing": 10,
"to_hit": -2,
"material": "steel",
"symbol": "(",
"color": "dark_gray",
"skill": "smg",
"ammo": "9mm",
"ranged_damage": 1,
"dispersion": 255,
"sight_dispersion": 105,
"aim_speed": 3,
"recoil": -15,
"durability": 7,
"burst": 12,
"valid_mod_locations": [[ "accessories", 3 ],[ "barrel", 1 ],[ "bore", 1 ],[ "grip", 1 ],[ "mechanism", 4 ],[ "muzzle", 1 ],[ "rail", 1 ],[ "sights", 1 ],[ "stock", 1 ],[ "underbarrel", 1 ]],
"magazines": [
[ "9mm", [ "uzimag" ] ],
[ "22", [ "ruger1022bigmag", "ruger1022mag" ] ],
[ "45", [ "tdi_mag" ] ],
[ "46", [ "hk46mag", "hk46bigmag" ] ],
[ "57", [ "fn57mag" ] ]
]
}
]