Skip to content

Commit

Permalink
Fix #53974 (#54188)
Browse files Browse the repository at this point in the history
* Update 10mm.json

* Update 22.json

* Update 3006.json

* Update 500.json

* Update 762.json

* Update 762R.json

* Update 9mm.json
  • Loading branch information
AbsentlyMultitask authored Jan 9, 2022
1 parent 55ae5ff commit 482fc79
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 7 deletions.
7 changes: 6 additions & 1 deletion data/json/items/gun/10mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
"blackpowder_tolerance": 56,
"clip_size": 6,
"pocket_data": [
{ "pocket_type": "MAGAZINE", "ammo_restriction": { "10mm": 6, "40": 6 }, "allowed_speedloaders": [ "40_speedloader6" ] }
{
"pocket_type": "MAGAZINE",
"rigid": true,
"ammo_restriction": { "10mm": 6, "40": 6 },
"allowed_speedloaders": [ "40_speedloader6" ]
}
]
},
{
Expand Down
9 changes: 8 additions & 1 deletion data/json/items/gun/22.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@
],
"faults": [ "fault_gun_blackpowder", "fault_gun_dirt" ],
"flags": [ "RELOAD_ONE" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "22": 19 }, "allowed_speedloaders": [ "marlin_tubeloader" ] } ]
"pocket_data": [
{
"pocket_type": "MAGAZINE",
"rigid": true,
"ammo_restriction": { "22": 19 },
"allowed_speedloaders": [ "marlin_tubeloader" ]
}
]
},
{
"id": "moss_brownie",
Expand Down
4 changes: 3 additions & 1 deletion data/json/items/gun/3006.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@
[ "underbarrel mount", 1 ]
],
"flags": [ "RELOAD_ONE" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "3006": 5 }, "allowed_speedloaders": [ "3006_clip" ] } ]
"pocket_data": [
{ "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "3006": 5 }, "allowed_speedloaders": [ "3006_clip" ] }
]
},
{
"id": "m1918",
Expand Down
9 changes: 8 additions & 1 deletion data/json/items/gun/500.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
[ "stock mount", 1 ],
[ "underbarrel mount", 1 ]
],
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "500": 5 }, "allowed_speedloaders": [ "500_speedloader5" ] } ]
"pocket_data": [
{
"pocket_type": "MAGAZINE",
"rigid": true,
"ammo_restriction": { "500": 5 },
"allowed_speedloaders": [ "500_speedloader5" ]
}
]
}
]
9 changes: 8 additions & 1 deletion data/json/items/gun/762.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,14 @@
],
"flags": [ "RELOAD_ONE", "NEVER_JAMS" ],
"weapon_category": [ "AUTOMATIC_RIFLES" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "762": 10 }, "allowed_speedloaders": [ "762x39_clip" ] } ]
"pocket_data": [
{
"pocket_type": "MAGAZINE",
"rigid": true,
"ammo_restriction": { "762": 10 },
"allowed_speedloaders": [ "762x39_clip" ]
}
]
},
{
"id": "aksemi",
Expand Down
4 changes: 3 additions & 1 deletion data/json/items/gun/762R.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@
[ "underbarrel mount", 1 ]
],
"flags": [ "RELOAD_ONE" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "762R": 5 }, "allowed_speedloaders": [ "762R_clip" ] } ]
"pocket_data": [
{ "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "762R": 5 }, "allowed_speedloaders": [ "762R_clip" ] }
]
},
{
"id": "mosin91_30_ebr",
Expand Down
9 changes: 8 additions & 1 deletion data/json/items/gun/9mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,14 @@
[ "underbarrel mount", 1 ]
],
"flags": [ "RELOAD_ONE" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "9mm": 10 }, "allowed_speedloaders": [ "clip9mm_10rd" ] } ]
"pocket_data": [
{
"pocket_type": "MAGAZINE",
"rigid": true,
"ammo_restriction": { "9mm": 10 },
"allowed_speedloaders": [ "clip9mm_10rd" ]
}
]
},
{
"id": "mauser_m714",
Expand Down

0 comments on commit 482fc79

Please sign in to comment.