Skip to content

Commit

Permalink
Merge pull request CleverRaven#27530 from tenmillimaster/Replace-L2037
Browse files Browse the repository at this point in the history
Replace the L2037 Backup with something reasonable
  • Loading branch information
kevingranade authored Jan 19, 2019
2 parents 1cb210d + 2d5fa42 commit e0af86e
Show file tree
Hide file tree
Showing 13 changed files with 212 additions and 58 deletions.
4 changes: 3 additions & 1 deletion data/json/itemgroups/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
[ "l_enforcer_45", 25 ],
[ "l_lookout_9mm", 20 ],
[ "l_sp_45", 35 ],
[ "l_sp_460", 25 ],
[ "l_sp_9mm", 60 ],
[ "ruger_lcr_22", 35 ],
[ "ruger_redhawk", 25 ],
Expand All @@ -45,8 +46,8 @@
"//": "Military specification pistols only ever found at military sites.",
"items": [
[ "hk_ucp", 100 ],
[ "l_bak_223", 60 ],
[ "l_mp_45", 70 ],
[ "l_sp_460", 15 ],
[ "l_mp_9mm", 100 ],
[ "needlepistol", 45 ],
[ "rm103a_pistol", 35 ]
Expand All @@ -63,6 +64,7 @@
[ "moss_brownie", 100 ],
[ "pistol_flintlock", 150 ],
[ "raging_bull", 100 ],
[ "l_bak_223", 80 ],
[ "rm99_pistol", 150 ],
[ "tokarev", 100 ],
[ "walther_ppk", 100 ]
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo/45.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"color": "yellow",
"count": 30,
"stack_size": 30,
"ammo_type": "45",
"ammo_type": [ "45", "460" ],
"casing": "45_casing",
"range": 16,
"damage": 30,
Expand Down
39 changes: 39 additions & 0 deletions data/json/items/ammo/460.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[
{
"id": "460fmj",
"copy-from": "460_rowland",
"type": "AMMO",
"name": ".460 Rowland HCFN",
"description": "A hard cast flat nosed variant of the .460 Rowland round. This increases penetration slightly at the cost of reduced damage from expansion.",
"relative": { "damage": -4, "pierce": 8 }
},
{
"id": "460_rowland",
"copy-from": "44magnum",
"type": "AMMO",
"name": ".460 Rowland",
"description": ".460 Rowland ammunition with 185gr JHP bullets. The .460 Rowland round is designed to emulate hard-hitting .44 magnum in common autoloading pistols. Like the .44, .460 rowland has exceptional power - and recoil. It is almost dimensionally identical to .45ACP, save for having a longer case and deeper seated bullets to prevent ammunition mix-ups.",
"ammo_type": "460",
"casing": "460_casing",
"proportional": { "range": 0.95, "damage": 0.95, "pierce": 0.95, "recoil": 0.95 }
},
{
"id": "reloaded_460fmj",
"copy-from": "460fmj",
"type": "AMMO",
"name": "reloaded .460 Rowland FMJ",
"description": "A brass-jacketed variant of the .460 Rowland round. This increases penetration slightly at the cost of reduced damage from expansion.",
"proportional": { "price": 0.7, "damage": 0.9, "dispersion": 1.1 },
"extend": { "effects": [ "RECYCLED" ] },
"delete": { "effects": [ "NEVER_MISFIRES" ] }
},
{
"id": "reloaded_460rowland",
"copy-from": "460_rowland",
"type": "AMMO",
"name": "reloaded .460 Rowland",
"proportional": { "price": 0.7, "damage": 0.9, "dispersion": 1.1 },
"extend": { "effects": [ "RECYCLED" ] },
"delete": { "effects": [ "NEVER_MISFIRES" ] }
}
]
6 changes: 6 additions & 0 deletions data/json/items/ammo_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@
"name" : ".45",
"default" : "45_acp"
},
{
"type" : "ammunition_type",
"id" : "460",
"name" : ".460",
"default" : "460_rowland"
},
{
"type" : "ammunition_type",
"id" : "454",
Expand Down
9 changes: 9 additions & 0 deletions data/json/items/generic/casing.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@
"weight": 2,
"volume": "3ml"
},
{
"id": "460_casing",
"copy-from": "casing",
"type": "GENERIC",
"name": ".460 rowland casing",
"description": "An empty casing from a .460 Rowland round. It looks deceptively like a .45ACP casing.",
"weight": 4,
"volume": "6ml"
},
{
"id": "5x50_hull",
"copy-from": "casing",
Expand Down
7 changes: 4 additions & 3 deletions data/json/items/gun/223.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"name": "L2037 Backup",
"name_plural": "L2037 Backups",
"//": "Most real-life autorevolvers use 6-7.5 inch barrel, but this one's mentioned to be particularly massive.",
"description": "Developed by Leadworks as a companion sidearm to the L523 modular system, this massive autorevolver fires the powerful .223 round, but suffers high recoil as a result. It has a weighted barrel to make recoil more manageable and a 5-chamber cylinder. Holographics and laser sights built in for additional accuracy. Similar to other Leadworks products it doesn't accept third-party modifications.",
"description": "The logical extension of Leadworks' autorevolver series, this massive 'sidearm' fires 5.56 NATO to share ammo with a soldier's rifle. The muzzle flash and report of this 5-shot revolver are incredible, producing ballistics similar to .357 Magnum. Similar to other Leadworks products it doesn't accept third-party modifications.",
"weight": 2370,
"volume": 3,
"price": 267000,
Expand All @@ -117,10 +117,11 @@
"symbol": "(",
"color": "light_gray",
"ammo": "223",
"range": -8,
"ranged_damage": -4,
"range": -6,
"ranged_damage": -16,
"dispersion": 380,
"durability": 8,
"loudness": 30,
"clip_size": 5,
"built_in_mods": [ "lead_holo_sight", "lead_laser_sight"],
"valid_mod_locations": [ [ "accessories", 2 ], [ "sights", 1 ], [ "underbarrel", 1 ] ]
Expand Down
52 changes: 0 additions & 52 deletions data/json/items/gun/45.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,58 +51,6 @@
[ "9mm", [ "mp5mag", "mp5bigmag" ] ]
]
},
{
"id": "l_enforcer_45",
"copy-from": "pistol_revolver",
"type": "GUN",
"name": "L2031 Enforcer",
"name_plural": "L2031 Enforcer",
"//": "Real-life Autorevolvers tended to vary between 6-7.5 inch barrels, so we'll err on the side of a +1 here.",
"description": "An \"autorevolver\", this Leadworks LLC six-shooter combines the ease-of-action of a semi-auto with the ease-of-reloading and style of a revolver. It achieved overnight stardom when it appeared in \"Treasure Trail\", a popular space-Western series. Comes with built in holographic and laser sights. Similar to other Leadworks products it doesn't accept third-party modifications.",
"weight": 1370,
"volume": 2,
"price": 83000,
"to_hit": -2,
"bashing": 7,
"material": [ "steel", "wood" ],
"symbol": "(",
"color": "light_gray",
"ammo": "45",
"ranged_damage": 1,
"dispersion": 360,
"durability": 8,
"clip_size": 6,
"built_in_mods": [ "lead_holo_sight", "lead_laser_sight"],
"valid_mod_locations": [ [ "accessories", 2 ], [ "sights", 1 ], [ "underbarrel", 1 ] ]
},
{
"id": "l_long_45",
"type": "GUN",
"reload_noise_volume": 10,
"name": "L1820 Long Ranger",
"name_plural": "L1820 Long Ranger",
"//": "If it's based off the Winchester 94, it's likely got a 20 inch barrel. For sanity's sake though, let's cap it at +4.",
"description": "Numbered to bridge the gap between the USian Frontier and modern Civil Defense needs, the Leadworks Long Ranger was designed to give Enforcer users (or anyone using .45 caliber cartridges) a little extra reach while using the same ammunition. Synthetic furniture cost it some charm points from the legendary Winchester rifles it was based upon, but users agree that the forty-five's punch with the reach of a rifle is worth it. Comes with built in holographic and laser sights. Similar to other Leadworks products it doesn't accept third-party modifications.",
"weight": 4175,
"volume": 13,
"price": 90000,
"to_hit": -1,
"bashing": 12,
"material": [ "steel", "plastic" ],
"symbol": "(",
"color": "brown",
"ammo": "45",
"skill": "rifle",
"range": 8,
"ranged_damage": 4,
"dispersion": 180,
"durability": 9,
"clip_size": 7,
"barrel_length": 2,
"built_in_mods": [ "lead_holo_sight", "lead_laser_sight"],
"valid_mod_locations": [ [ "accessories", 2 ], [ "sights", 1 ], [ "underbarrel", 1 ] ],
"flags": [ "RELOAD_ONE" ]
},
{
"id": "l_mp_45",
"copy-from": "l_mp_9mm",
Expand Down
66 changes: 66 additions & 0 deletions data/json/items/gun/460.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[
{
"id": "l_sp_460",
"copy-from": "l_sp_9mm",
"type": "GUN",
"name": "L39-460",
"description": "Developed as a testament to the L39 family of pistols' strength, this hefty pistol chambers powerful .460 Rowland. In addition to the heavy slide and L39 standard sighting package, this pistol sports a large compensator. Notably, normal .45ACP can also be fired through the weapon. Similar to other Leadworks products it doesn't accept third-party modifications.",
"price": 90000,
"ammo": "460",
"relative": { "durability": -1 },
"built_in_mods": [ "lead_holo_sight", "muzzle_brake", "lead_laser_sight" ],
"valid_mod_locations": [ [ "accessories", 2 ], [ "muzzle", 1 ], [ "sights", 1 ], [ "underbarrel", 1 ] ]
},
{
"id": "l_enforcer_45",
"copy-from": "pistol_revolver",
"type": "GUN",
"name": "L2031 Enforcer",
"name_plural": "L2031 Enforcer",
"//": "Real-life Autorevolvers tended to vary between 6-7.5 inch barrels, so we'll err on the side of a +1 here.",
"description": "An \"autorevolver\", this Leadworks LLC six-shooter combines the ease-of-action of a semi-auto with the ease-of-reloading and style of a revolver. In addition to ubiquitous .45 ACP, the Enforcer also fires powerful .460 Rowland, offering .44 Magnum performance in a smaller package. It achieved overnight stardom when it appeared in \"Treasure Trail\", a popular space-Western series. Comes with built in holographic and laser sights. Similar to other Leadworks products it doesn't accept third-party modifications.",
"weight": 1370,
"volume": 2,
"price": 83000,
"to_hit": -2,
"bashing": 7,
"material": [ "steel", "wood" ],
"symbol": "(",
"color": "light_gray",
"ammo": "460",
"ranged_damage": 1,
"dispersion": 360,
"durability": 8,
"clip_size": 6,
"built_in_mods": [ "lead_holo_sight", "lead_laser_sight" ],
"valid_mod_locations": [ [ "accessories", 2 ], [ "sights", 1 ], [ "underbarrel", 1 ] ]
},
{
"id": "l_long_45",
"type": "GUN",
"reload_noise_volume": 10,
"name": "L1820 Long Ranger",
"name_plural": "L1820 Long Ranger",
"//": "If it's based off the Winchester 94, it's likely got a 20 inch barrel. For sanity's sake though, let's cap it at +4.",
"description": "The Leadworks Long Ranger was designed to give Enforcer users (or anyone using .460/.45 caliber cartridges) a little extra reach while using the same ammunition. Loaded with powerful .460 Rowland ammunition, this rifle offered a competitive replacement to the AR-15 in poltically restrictive climates, but was met with disgust from lever action purists because of its synthetic furniture and built in holographic and laser sights. Similar to other Leadworks products it doesn't accept third-party modifications.",
"weight": 4175,
"volume": 13,
"price": 90000,
"to_hit": -1,
"bashing": 12,
"material": [ "steel", "plastic" ],
"symbol": "(",
"color": "brown",
"ammo": "460",
"skill": "rifle",
"range": 8,
"ranged_damage": 4,
"dispersion": 180,
"durability": 9,
"clip_size": 12,
"barrel_length": 2,
"built_in_mods": [ "lead_holo_sight", "lead_laser_sight" ],
"valid_mod_locations": [ [ "accessories", 2 ], [ "sights", 1 ], [ "underbarrel", 1 ] ],
"flags": [ "RELOAD_ONE" ]
}
]
3 changes: 2 additions & 1 deletion data/json/items/gun/9mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@
"magazine_well": 1,
"magazines": [
[ "9mm", [ "lw21mag" ] ],
[ "45", [ "lw12mag" ] ]
[ "45", [ "lw12mag" ] ],
[ "460", [ "lw460mag" ] ]
],
"flags": [ "DURABLE_MELEE" ]
},
Expand Down
8 changes: 8 additions & 0 deletions data/json/items/magazine/45.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"reload_time": 140,
"flags": [ "MAG_COMPACT" ]
},
{
"id": "lw460mag",
"copy-from": "lw12mag",
"type": "MAGAZINE",
"name": "LW-460 magazine",
"//": "Placeholder until magazines can accept more than one caliber. And probably also until the gun code properly checks the magazine for compatible ammo.",
"ammo_type": "460"
},
{
"id": "m1911bigmag",
"type": "MAGAZINE",
Expand Down
15 changes: 15 additions & 0 deletions data/json/recipes/ammo/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,20 @@
"using": [ [ "surface_heat", 25 ] ],
"qualities": [ { "id": "CHEM", "level": 1 } ],
"components": [ [ [ "magnesium", 100 ] ], [ [ "oxy_powder", 200 ] ] ]
},
{
"type": "recipe",
"result": "460_casing",
"category": "CC_AMMO",
"subcategory": "CSC_AMMO_COMPONENTS",
"skill_used": "fabrication",
"difficulty": 3,
"skills_required": [ "gun", 4 ],
"time": 3000,
"batch_time_factors": [ 60, 5 ],
"book_learn": [ [ "manual_pistol", 5 ], [ "recipe_bullets", 3 ] ],
"qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "DRILL", "level": 2 } ],
"tools": [ [ [ "press", -1 ] ], [ [ "cordless_drill", 2 ] ] ],
"components": [ [ [ "308_casing", 1 ], [ "3006_casing", 1 ] ] ]
}
]
39 changes: 39 additions & 0 deletions data/json/recipes/ammo/pistol.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,45 @@
[ [ "gunpowder", 4 ] ]
]
},
{
"result": "reloaded_460fmj",
"type": "recipe",
"category": "CC_AMMO",
"subcategory": "CSC_AMMO_PISTOL",
"skill_used": "fabrication",
"difficulty": 5,
"skills_required": [ "gun", 4 ],
"time": 1,
"batch_time_factors": [ 60, 5 ],
"book_learn": [ [ "recipe_bullets", 3 ], [ "manual_pistol", 4 ] ],
"charges": 1,
"using": [ [ "bullet_forming", 3 ], [ "ammo_bullet", 3 ] ],
"components": [
[ [ "460_casing", 1 ] ],
[ [ "lgpistol_primer", 1 ] ],
[ [ "gunpowder", 6 ] ],
[ [ "copper", 2 ] ]
]
},
{
"result": "reloaded_460rowland",
"type": "recipe",
"category": "CC_AMMO",
"subcategory": "CSC_AMMO_PISTOL",
"skill_used": "fabrication",
"difficulty": 4,
"skills_required": [ "gun", 3 ],
"time": 1,
"batch_time_factors": [ 60, 5 ],
"book_learn": [ [ "recipe_bullets", 3 ], [ "manual_pistol", 4 ] ],
"charges": 1,
"using": [ [ "bullet_forming", 3 ], [ "ammo_bullet", 3 ] ],
"components": [
[ [ "460_casing", 1 ] ],
[ [ "lgpistol_primer", 1 ] ],
[ [ "gunpowder", 6 ] ]
]
},
{
"result": "reloaded_500_Magnum",
"type": "recipe",
Expand Down
20 changes: 20 additions & 0 deletions data/json/recipes/recipe_deconstruction.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,26 @@
"components": [ [ [ "lead", 2 ] ], [ [ "46mm_casing", 1 ] ], [ [ "smpistol_primer", 1 ] ], [ [ "gunpowder", 4 ] ] ],
"flags": [ "UNCRAFT_SINGLE_CHARGE" ]
},
{
"result": "460fmj",
"type": "uncraft",
"skill_used": "gun",
"difficulty": 5,
"time": 500,
"qualities": [ { "id": "PULL", "level": 1 } ],
"components": [ [ [ "lead", 3 ] ], [ [ "460_casing", 1 ] ], [ [ "lgpistol_primer", 1 ] ], [ [ "gunpowder", 10 ] ] ],
"flags": [ "UNCRAFT_SINGLE_CHARGE" ]
},
{
"result": "460_rowland",
"type": "uncraft",
"skill_used": "gun",
"difficulty": 5,
"time": 500,
"qualities": [ { "id": "PULL", "level": 1 } ],
"components": [ [ [ "lead", 3 ] ], [ [ "460_casing", 1 ] ], [ [ "lgpistol_primer", 1 ] ], [ [ "gunpowder", 10 ] ] ],
"flags": [ "UNCRAFT_SINGLE_CHARGE" ]
},
{
"result": "500_Magnum",
"type": "uncraft",
Expand Down

0 comments on commit e0af86e

Please sign in to comment.