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

Fix bathroom SUS groups #36529

Merged
merged 2 commits into from
Dec 30, 2019
Merged
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
68 changes: 48 additions & 20 deletions data/json/itemgroups/SUS/domestic.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,35 +609,63 @@
]
},
{
"id": "SUS_bathroom_toiletries",
"id": "SUS_bathroom_sink",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "This is a category for all the items which appear in bathrooms, which are NOT immediately useful medicines. This list is created in part to not ruin player's chances of finding antibiotics, antifungals and asprin, as it suppliments the current bathroom drops instead of replacing. Item probabilities are loosely based on how likely families would take an item with them when evacuating.",
"//2": "This group is for a bathroom sink.",
"subtype": "collection",
"entries": [
{ "item": "soap_holder", "prob": 40 },
{ "item": "soap", "count": [ 1, 4 ], "prob": 60 },
{ "item": "soap", "count": [ 1, 4 ], "prob": 90 },
{ "item": "razor_shaving", "count": [ 1, 2 ], "prob": 20 },
{ "item": "bleach", "prob": 15 },
{ "item": "ammonia", "prob": 20 },
{ "item": "razor_shaving", "count": [ 1, 2 ], "prob": 75 },
{ "item": "shavingkit", "prob": 1 },
{ "item": "mirror", "prob": 25 },
{ "item": "toothbrush_plain", "count": [ 1, 3 ], "prob": 45 },
{ "item": "hairbrush", "count": [ 1, 2 ], "prob": 60 },
{ "item": "toothbrush_plain", "count": [ 1, 3 ], "prob": 45 }
]
},
{
"id": "SUS_hair_drawer",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "This group is for a drawer for haircare tools.",
"subtype": "collection",
"entries": [
{ "item": "hairbrush", "count": [ 1, 2 ], "prob": 90 },
{ "item": "comb_pocket", "count": [ 1, 2 ], "prob": 75 },
{ "item": "curler_hair", "prob": 25 },
{ "item": "string_floss", "count": [ 1, 2 ], "prob": 50 },
{ "item": "comb_pocket", "count": [ 1, 2 ], "prob": 55 },
{ "item": "plunger_toilet", "prob": 90 },
{ "item": "plunger_futuristic", "prob": 20 },
{ "item": "cu_pipe", "prob": 10 },
{ "item": "hose", "prob": 10 },
{ "item": "sponge", "count": [ 1, 3 ], "prob": 75 },
{ "item": "candle", "count": [ 1, 2 ], "prob": 20 },
{ "item": "matches", "prob": 10 },
{ "item": "toilet_paper", "prob": 80 },
{ "item": "hair_dryer", "prob": 60 },
{ "item": "curling_iron", "prob": 50 },
{ "item": "brush_toilet", "prob": 75 }
{ "item": "curling_iron", "prob": 20 }
]
},
{
"id": "SUS_toilet",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "This group is for things you often find stored on or next to a toilet.",
"subtype": "collection",
"entries": [
{ "distribution": [ { "item": "plunger_toilet", "prob": 90 }, { "item": "plunger_futuristic", "prob": 10 } ] },
{ "item": "brush_toilet", "prob": 75 },
{ "item": "toilet_paper", "prob": 80 }
]
},
{
"id": "SUS_bathroom_cabinet",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "This group is for a bathroom cabinet.",
"subtype": "collection",
"entries": [
{ "item": "soap", "count": [ 1, 4 ], "prob": 70 },
{
"distribution": [ { "item": "razor_shaving", "count": [ 1, 2 ], "prob": 50 }, { "item": "shavingkit", "prob": 50 } ],
"prob": 75
},
{ "item": "mirror", "prob": 25 },
{ "item": "string_floss", "count": [ 1, 2 ], "prob": 60 },
{ "item": "sponge", "count": [ 1, 3 ], "prob": 75 },
{ "collection": [ { "item": "candle", "count": [ 1, 2 ] }, { "item": "matches" } ], "prob": 20 },
{ "item": "toilet_paper", "prob": 80 }
]
}
]