Skip to content

Commit

Permalink
Cabin item spawn adjustments (#48825)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse authored May 12, 2021
1 parent 644178b commit 6b7d326
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
24 changes: 15 additions & 9 deletions data/json/mapgen_palettes/cabin.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{ "item": "magazines", "chance": 60, "repeat": [ 1, 8 ] },
{ "item": "manuals", "chance": 30 }
],
"B": { "item": "bed", "chance": 60 },
"B": { "item": "bed", "chance": 60, "repeat": [ 1, 3 ] },
"d": [ { "item": "livingroom", "chance": 40 }, { "item": "office", "chance": 40 } ],
"D": [
{ "item": "SUS_dresser_mens", "chance": 50, "repeat": [ 1, 4 ] },
Expand All @@ -84,20 +84,26 @@
"R": [
{ "item": "camping", "chance": 50 },
{ "item": "gear_survival", "chance": 30 },
{ "item": "cannedfood", "chance": 50 },
{ "item": "cannedfood", "chance": 50, "repeat": [ 2, 4 ] },
{ "item": "stash_food", "chance": 50 }
],
"s": { "item": "SUS_bathroom_sink", "chance": 60 },
"s": [
{ "item": "SUS_bathroom_sink", "chance": 60 },
{ "item": "SUS_hair_drawer", "chance": 30 },
{ "item": "SUS_bathroom_cabinet", "chance": 30 },
{ "item": "SUS_bathroom_medicine", "chance": 20 },
{ "item": "harddrugs", "chance": 2 }
],
"t": { "item": "dining", "chance": 30, "repeat": [ 1, 2 ] },
"U": { "item": "camping", "chance": 30, "repeat": [ 1, 4 ] },
"u": { "item": "SUS_pantry", "chance": 50 },
"u": [ { "item": "SUS_pantry", "chance": 25 }, { "item": "cannedfood", "chance": 20, "repeat": [ 1, 2 ] } ],
"V": { "item": "SUS_oven", "chance": 70 },
"Y": { "item": "coat_rack", "chance": 35, "repeat": [ 1, 4 ] },
"1": [ { "item": "SUS_dishes", "chance": 35 }, { "item": "SUS_silverware", "chance": 35 } ],
"2": { "item": "SUS_cookware", "chance": 35 },
"3": [ { "item": "SUS_utensils", "chance": 35 }, { "item": "SUS_knife_drawer", "chance": 35 } ],
"4": [ { "item": "SUS_junk_drawer", "chance": 35 }, { "item": "SUS_spice_collection", "chance": 35 } ],
"5": { "item": "SUS_kitchen_sink", "chance": 35 }
"1": [ { "item": "SUS_dishes", "chance": 50 }, { "item": "SUS_silverware", "chance": 50 } ],
"2": { "item": "SUS_cookware", "chance": 100 },
"3": [ { "item": "SUS_utensils", "chance": 50 }, { "item": "SUS_knife_drawer", "chance": 50 } ],
"4": [ { "item": "SUS_junk_drawer", "chance": 50 }, { "item": "SUS_spice_collection", "chance": 50 } ],
"5": { "item": "SUS_kitchen_sink", "chance": 100 }
},
"toilets": { "T": { } }
}
Expand Down
22 changes: 13 additions & 9 deletions data/mods/Magiclysm/worldgen/magic_cabin.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,22 @@
},
"toilets": { "&": { } },
"items": {
"I": { "item": "office", "chance": 30 },
"Q": { "item": "shower", "chance": 30 },
"S": { "item": "softdrugs", "chance": 30 },
"I": { "item": "office", "chance": 30, "repeat": [ 1, 2 ] },
"Q": { "item": "shower", "chance": 30, "repeat": [ 1, 2 ] },
"S": { "item": "softdrugs", "chance": 30, "repeat": [ 1, 2 ] },
"@": { "item": "bed", "chance": 20, "repeat": [ 1, 2 ] },
"V": { "item": "kitchen_counters", "chance": 20, "repeat": [ 1, 2 ] },
"V": [ { "item": "SUS_utensils", "chance": 50 }, { "item": "SUS_knife_drawer", "chance": 50 } ],
"t": { "item": "dishes_dining", "chance": 30 },
"D": { "item": "magic_shop_wands", "chance": 30 },
"F": { "item": "fridge", "chance": 20, "repeat": [ 1, 2 ] },
"D": { "item": "magic_shop_wands", "chance": 30, "repeat": [ 1, 2 ] },
"F": { "item": "SUS_fridge", "chance": 100 },
"G": { "item": "magic_shop_potions", "chance": 30, "repeat": [ 1, 2 ] },
"O": { "item": "oven", "chance": 20, "repeat": [ 1, 2 ] },
"K": { "item": "allclothes", "chance": 20, "repeat": [ 1, 2 ] },
"B": { "item": "magic_shop_books", "chance": 20, "repeat": [ 1, 2 ] }
"O": { "item": "oven", "chance": 70, "repeat": [ 1, 2 ] },
"K": { "item": "allclothes", "chance": 70, "repeat": [ 1, 2 ] },
"B": [
{ "item": "magic_shop_books", "chance": 20, "repeat": [ 1, 2 ] },
{ "item": "homebooks", "chance": 40, "repeat": [ 1, 4 ] },
{ "item": "games", "chance": 20, "repeat": [ 1, 2 ] }
]
}
}
},
Expand Down

0 comments on commit 6b7d326

Please sign in to comment.