Skip to content

Commit

Permalink
Full auto conversion for Glock pistols (CleverRaven#55334)
Browse files Browse the repository at this point in the history
* Add glock auto conversion

* Add glock auto conversion recipe

* Add glock auto conversion to criminal loot

* Add large frame glocks to sear plate recipe
  • Loading branch information
carmakazi authored Feb 15, 2022
1 parent 1fbe1a8 commit 735e42d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
[ "crackpipe", 37 ],
[ "laser_sight", 15 ],
[ "rail_laser_sight", 10 ],
[ "glocksear", 10 ],
{ "item": "lsd", "prob": 10, "charges": [ 1, 5 ] },
{ "item": "gum", "prob": 60, "charges": [ 1, 10 ] },
{ "item": "caff_gum", "prob": 7, "charges": [ 1, 10 ] },
Expand Down
20 changes: 20 additions & 0 deletions data/json/items/gunmod/mechanism.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@
"min_skills": [ [ "mechanics", 2 ], [ "rifle", 3 ] ],
"flags": [ "INSTALL_DIFFICULT", "CONSUMABLE" ]
},
{
"id": "glocksear",
"type": "GUNMOD",
"name": { "str": "Glock auto sear plate" },
"description": "This is a relatively simple switch or button mechanism that replaces the back plate of a Glock slide, allowing it to function as a select-fire machine pistol. A highly illegal modification, but the feds are zombie food anyway. This will fit any standard Glock pistol in 9mm, .40, .45, 10mm, or .357 caliber.",
"weight": "55 g",
"volume": "20 ml",
"price": 9500,
"price_postapoc": 300,
"material": [ "steel" ],
"symbol": ":",
"color": "red",
"location": "mechanism",
"mod_targets": [ "glock_19", "glock_17", "glock_22", "glock_31", "glock_21", "glock_20", "glock_40", "glock_29" ],
"//": "Install time should be short as it is simply a replacement back plate, installed by slightly more than field stripping the gun.",
"install_time": "5 m",
"//durability_modifier": -1,
"mode_modifier": [ [ "AUTO", "auto", 5 ] ],
"min_skills": [ [ "pistol", 2 ] ]
},
{
"id": "bars",
"type": "GUNMOD",
Expand Down
28 changes: 28 additions & 0 deletions data/json/recipes/weapon/mods.json
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,34 @@
],
"components": [ [ [ "sheet_metal_small", 2 ] ] ]
},
{
"type": "recipe",
"activity_level": "MODERATE_EXERCISE",
"result": "glocksear",
"category": "CC_WEAPON",
"subcategory": "CSC_WEAPON_MODS",
"skill_used": "fabrication",
"skills_required": [ [ "pistol", 3 ] ],
"difficulty": 5,
"time": "5 h 25 m",
"book_learn": [ [ "manual_pistol", 5 ], [ "textbook_anarch", 5 ] ],
"qualities": [ { "id": "HAMMER", "level": 1 }, { "id": "SAW_M_FINE", "level": 1 }, { "id": "DRILL", "level": 1 } ],
"tools": [
[
[ "glock_19", -1 ],
[ "glock_17", -1 ],
[ "glock_22", -1 ],
[ "glock_31", -1 ],
[ "glock_21", -1 ],
[ "glock_20", -1 ],
[ "glock_40", -1 ],
[ "glock_29", -1 ]
],
[ [ "small_repairkit", 40 ], [ "large_repairkit", 40 ] ]
],
"using": [ [ "welding_standard", 2 ] ],
"components": [ [ [ "steel_chunk", 1 ] ], [ [ "scrap", 4 ] ] ]
},
{
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
Expand Down

0 comments on commit 735e42d

Please sign in to comment.