Skip to content

Commit

Permalink
add mossberg 590M
Browse files Browse the repository at this point in the history
  • Loading branch information
GuardianDll committed Jun 16, 2024
1 parent 8bf8170 commit 87ebb2a
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 4 deletions.
10 changes: 7 additions & 3 deletions data/json/itemgroups/Weapons_Mods_Ammo/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@
{ "item": "benelli_sa", "variant": "sbe", "prob": 37 },
{ "item": "benelli_tsa", "variant": "m2_tac", "contents-item": [ "rail_mount" ], "prob": 12 },
{ "item": "mossberg_590", "variant": "slp", "contents-item": [ "rail_mount" ], "prob": 6 },
{ "item": "mossberg_590m", "prob": 1 },
{ "item": "remington_870", "variant": "ithaca37", "prob": 6 },
{ "item": "remington_870", "variant": "remington_1100", "prob": 17 },
{ "item": "mossberg_930", "prob": 15 },
Expand All @@ -573,7 +574,8 @@
{ "group": "nested_ksg-25", "prob": 8 },
{ "group": "nested_tavor_12", "prob": 5 },
{ "group": "nested_m1014", "prob": 10 },
{ "group": "nested_slp", "prob": 10 }
{ "group": "nested_slp", "prob": 10 },
{ "group": "nested_mossberg_590m", "prob": 2 }
]
},
{
Expand All @@ -587,7 +589,8 @@
{ "item": "ksg-25", "prob": 8, "charges": [ 0, 12 ] },
{ "item": "tavor_12", "prob": 5, "charges": [ 0, 5 ] },
{ "item": "mossberg_930", "variant": "m1014", "prob": 10, "charges": [ 0, 8 ] },
{ "item": "mossberg_590", "variant": "slp", "contents-item": [ "rail_mount" ], "prob": 10, "charges": [ 0, 9 ] }
{ "item": "mossberg_590", "variant": "slp", "contents-item": [ "rail_mount" ], "prob": 10, "charges": [ 0, 9 ] },
{ "item": "mossberg_590m", "prob": 2, "charges": [ 0, 5 ] }
]
},
{
Expand All @@ -599,7 +602,8 @@
{ "item": "ksg", "prob": 25 },
{ "item": "tavor_12", "prob": 5 },
{ "item": "mossberg_930", "variant": "m1014", "prob": 10 },
{ "item": "mossberg_590", "variant": "slp", "contents-item": [ "rail_mount" ], "prob": 10 }
{ "item": "mossberg_590", "variant": "slp", "contents-item": [ "rail_mount" ], "prob": 10 },
{ "item": "mossberg_590m", "prob": 2 }
]
},
{
Expand Down
9 changes: 8 additions & 1 deletion data/json/itemgroups/Weapons_Mods_Ammo/magazines.json
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,14 @@
"type": "item_group",
"id": "mags_shotgun_common",
"//": "Factory specification shotgun magazines commonly owned by citizens.",
"items": [ [ "shot_speedloader6", 15 ], [ "shot_speedloader8", 15 ] ]
"items": [
[ "shot_speedloader6", 15 ],
[ "shot_speedloader8", 15 ],
{ "item": "mossberg_590m_mag_5", "prob": 3, "charges": 0 },
{ "item": "mossberg_590m_mag_10", "prob": 2, "charges": 0 },
{ "item": "mossberg_590m_mag_15", "prob": 1, "charges": 0 },
{ "item": "mossberg_590m_mag_20", "prob": 1, "charges": 0 }
]
},
{
"type": "item_group",
Expand Down
8 changes: 8 additions & 0 deletions data/json/itemgroups/Weapons_Mods_Ammo/nested_guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -2259,6 +2259,14 @@
"ammo": 100,
"entries": [ { "item": "mossberg_590", "charges": [ 0, 9 ] }, { "group": "on_hand_shot" } ]
},
{
"id": "nested_mossberg_590m",
"type": "item_group",
"//": "this is a distribution for the gun, reasonable number of backup mags, and some ammo to repack",
"subtype": "collection",
"ammo": 100,
"entries": [ { "item": "mossberg_590", "charges": [ 0, 5 ] }, { "group": "on_hand_shot" } ]
},
{
"id": "nested_remington_870_breacher",
"type": "item_group",
Expand Down
42 changes: 42 additions & 0 deletions data/json/items/gun/shot.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,48 @@
],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 9 } } ]
},
{
"id": "mossberg_590m",
"copy-from": "mossberg_590",
"looks_like": "mossberg_590",
"type": "GUN",
"name": { "str": "magazine-fed pump shotgun" },
"description": "Classic pump-action shotgun, where manufacturer modified the gun in order to use box magazines instead of tube.",
"variant_type": "gun",
"variants": [
{
"id": "mossberg_590",
"name": { "str": "Mossberg 590M shotgun" },
"description": "Classic Mossberg 590, modified by manufacturer to be able to utilize box magazines."
}
],
"weight": "3628 g",
"volume": "2548 ml",
"longest_side": "1033 mm",
"barrel_length": "469 mm",
"price": "770 USD",
"price_postapoc": "19 USD",
"valid_mod_locations": [
[ "barrel", 1 ],
[ "bayonet lug", 1 ],
[ "brass catcher", 1 ],
[ "grip mount", 1 ],
[ "mechanism", 2 ],
[ "muzzle", 1 ],
[ "rail mount", 1 ],
[ "sights mount", 1 ],
[ "sling", 1 ],
[ "stock mount", 1 ],
[ "stock accessory", 2 ],
[ "underbarrel mount", 1 ]
],
"pocket_data": [
{
"pocket_type": "MAGAZINE_WELL",
"item_restriction": [ "mossberg_590m_mag_5", "mossberg_590m_mag_10", "mossberg_590m_mag_15", "mossberg_590m_mag_20" ]
}
]
},
{
"id": "mossberg_930",
"copy-from": "shotgun_base",
Expand Down
95 changes: 95 additions & 0 deletions data/json/items/magazine/shot.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,100 @@
"ammo_type": [ "shot" ],
"flags": [ "MAG_COMPACT" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 5 } } ]
},
{
"id": "mossberg_590m_mag_5",
"copy-from": "mossberg_590m_mag_10",
"type": "MAGAZINE",
"name": { "str": "magazine-fed pump shotgun 5-round magazine" },
"description": "A small 5-round box magazine for the magazine-fed pump shotgun.",
"variant_type": "gun",
"variants": [
{
"id": "mossberg_590m_mag_5",
"name": { "str": "Mossberg 590M 5-round magazine" },
"description": "A small 5-round box magazine for the Mossberg 590M shotgun."
}
],
"weight": "445 g",
"volume": "770 ml",
"longest_side": "136 mm",
"price": "88 USD",
"price_postapoc": "4 USD",
"symbol": "#",
"color": "dark_gray",
"flags": [ "MAG_COMPACT" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 5 } } ]
},
{
"id": "mossberg_590m_mag_10",
"type": "MAGAZINE",
"name": { "str": "magazine-fed pump shotgun 10-round magazine" },
"description": "A 10-round box magazine for the magazine-fed pump shotgun.",
"variant_type": "gun",
"variants": [
{
"id": "mossberg_590m_mag_10",
"name": { "str": "Mossberg 590M 10-round magazine" },
"description": "A 10-round box magazine for the Mossberg 590M shotgun."
}
],
"weight": "607 g",
"volume": "1147 ml",
"longest_side": "203 mm",
"price": "99 USD",
"price_postapoc": "6 USD",
"material": [ "lc_steel" ],
"symbol": "#",
"color": "dark_gray",
"ammo_type": [ "shot" ],
"flags": [ "MAG_BULKY" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 10 } } ]
},
{
"id": "mossberg_590m_mag_15",
"copy-from": "mossberg_590m_mag_10",
"type": "MAGAZINE",
"name": { "str": "magazine-fed pump shotgun 15-round magazine" },
"description": "A 15-round box magazine for the magazine-fed pump shotgun.",
"variant_type": "gun",
"variants": [
{
"id": "mossberg_590m_mag_15",
"name": { "str": "Mossberg 590M 15-round magazine" },
"description": "A 15-round box magazine for the Mossberg 590M shotgun."
}
],
"weight": "740 g",
"volume": "1487 ml",
"longest_side": "263 mm",
"price": "116 USD",
"price_postapoc": "4 USD",
"symbol": "#",
"color": "dark_gray",
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 15 } } ]
},
{
"id": "mossberg_590m_mag_20",
"copy-from": "mossberg_590m_mag_10",
"type": "MAGAZINE",
"name": { "str": "magazine-fed pump shotgun 20-round magazine" },
"description": "A 20-round box magazine for the magazine-fed pump shotgun.",
"variant_type": "gun",
"variants": [
{
"id": "mossberg_590m_mag_20",
"name": { "str": "Mossberg 590M 20-round magazine" },
"description": "A 20-round box magazine for the Mossberg 590M shotgun."
}
],
"weight": "817 g",
"volume": "1810 ml",
"longest_side": "320 mm",
"price": "126 USD",
"price_postapoc": "3 USD",
"symbol": "#",
"color": "dark_gray",
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 20 } } ]
}
]
1 change: 1 addition & 0 deletions data/mods/Generic_Guns/firearms/gg_firearms_migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@
"aa_12",
"benelli_tsa",
"bigun",
"mossberg_590m",
"USAS_12"
],
"type": "MIGRATION",
Expand Down

0 comments on commit 87ebb2a

Please sign in to comment.