Skip to content

Commit

Permalink
feat(balance): sanity-check spawns in drug deal map extra (#5866)
Browse files Browse the repository at this point in the history
* feat(balance): sanity-check spawns in drug deal map extra

* Update locations_mapextras.json
  • Loading branch information
chaosvolt authored Jan 13, 2025
1 parent c80f424 commit 5072086
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 21 deletions.
28 changes: 13 additions & 15 deletions data/json/itemgroups/Locations_MapExtras/locations_mapextras.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,28 @@
{ "item": "electric_lighter", "prob": 5 }
]
},
{ "group": "salty_snacks", "prob": 80 },
{ "group": "liquor_and_spirits", "prob": 16 },
{ "group": "methlab", "prob": 25 },
{ "group": "softdrugs", "prob": 50 },
{ "group": "smokedrugs", "prob": 100 },
{ "group": "baddrugs", "prob": 90 },
{
"distribution": [
{ "group": "gunmod_common", "prob": 50 },
{ "group": "gunmod_rare", "prob": 25 },
{ "group": "auto_sears", "prob": 25 }
],
"prob": 25
{ "group": "salty_snacks", "prob": 25 },
{ "group": "liquor_and_spirits", "prob": 25 },
{ "group": "softdrugs", "prob": 50 }
]
},
{ "group": "methlab", "prob": 25 },
{ "group": "smokedrugs", "prob": 100 },
{ "group": "baddrugs", "prob": 90 },
{
"distribution": [
{ "group": "guns_pistol_common", "prob": 50 },
{ "group": "guns_rifle_common", "prob": 10 },
{ "group": "guns_shotgun_common", "prob": 15 },
{ "group": "guns_smg_common", "prob": 25 }
{ "group": "guns_smg_common", "prob": 35 },
{ "group": "weapons", "prob": 50 },
{ "group": "gunmod_common", "prob": 25 },
{ "group": "gunmod_rare", "prob": 10 },
{ "group": "auto_sears", "prob": 15 }
],
"prob": 50
},
{ "group": "weapons", "prob": 70 }
}
]
}
]
12 changes: 6 additions & 6 deletions data/json/mapgen/map_extras/corpses.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@
"mapgensize": [ 24, 24 ],
"place_nested": [
{
"chunks": [ [ "drugbust_crimescene_1", 90 ], [ "drugbust_crimescene_3", 10 ] ],
"chunks": [ [ "drugbust_crimescene_1", 75 ], [ "drugbust_crimescene_3", 25 ] ],
"x": [ 0, 5 ],
"y": [ 0, 20 ],
"repeat": [ 3, 9 ]
},
{
"chunks": [ [ "drugbust_crimescene_2", 90 ], [ "drugbust_crimescene_3", 10 ] ],
"chunks": [ [ "drugbust_crimescene_2", 75 ], [ "drugbust_crimescene_3", 25 ] ],
"x": [ 15, 20 ],
"y": [ 0, 20 ],
"repeat": [ 3, 9 ]
Expand All @@ -180,13 +180,13 @@
"mapgensize": [ 24, 24 ],
"place_nested": [
{
"chunks": [ [ "drugbust_crimescene_1b", 80 ], [ "drugbust_crimescene_1c", 10 ], [ "drugbust_crimescene_3b", 10 ] ],
"chunks": [ [ "drugbust_crimescene_1b", 60 ], [ "drugbust_crimescene_1c", 15 ], [ "drugbust_crimescene_3b", 25 ] ],
"x": [ 0, 5 ],
"y": [ 0, 20 ],
"repeat": [ 2, 6 ]
},
{
"chunks": [ [ "drugbust_crimescene_2", 90 ], [ "drugbust_crimescene_3", 10 ] ],
"chunks": [ [ "drugbust_crimescene_2", 75 ], [ "drugbust_crimescene_3", 25 ] ],
"x": [ 15, 20 ],
"y": [ 0, 20 ],
"repeat": [ 3, 9 ]
Expand All @@ -203,13 +203,13 @@
"mapgensize": [ 24, 24 ],
"place_nested": [
{
"chunks": [ [ "drugbust_crimescene_1", 90 ], [ "drugbust_crimescene_3", 10 ] ],
"chunks": [ [ "drugbust_crimescene_1", 75 ], [ "drugbust_crimescene_3", 25 ] ],
"x": [ 0, 5 ],
"y": [ 0, 20 ],
"repeat": [ 3, 9 ]
},
{
"chunks": [ [ "drugbust_crimescene_2b", 80 ], [ "drugbust_crimescene_2c", 10 ], [ "drugbust_crimescene_3b", 10 ] ],
"chunks": [ [ "drugbust_crimescene_2b", 60 ], [ "drugbust_crimescene_2c", 15 ], [ "drugbust_crimescene_3b", 10 ] ],
"x": [ 15, 20 ],
"y": [ 0, 20 ],
"repeat": [ 2, 6 ]
Expand Down

0 comments on commit 5072086

Please sign in to comment.