Skip to content

Commit

Permalink
Gun barrel length to string
Browse files Browse the repository at this point in the history
  • Loading branch information
snipercup committed Feb 10, 2020
1 parent 315d8a5 commit 19069c2
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion data/json/items/gun/20x66mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dispersion": 285,
"durability": 9,
"clip_size": 5,
"barrel_length": 3,
"barrel_length": "750 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "grip", 1 ],
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/gun/223.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"durability": 8,
"min_cycle_recoil": 1350,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
"barrel_length": 1,
"barrel_length": "250 ml",
"built_in_mods": [ "folding_stock" ],
"magazines": [ [ "223", [ "stanag30", "stanag50", "survivor223mag" ] ] ]
},
Expand Down Expand Up @@ -173,7 +173,7 @@
"description": "Leadworks LLC's bullpup L523 platform utilizes the ubiquitous 5.56 round in multiple applications, and is designed to part-swap quickly, safely, and effectively from one to the next. The designated-shootist rifle incorporates a specially-designed extended barrel with integral bipod and foregrip, along with an integral 8x optic, and trades selective-fire for the Leadworks gyro-stabilization system. Like the rest of the family, though, it doesn't accept third-party modifications.",
"price": 580000,
"durability": 9,
"barrel_length": 3,
"barrel_length": "750 ml",
"modes": [ [ "DEFAULT", "semi-auto", 1 ] ],
"relative": { "//": "Volume, range, and bullpup all point to a very large barrel on this one.", "weight": 1200, "volume": 4 },
"delete": { "modes": [ [ "AUTO", "auto", 3 ] ] },
Expand Down Expand Up @@ -384,7 +384,7 @@
"dispersion": 100,
"durability": 8,
"min_cycle_recoil": 1350,
"barrel_length": 2,
"barrel_length": "500 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/3006.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"durability": 8,
"blackpowder_tolerance": 60,
"clip_size": 5,
"barrel_length": 1,
"barrel_length": "250 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
Expand Down Expand Up @@ -135,7 +135,7 @@
"durability": 8,
"min_cycle_recoil": 3420,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 3 ] ],
"barrel_length": 4,
"barrel_length": "1000 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/300BLK.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"durability": 8,
"min_cycle_recoil": 1700,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
"barrel_length": 1,
"barrel_length": "250 ml",
"built_in_mods": [ "folding_stock" ],
"magazines": [ [ "300blk", [ "stanag30", "stanag50", "survivor223mag" ] ] ]
},
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/40.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"min_cycle_recoil": 425,
"modes": [ [ "DEFAULT", "burst", 5 ] ],
"loudness": 25,
"barrel_length": 1,
"barrel_length": "250 ml",
"valid_mod_locations": [
[ "accessories", 3 ],
[ "barrel", 1 ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/410shot.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"material": [ "steel", "plastic" ],
"dispersion": 395,
"durability": 7,
"barrel_length": 3,
"barrel_length": "750 ml",
"magazine_well": 1,
"ammo": "410shot",
"magazines": [ [ "410shot", [ "saiga410mag_10rd", "saiga410mag_30rd" ] ] ],
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/45.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
"min_cycle_recoil": 456,
"modes": [ [ "DEFAULT", "burst", 5 ] ],
"loudness": 25,
"barrel_length": 1,
"barrel_length": "250 ml",
"valid_mod_locations": [
[ "accessories", 3 ],
[ "barrel", 1 ],
Expand Down Expand Up @@ -279,7 +279,7 @@
"durability": 7,
"min_cycle_recoil": 540,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
"barrel_length": 2,
"barrel_length": "500 ml",
"valid_mod_locations": [
[ "accessories", 3 ],
[ "barrel", 1 ],
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/gun/50.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"dispersion": 80,
"durability": 7,
"reload": 400,
"barrel_length": 5,
"barrel_length": "1250 ml",
"default_mods": [ "bipod", "rifle_scope", "muzzle_brake" ],
"magazine_well": 1,
"magazines": [ [ "50", [ "as50mag" ] ] ],
Expand All @@ -131,7 +131,7 @@
"dispersion": 50,
"durability": 8,
"reload": 450,
"barrel_length": 5,
"barrel_length": "1250 ml",
"default_mods": [ "recoil_stock", "bipod", "rifle_scope", "muzzle_brake" ],
"magazine_well": 1,
"magazines": [ [ "50", [ "tac50mag" ] ] ],
Expand All @@ -155,7 +155,7 @@
"ranged_damage": -5,
"dispersion": 110,
"durability": 8,
"barrel_length": 5,
"barrel_length": "1250 ml",
"default_mods": [ "bipod", "rifle_scope", "muzzle_brake" ],
"clip_size": 1,
"flags": [ "NEVER_JAMS", "RELOAD_ONE" ]
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/545x39.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dispersion": 150,
"durability": 8,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
"barrel_length": 1,
"barrel_length": "250 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
Expand Down Expand Up @@ -57,7 +57,7 @@
"skill": "rifle",
"dispersion": 150,
"durability": 7,
"barrel_length": 1,
"barrel_length": "250 ml",
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "2 rd.", 2 ], [ "AUTO", "auto", 4 ] ],
"valid_mod_locations": [
[ "accessories", 4 ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/5x50.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"ranged_damage": 10,
"dispersion": 220,
"durability": 9,
"barrel_length": 1,
"barrel_length": "250 ml",
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "5 rd.", 5 ], [ "AUTO", "auto", 4 ] ],
"valid_mod_locations": [
[ "accessories", 3 ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/700nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"durability": 8,
"clip_size": 1,
"reload": 600,
"barrel_length": 4,
"barrel_length": "1000 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "grip", 1 ],
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/762.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dispersion": 180,
"durability": 9,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
"barrel_length": 1,
"barrel_length": "250 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
Expand Down Expand Up @@ -97,7 +97,7 @@
"dispersion": 90,
"durability": 8,
"clip_size": 10,
"barrel_length": 2,
"barrel_length": "500 ml",
"built_in_mods": [ "inter_bayonet" ],
"valid_mod_locations": [
[ "accessories", 4 ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/762x25.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dispersion": 120,
"durability": 8,
"min_cycle_recoil": 270,
"barrel_length": 2,
"barrel_length": "500 ml",
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 5 ] ],
"valid_mod_locations": [
[ "accessories", 3 ],
Expand Down
8 changes: 4 additions & 4 deletions data/json/items/gun/8x40mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"dispersion": 10,
"durability": 9,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 2 ] ],
"barrel_length": 3,
"barrel_length": "750 ml",
"built_in_mods": [ "riv_scope", "riv_suppressor" ],
"valid_mod_locations": [
[ "accessories", 4 ],
Expand Down Expand Up @@ -128,7 +128,7 @@
"durability": 9,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 6 ] ],
"reload": 400,
"barrel_length": 6,
"barrel_length": "1500 ml",
"magazine_well": 6,
"valid_mod_locations": [ [ "barrel", 1 ], [ "grip", 1 ], [ "mechanism", 4 ], [ "rail", 1 ], [ "sights", 1 ], [ "sling", 1 ], [ "stock", 1 ] ],
"magazines": [ [ "8x40mm", [ "8x40_500_mag", "8x40_250_mag" ] ] ],
Expand Down Expand Up @@ -189,7 +189,7 @@
"dispersion": 70,
"durability": 9,
"reload": 200,
"barrel_length": 2,
"barrel_length": "500 ml",
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "4 rd.", 4 ], [ "AUTO", "auto", 6 ] ],
"valid_mod_locations": [
[ "accessories", 4 ],
Expand Down Expand Up @@ -226,7 +226,7 @@
"dispersion": 30,
"durability": 9,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ],
"barrel_length": 2,
"barrel_length": "500 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "grip", 1 ],
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/9mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"dispersion": 180,
"durability": 10,
"min_cycle_recoil": 450,
"barrel_length": 1,
"barrel_length": "250 ml",
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
Expand Down Expand Up @@ -427,7 +427,7 @@
"min_cycle_recoil": 380,
"modes": [ [ "DEFAULT", "burst", 5 ] ],
"loudness": 25,
"barrel_length": 1,
"barrel_length": "250 ml",
"valid_mod_locations": [
[ "accessories", 3 ],
[ "barrel", 1 ],
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/combination.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"blackpowder_tolerance": 56,
"clip_size": 1,
"loudness": 25,
"barrel_length": 2,
"barrel_length": "500 ml",
"built_in_mods": [ "combination_gun_shotgun" ],
"faults": [ "fault_gun_blackpowder", "fault_gun_dirt" ],
"valid_mod_locations": [
Expand Down Expand Up @@ -62,7 +62,7 @@
"blackpowder_tolerance": 60,
"clip_size": 1,
"loudness": 25,
"barrel_length": 2,
"barrel_length": "500 ml",
"built_in_mods": [ "combination_gun_shotgun_pipe" ],
"faults": [ "fault_gun_blackpowder", "fault_gun_dirt" ],
"valid_mod_locations": [
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/gun/shot.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
"sight_dispersion": 750,
"clip_size": 4,
"price": 53800,
"barrel_length": 0,
"barrel_length": "0 ml",
"built_in_mods": [ "breacher_grip" ],
"valid_mod_locations": [
[ "accessories", 4 ],
Expand Down

0 comments on commit 19069c2

Please sign in to comment.