summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-07-06 02:50:56 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-07-06 02:50:56 -0700
commit71c69333f35a54d84bab349b7ab10cd01a8cd503 (patch)
treed7dfc389fad3ffba567f3f357d754f213126291e /json
parentFix mod id to use an underscore (diff)
downloadcataclysm-bn-mod_m26-mass-71c69333f35a54d84bab349b7ab10cd01a8cd503.tar.xz
Add a modified m26 and recipe
Diffstat (limited to 'json')
-rw-r--r--json/items/gunmod/underbarrel.json8
-rw-r--r--json/recipes/mods.json15
2 files changed, 23 insertions, 0 deletions
diff --git a/json/items/gunmod/underbarrel.json b/json/items/gunmod/underbarrel.json
index 97e454d..35825ba 100644
--- a/json/items/gunmod/underbarrel.json
+++ b/json/items/gunmod/underbarrel.json
@@ -17,5 +17,13 @@
"min_skills": [ [ "weapon", 2 ], [ "shotgun", 2 ] ],
"magazine_well": 1,
"magazines": [ [ "shot", [ "m26_mass_mag", "m26_mass_mag_big" ] ] ]
+ },
+ {
+ "id": "m26_mass_mod",
+ "type": "GUNMOD",
+ "looks_like": "rm121aux_mod",
+ "name": { "str": "modified M26 MASS" },
+ "description": "The M26 Modular Accessory Shotgun System is a magazine-fed semi-automatic shotgun, which can be mounted under the barrel of many rifles. Accepts box magazines. This one was modified and customized to mount on pretty much any weapon other than pistols, if you so want.",
+ "mod_targets": [ "smg", "rifle", "shotgun", "launcher", "crossbow" ]
}
]
diff --git a/json/recipes/mods.json b/json/recipes/mods.json
new file mode 100644
index 0000000..e6e2a25
--- /dev/null
+++ b/json/recipes/mods.json
@@ -0,0 +1,15 @@
+[
+ {
+ "result": "m26_mass_mod",
+ "type": "recipe",
+ "category": "CC_WEAPON",
+ "subcategory": "CSC_WEAPON_MODS",
+ "skill_used": "fabrication",
+ "difficulty": 7,
+ "skills_required": [ [ "gun", 2 ], [ "shotgun", 2 ] ],
+ "time": "90 m",
+ "autolearn": true,
+ "tools": [ [ [ "large_repairkit", 50 ], [ "small_repairkit", 100 ] ] ],
+ "components": [ [ [ "m26_mass", 1 ] ], [ [ "scrap", 3 ] ], [ [ "plastic_chunk", 1 ] ] ]
+ }
+]