diff --git a/data/json/itemgroups/Locations_MapExtras/locations_mapextras.json b/data/json/itemgroups/Locations_MapExtras/locations_mapextras.json index 2d3048782b18d..ceddbe3381f69 100644 --- a/data/json/itemgroups/Locations_MapExtras/locations_mapextras.json +++ b/data/json/itemgroups/Locations_MapExtras/locations_mapextras.json @@ -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 ] }, diff --git a/data/json/items/gunmod/mechanism.json b/data/json/items/gunmod/mechanism.json index 95e5b8de7ab7a..fa29500e32a55 100644 --- a/data/json/items/gunmod/mechanism.json +++ b/data/json/items/gunmod/mechanism.json @@ -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", diff --git a/data/json/recipes/weapon/mods.json b/data/json/recipes/weapon/mods.json index 58412c6d60188..f7ff702ddcbdc 100644 --- a/data/json/recipes/weapon/mods.json +++ b/data/json/recipes/weapon/mods.json @@ -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",