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

I know now why you cry: Shotgun additions #34638

Merged
merged 44 commits into from
Dec 1, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
1a05e5e
come with me if you want to live
tenmillimaster Oct 11, 2019
58571f7
mag and mod spawn
tenmillimaster Oct 11, 2019
104dc03
Gatty shot updates.
tenmillimaster Oct 11, 2019
de3e41f
very important typo fix in a json comment
tenmillimaster Oct 11, 2019
2ebddea
fixes to charges
tenmillimaster Oct 11, 2019
f1d8b52
looks like's
tenmillimaster Oct 11, 2019
71fa4a5
lint guns.json
tenmillimaster Oct 11, 2019
45d9806
recipe, other fixes
tenmillimaster Oct 11, 2019
a2c425d
batteries not included
tenmillimaster Oct 11, 2019
e0984a0
firemodes, no muzzle on pgo, usas20 weight
tenmillimaster Oct 11, 2019
d97600e
price fix
tenmillimaster Oct 11, 2019
c7da249
lentils
tenmillimaster Oct 11, 2019
6904270
more stat fixes, 1100, barrel_len documentation, new slot
tenmillimaster Oct 12, 2019
be00dc3
properly handle abzats removal
tenmillimaster Oct 16, 2019
574e681
bigun instead of tavor12
tenmillimaster Oct 16, 2019
7aa15d0
come with me if you want to live
tenmillimaster Oct 11, 2019
ed7bfcb
mag and mod spawn
tenmillimaster Oct 11, 2019
a6c3426
Gatty shot updates.
tenmillimaster Oct 11, 2019
04036f8
very important typo fix in a json comment
tenmillimaster Oct 11, 2019
4574c33
fixes to charges
tenmillimaster Oct 11, 2019
22db647
looks like's
tenmillimaster Oct 11, 2019
2643e28
lint guns.json
tenmillimaster Oct 11, 2019
21b96ba
recipe, other fixes
tenmillimaster Oct 11, 2019
a79db4f
batteries not included
tenmillimaster Oct 11, 2019
a0e92bd
firemodes, no muzzle on pgo, usas20 weight
tenmillimaster Oct 11, 2019
a4a17d5
price fix
tenmillimaster Oct 11, 2019
4b50bdc
lentils
tenmillimaster Oct 11, 2019
a092426
more stat fixes, 1100, barrel_len documentation, new slot
tenmillimaster Oct 12, 2019
781a136
properly handle abzats removal
tenmillimaster Oct 16, 2019
ef47351
bigun instead of tavor12
tenmillimaster Oct 16, 2019
4c02fd9
Merge branch 'shotguns2' of https://github.com/tenmillimaster/Catacly…
tenmillimaster Oct 25, 2019
91c5e15
Merge branch 'master' into shotguns2
tenmillimaster Oct 25, 2019
15a27b2
Update data/json/items/migration.json
tenmillimaster Oct 25, 2019
0dd68ea
Update ranged_balance.cpp
tenmillimaster Oct 26, 2019
c7eae93
Aftermarket sight groups, shot group updates, dispersion value updates
tenmillimaster Nov 5, 2019
2b3c9b6
Merge branch 'master' into shotguns2
tenmillimaster Nov 5, 2019
719e18f
aux tubes
tenmillimaster Nov 7, 2019
b649233
Merge branch 'master' into shotguns2
tenmillimaster Nov 7, 2019
89a1385
typo, neverjams for single/revolvers, copy-from for ashot
tenmillimaster Nov 10, 2019
656670b
Merge branch 'master' into shotguns2
tenmillimaster Nov 10, 2019
86a2943
Update shot.json
tenmillimaster Nov 10, 2019
6e6d693
Merge branch 'master' into shotguns2
tenmillimaster Nov 11, 2019
30cbfe2
Merge branch 'master' into shotguns2
tenmillimaster Nov 15, 2019
fc79a7e
Merge branch 'master' into shotguns2
ZhilkinSerg Dec 1, 2019
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
1 change: 1 addition & 0 deletions data/json/itemgroups/gunmod.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
[ "pistol_bayonet", 10 ],
[ "pistol_scope", 10 ],
[ "pistol_stock", 10 ],
[ "arredondo_chute", 20 ],
[ "rail_laser_sight", 40 ],
[ "red_dot_sight", 70 ],
[ "recoil_stock", 60 ],
Expand Down
36 changes: 25 additions & 11 deletions data/json/itemgroups/guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,40 +292,53 @@
"id": "guns_shotgun_common",
"//": "Shotguns commonly owned by citizens and found in many locations.",
"items": [
{ "item": "mossberg_500", "prob": 50, "charges-min": 0, "charges-max": 8 },
{ "item": "remington_870", "prob": 100, "charges-min": 0, "charges-max": 6 },
{ "item": "mossberg_500", "prob": 33, "charges-min": 0, "charges-max": 8 },
{ "item": "remington_870", "prob": 35, "charges-min": 0, "charges-max": 6 },
{ "item": "mossberg_500_security", "prob": 17, "charges-min": 0, "charges-max": 8 },
{ "item": "remington_870_express", "prob": 18, "charges-min": 0, "charges-max": 6 },
{ "item": "browning_a5", "prob": 14, "charges-min": 0, "charges-max": 6 },
{ "item": "mossberg_930", "prob": 15, "charges-min": 0, "charges-max": 6 },
{ "item": "shotgun_d", "prob": 30, "charges-min": 0, "charges-max": 2 },
{ "item": "shotgun_s", "prob": 30 }
]
},
{
"type": "item_group",
"id": "guns_shotgun_rare",
"//": "Less common shotguns including those only used by police/paramilitary forces.",
"//": "Uncommon or rare shotguns in civilian possession.",
"items": [
{ "item": "ksg", "prob": 50, "charges-min": 0, "charges-max": 7 },
{ "item": "m1014", "prob": 80, "charges-min": 0, "charges-max": 8 },
{ "item": "rm120c", "prob": 30, "charges-min": 0, "charges-max": 5 },
{ "item": "rm228", "prob": 30, "charges-min": 0, "charges-max": 10 },
{ "item": "l_def_12", "prob": 20, "charges-min": 0, "charges-max": 8 },
{ "item": "saiga_12", "prob": 50, "charges-min": 0, "charges-max": 10 },
{ "item": "saiga_410", "prob": 40, "charges-min": 0, "charges-max": 10 }
{ "item": "m1014", "prob": 10, "charges-min": 0, "charges-max": 8 },
{ "item": "tavor_12", "prob": 5, "charges-min": 0, "charges-max": 16 },
{ "item": "SPAS_12", "prob": 2, "charges-min": 0, "charges-max": 9 },
{ "item": "winchester_1887", "prob": 10, "charges-min": 0, "charges-max": 7 },
{ "item": "winchester_1897", "prob": 7, "charges-min": 0, "charges-max": 6 },
{ "item": "rm120c", "prob": 5, "charges-min": 0, "charges-max": 5 },
{ "item": "rm228", "prob": 5, "charges-min": 0, "charges-max": 10 }
]
},
{
"type": "item_group",
"id": "guns_shotgun_milspec",
"//": "Military specification shotguns only ever found at military sites.",
"//": "Military shotguns currently in service.",
"items": [
{ "item": "rm20", "prob": 20, "charges-min": 0, "charges-max": 20 },
{ "item": "remington_870_express", "prob": 50, "charges-min": 0, "charges-max": 6 },
{ "item": "remington_870_breacher", "prob": 20, "charges-min": 0, "charges-max": 6 },
{ "item": "remington_590", "prob": 50, "charges-min": 0, "charges-max": 6 },
{ "item": "m1014", "prob": 100, "charges-min": 0, "charges-max": 8 }
]
},
{
"type": "item_group",
"id": "guns_shotgun_obscure",
"//": "Imported or otherwise very obscure shotguns.",
"items": [ ]
"items": [
{ "item": "saiga_12", "prob": 50, "charges-min": 0, "charges-max": 10 },
{ "item": "streetsweeper", "prob": 4, "charges-min": 0, "charges-max": 10 },
{ "item": "USAS_12", "prob": 1, "charges-min": 0, "charges-max": 10 },
{ "item": "saiga_410", "prob": 40, "charges-min": 0, "charges-max": 10 }
]
},
{
"type": "item_group",
Expand Down Expand Up @@ -491,6 +504,7 @@
{ "item": "m1014", "prob": 10, "charges-min": 0, "charges-max": 8 },
{ "item": "m4a1", "prob": 35, "charges-min": 0, "charges-max": 30 },
{ "item": "as50", "prob": 5, "charges-min": 0, "charges-max": 10 },
{ "item": "USAS_12", "prob": 1, "charges-min": 0, "charges-max": 10 },
{ "item": "hk417_13", "prob": 30, "charges-min": 0, "charges-max": 20 }
]
},
Expand Down
6 changes: 3 additions & 3 deletions data/json/itemgroups/item_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -3305,9 +3305,9 @@
[ "tazer", 25 ],
[ "remington_700", 5 ],
[ "3006", 5 ],
[ "l_def_12", 8 ],
[ "remington_870", 8 ],
[ "mossberg_500", 8 ],
[ "ksg", 8 ],
[ "remington_870_express", 8 ],
[ "mossberg_500_security", 8 ],
[ "shot_beanbag", 25 ],
[ "rm120c", 2 ],
[ "rm20", 1 ],
Expand Down
2 changes: 2 additions & 0 deletions data/json/itemgroups/magazines.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@
"items": [
[ "saiga10mag", 50 ],
[ "saiga30mag", 10 ],
[ "USAS10mag", 20 ],
[ "USAS20mag", 5 ],
[ "saiga410mag_10rd", 30 ],
[ "saiga410mag_30rd", 10 ],
[ "shot_speedloader6", 15 ],
Expand Down
10 changes: 5 additions & 5 deletions data/json/items/classes/gun.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,14 @@
[ "barrel", 1 ],
[ "bore", 1 ],
[ "brass catcher", 1 ],
[ "grip", 1 ],
[ "grip mount", 1 ],
[ "mechanism", 4 ],
[ "muzzle", 1 ],
[ "rail", 1 ],
[ "sights", 1 ],
[ "rail mount", 1 ],
[ "sights mount", 1 ],
[ "sling", 1 ],
[ "stock", 1 ],
[ "underbarrel", 1 ]
[ "stock mount", 1 ],
[ "underbarrel mount", 1 ]
]
},
{
Expand Down
Loading