summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2023-07-04 15:14:01 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2023-07-04 15:14:01 -0700
commiteb5ef37af8c75656fa027ba02f300a2edf28e5ae (patch)
treeb3a8263635b3786b88a2803b48a230c04f691438
parentUpdate itemgroups. (diff)
downloadcataclysm-bn-mod_m26-mass-eb5ef37af8c75656fa027ba02f300a2edf28e5ae.tar.xz
Update gunmods for weapon categories.
-rw-r--r--json/items/gunmod/underbarrel.json16
1 files changed, 13 insertions, 3 deletions
diff --git a/json/items/gunmod/underbarrel.json b/json/items/gunmod/underbarrel.json
index 196f9b6..0c365e7 100644
--- a/json/items/gunmod/underbarrel.json
+++ b/json/items/gunmod/underbarrel.json
@@ -6,14 +6,14 @@
"name": { "str": "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.",
"weight": "1220 g",
- "volume": "750 ml",
+ "volume": "1068 ml",
"price": 60000,
"price_postapoc": 2500,
"material": [ "steel", "plastic" ],
"symbol": ":",
"color": "dark_gray",
"location": "underbarrel",
- "mod_targets": [ "rifle", "crossbow" ],
+ "mod_target_category": [ [ "RIFLES" ], [ "MACHINE_GUNS" ], [ "GATLING_GUNS" ], [ "M_XBOWS" ] ] ,
"gun_data": { "ammo": "shot", "skill": "shotgun", "dispersion": 325, "durability": 9, "reload": 125 },
"min_skills": [ [ "weapon", 2 ], [ "shotgun", 2 ] ],
"magazine_well": "250 ml",
@@ -26,6 +26,16 @@
"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" ]
+ "mod_target_category": [
+ [ "SUBMACHINE_GUNS" ],
+ [ "RIFLES" ],
+ [ "MACHINE_GUNS" ],
+ [ "GATLING_GUNS" ],
+ [ "SHOTGUNS" ],
+ [ "M_XBOWS" ],
+ [ "GRENADE_LAUNCHERS" ],
+ [ "ROCKET_LAUNCHERS" ],
+ [ "FLAMETHROWERS" ]
+ ]
}
]