Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamandus committed Jun 20, 2024
1 parent bde62e4 commit 96c202c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"subtype": "collection",
"entries": [
{ "item": "glock_31", "ammo-group": "on_hand_357sig", "charges": [ 0, 15 ] },
{ "group": "nested_glock22_mag", "charges-min": 0 },
{ "group": "nested_glock22_mag", "charges-min": 0, "prob": 50 }
{ "group": "nested_glock31_mag", "charges-min": 0 },
{ "group": "nested_glock31_mag", "charges-min": 0, "prob": 50 }
]
},
{
Expand All @@ -73,8 +73,8 @@
"subtype": "collection",
"entries": [
{ "item": "ar_357sig", "ammo-group": "on_hand_357sig", "charges": [ 0, 15 ] },
{ "group": "nested_glock22_mag", "charges-min": 0 },
{ "group": "nested_glock22_mag", "charges-min": 0, "prob": 50 }
{ "group": "nested_glock31_mag", "charges-min": 0 },
{ "group": "nested_glock31_mag", "charges-min": 0, "prob": 50 }
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions data/json/itemgroups/Weapons_Mods_Ammo/nested_guns.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
"ammo": 100,
"entries": [
{ "item": "glock_31", "ammo-group": "on_hand_357sig", "charges": [ 0, 15 ] },
{ "group": "nested_glock22_mag" },
{ "group": "nested_glock22_mag", "prob": 50 },
{ "group": "nested_glock31_mag" },
{ "group": "nested_glock31_mag", "prob": 50 },
{ "group": "on_hand_357sig" }
]
},
Expand All @@ -86,8 +86,8 @@
"ammo": 100,
"entries": [
{ "item": "ar_357sig", "ammo-group": "on_hand_357sig", "charges": [ 0, 15 ] },
{ "group": "nested_glock22_mag" },
{ "group": "nested_glock22_mag", "prob": 50 },
{ "group": "nested_glock31_mag" },
{ "group": "nested_glock31_mag", "prob": 50 },
{ "group": "on_hand_357sig" }
]
},
Expand Down
11 changes: 11 additions & 0 deletions data/json/itemgroups/Weapons_Mods_Ammo/nested_magazines.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@
{ "item": "glock40drum50rd", "ammo-group": "on_hand_40", "prob": 5 }
]
},
{
"id": "nested_glock31_mag",
"type": "item_group",
"subtype": "distribution",
"ammo": 100,
"entries": [
{ "item": "glock40mag", "ammo-group": "on_hand_357sig", "prob": 100 },
{ "item": "glock40bigmag", "ammo-group": "on_hand_357sig", "prob": 5 },
{ "item": "glock40drum50rd", "ammo-group": "on_hand_357sig", "prob": 5 }
]
},
{
"id": "nested_m1911_mag",
"type": "item_group",
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/357sig.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"looks_like": "ar15",
"copy-from": "rifle_semi",
"type": "GUN",
"name": { "str": "Moriarti MA-357Sig-16" },
"description": "A semi-automatic rifle using .357 SIG rounds. It is also compatible with Glock 31 magazines.",
"name": { "str": "Moriarti AR .357sig" },
"description": "A semi-automatic rifle using .357 SIG rounds, also known as Moriarti MA-357Sig-16. It is also compatible with Glock 31 magazines.",
"weight": "3000 g",
"volume": "2 L",
"barrel_length": "250 ml",
Expand Down

0 comments on commit 96c202c

Please sign in to comment.