Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIG SG magazines and rifles #38247

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions data/json/itemgroups/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@
{ "item": "rm51_assault_rifle", "prob": 25, "charges-min": 0, "charges-max": 50 },
{ "item": "rm614_lmg", "prob": 10, "charges-min": 0, "charges-max": 100 },
{ "item": "rm88_battle_rifle", "prob": 25, "charges-min": 0, "charges-max": 50 },
{ "item": "sig552", "prob": 100, "charges-min": 0, "charges-max": 30 },
{ "item": "scar_l", "prob": 50, "charges-min": 0, "charges-max": 30 },
{ "item": "scar_h", "prob": 50, "charges-min": 0, "charges-max": 20 },
{ "item": "m110a1", "prob": 50, "charges-min": 0, "charges-max": 20 },
Expand Down Expand Up @@ -278,7 +277,9 @@
{ "item": "trex_gun", "prob": 60 },
{ "item": "arx160", "prob": 40, "charges-min": 0, "charges-max": 30 },
{ "item": "iwi_tavor_x95_300blk", "prob": 10, "charges-min": 0, "charges-max": 30 },
{ "item": "acr_300blk", "prob": 15, "charges-min": 0, "charges-max": 30 }
{ "item": "acr_300blk", "prob": 15, "charges-min": 0, "charges-max": 30 },
{ "item": "sig553", "prob": 5, "charges-min": 0, "charges-max": 30 },
{ "item": "sig550", "prob": 3, "charges-min": 0, "charges-max": 30 }
]
},
{
Expand Down
4 changes: 3 additions & 1 deletion data/json/itemgroups/magazines.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@
[ "m1918bigmag", 40 ],
[ "ruger1022bigmag", 70 ],
[ "lw223mag", 20 ],
[ "lw223bigmag", 20 ]
[ "lw223bigmag", 20 ],
[ "sig_sg20", 3 ],
[ "sig_sg30", 5 ]
]
},
{
Expand Down
59 changes: 55 additions & 4 deletions data/json/items/gun/223.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,25 +424,76 @@
"magazines": [ [ "223", [ "stanag30", "stanag50", "survivor223mag" ] ] ]
},
{
"id": "sig552",
"id": "sig550",
"copy-from": "rifle_auto",
"looks_like": "ar15",
"type": "GUN",
"name": { "str": "SIG 552" },
"name": { "str": "SIG SG 550" },
"description": "SIG SG 550 is an assault rifle made to be operated under the coldest, harshest conditions in the mountains of Switzerland. Accurate and reliable, like a Swiss watch.",
"weight": "3600 g",
"volume": "2795 ml",
"price": 400000,
"to_hit": -1,
"bashing": 12,
"material": [ "steel", "plastic" ],
"ammo": "223",
"dispersion": 140,
"durability": 9,
"min_cycle_recoil": 1350,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "3 rd.", 3 ], [ "AUTO", "auto", 4 ] ],
"default_mods": [ "bipod" ],
"built_in_mods": [ "folding_stock" ],
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
[ "bore", 1 ],
[ "brass catcher", 1 ],
[ "mechanism", 4 ],
[ "muzzle", 1 ],
[ "sights", 1 ],
[ "sling", 1 ],
[ "grip", 1 ],
[ "rail mount", 1 ],
[ "stock", 1 ],
[ "underbarrel", 1 ]
],
"magazines": [ [ "223", [ "sig_sg30", "sig_sg20" ] ] ]
},
{
"id": "sig553",
"copy-from": "rifle_auto",
"looks_like": "ar15",
"type": "GUN",
"name": { "str": "SIG SG 553" },
"description": "A compact selective fire automatic rifle designed for the Swiss military. It features a three-round burst mode and an integrated folding stock.",
"weight": "3000 g",
"volume": "1750 ml",
"volume": "2150 ml",
"price": 320000,
"to_hit": -1,
"bashing": 10,
"material": [ "steel", "plastic" ],
"ammo": "223",
"ranged_damage": -6,
"dispersion": 180,
"durability": 9,
"min_cycle_recoil": 1350,
"modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "3 rd.", 3 ], [ "AUTO", "auto", 4 ] ],
"built_in_mods": [ "folding_stock" ],
"magazines": [ [ "223", [ "stanag30", "stanag50", "survivor223mag" ] ] ]
"valid_mod_locations": [
[ "accessories", 4 ],
[ "barrel", 1 ],
[ "bore", 1 ],
[ "brass catcher", 1 ],
[ "mechanism", 4 ],
[ "muzzle", 1 ],
[ "sights", 1 ],
[ "sling", 1 ],
[ "grip", 1 ],
[ "rail mount", 1 ],
[ "stock", 1 ],
[ "underbarrel mount", 1 ]
],
"magazines": [ [ "223", [ "sig_sg30", "sig_sg20" ] ] ]
},
{
"id": "steyr_aug",
Expand Down
32 changes: 32 additions & 0 deletions data/json/items/magazine/223.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,38 @@
"reliability": 8,
"flags": [ "MAG_COMPACT" ]
},
{
"id": "sig_sg20",
"type": "MAGAZINE",
"name": "SIG SG 20-round magazine",
"description": "A slick 20-round capacity magazine used with SIG SG rifles.",
"weight": "90 g",
"volume": "400 ml",
"price": 15000,
"material": "plastic",
"symbol": "#",
"color": "light_gray",
"ammo_type": "223",
"capacity": 20,
"reliability": 8,
"flags": [ "MAG_COMPACT" ]
},
{
"id": "sig_sg30",
"type": "MAGAZINE",
"name": "SIG SG 30-round magazine",
"description": "A standard capacity magazine used with SIG SG rifles.",
"weight": "110 g",
"volume": "500 ml",
"price": 17500,
"material": "plastic",
"symbol": "#",
"color": "light_gray",
"ammo_type": "223",
"capacity": 30,
"reliability": 8,
"flags": [ "MAG_COMPACT" ]
},
{
"id": "stanag30",
"type": "MAGAZINE",
Expand Down
5 changes: 5 additions & 0 deletions data/json/items/migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -988,5 +988,10 @@
"id": "40mm_casing",
"type": "MIGRATION",
"replace": "40x46mm_m118_casing"
},
{
"id": "sig552",
"type": "MIGRATION",
"replace": "sig553"
}
]
2 changes: 1 addition & 1 deletion data/json/martialarts.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@
"m27iar",
"rm51_assault_rifle",
"rm88_battle_rifle",
"sig552",
"sig553",
"sks",
"steyr_aug"
]
Expand Down
1 change: 0 additions & 1 deletion data/json/recipes/weapon/magazines.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
[ "m4a1", -1 ],
[ "m16a4", -1 ],
[ "scar_l", -1 ],
[ "sig552", -1 ],
[ "surv_carbine_223", -1 ]
],
[ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ]
Expand Down
3 changes: 2 additions & 1 deletion data/mods/Generic_Guns/firearms/gg_firearms_migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@
"mosin91_30",
"ar15",
"ruger_mini",
"sig552",
"sig553",
"sig550",
"steyr_aug",
"iwi_tavor_x95_300blk",
"ar15_retool_300blk",
Expand Down
2 changes: 2 additions & 0 deletions data/mods/Generic_Guns/magazines/gg_magazines_migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@
"lw223mag",
"stanag30",
"stanag50",
"sig_sg20",
"sig_sg30",
"blrmag",
"m1918bigmag",
"m1918mag",
Expand Down