Skip to content

Commit

Permalink
Separate stalls into own file + book spawn fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Milopetilo committed Feb 8, 2024
1 parent d296fb2 commit c2c7e0e
Show file tree
Hide file tree
Showing 2 changed files with 216 additions and 214 deletions.
214 changes: 0 additions & 214 deletions data/json/mapgen/cs_market_small.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,219 +48,5 @@
}
]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_meat",
"object": {
"mapgensize": [ 6, 6 ],
"rows": [
"cccccc",
"cf t",
"C d",
"cf d",
"cf H d",
"cccccc"
],
"furniture": { "H": "f_hanging_meathook" },
"item": { "h": { "item": "" } },
"items": {
"t": { "item": "cash_register_random", "chance": 80 },
"d": { "item": "butcher_meat", "chance": 25, "repeat": [ 1, 2 ] },
"f": { "item": "butcher_raw_meat", "chance": 25, "repeat": [ 1, 2 ] },
"H": { "item": "butcher_raw_meat", "chance": 25, "repeat": [ 1, 2 ] }
},
"palettes": [ "open_air_stall_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_grocery",
"object": {
"mapgensize": [ 6, 6 ],
"rows": [
"cccccc",
"cT t",
"C d",
"cT d",
"cT d",
"cccccc"
],
"items": {
"t": { "item": "cash_register_random", "chance": 100 },
"T": { "item": "fresh_produce", "chance": 30, "repeat": [ 1, 2 ] },
"d": { "item": "produce", "chance": 30, "repeat": [ 1, 4 ] }
},
"palettes": [ "open_air_stall_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_fish",
"object": {
"mapgensize": [ 6, 6 ],
"rows": [
"cccccc",
"cr t",
"C d",
"cr d",
"cr d",
"cccccc"
],
"liquids": { "d": { "liquid": "water", "amount": [ 12, 60 ] } },
"items": {
"t": { "item": "cash_register_random", "chance": 100 },
"d": [ { "item": "fresh_fish", "chance": 50 } ],
"r": { "item": "fish_market_stall", "chance": 30, "repeat": [ 1, 2 ] }
},
"palettes": [ "open_air_stall_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_confectionery",
"object": {
"mapgensize": [ 6, 6 ],
"rows": [
"ccccc ",
"cr t ",
"cr d ",
"C d ",
"cr d ",
"ccccc "
],
"items": {
"t": { "item": "cash_register_random", "chance": 100 },
"r": { "item": "candy_chocolate", "chance": 40, "repeat": [ 1, 2 ] },
"d": { "item": "candy_shop", "chance": 30, "repeat": [ 1, 3 ] }
},
"palettes": [ "open_air_stall_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_bees",
"object": {
"mapgensize": [ 4, 4 ],
"rows": [
"cccc",
"cr t",
"C T",
"cccc"
],
"items": {
"t": { "item": "cash_register_random", "chance": 100 },
"r": { "item": "honey_market_stall", "chance": 30, "repeat": [ 1, 3 ] },
"T": { "item": "honey_market_stall", "chance": 30, "repeat": [ 1, 2 ] }
},
"palettes": [ "open_air_stall_palette" ],
"//": "Give small chance to spawn mutated/normal bees?"
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_clothes",
"object": {
"mapgensize": [ 6, 6 ],
"rows": [
"cccccc",
"MRKJZc",
" c",
" C",
"MRTIUc",
"cccccc"
],
"furniture": {
"I": "f_clothing_rail",
"J": "f_clothing_rail",
"K": "f_clothing_rail",
"M": "f_mannequin",
"R": "f_clothing_rail",
"T": "f_clothing_rail",
"U": "f_clothing_rail",
"Z": "f_clothing_rail"
},
"items": {
"t": { "item": "cash_register_random", "chance": 100 },
"R": { "item": "SUS_mannequin_outdoor", "chance": 30, "repeat": [ 1, 2 ] },
"M": { "item": "SUS_mannequin_general", "chance": 30, "repeat": [ 1, 2 ] },
"K": { "item": "coats_unisex", "chance": 50 },
"J": [ { "item": "shoes_unisex", "chance": 60 }, { "item": "shoes_womens", "chance": 20 } ],
"Z": [ { "item": "shirts_unisex", "chance": 60 }, { "item": "shirts_womens", "chance": 25 } ],
"U": { "item": "underwear_mens", "chance": 65 },
"I": { "item": "underwear_womens", "chance": 65 },
"T": [ { "item": "gloves_unisex", "chance": 65 }, { "item": "scarfs_unisex", "chance": 40 } ]
},
"palettes": [ "open_air_stall_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_botanical",
"object": {
"mapgensize": [ 5, 5 ],
"rows": [
"ccccc",
"ppppc",
" C",
"ppppc",
"ccccc"
],
"furniture": { "p": [ "f_indoor_plant", "f_indoor_plant_y" ] },
"items": { "t": { "item": "cash_register_random", "chance": 100 } },
"palettes": [ "open_air_stall_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_misc",
"object": {
"mapgensize": [ 7, 7 ],
"rows": [
"ccccccc",
" rrrrrc",
" c",
"trrrrrc",
" c",
" rrrrrc",
"ccccccc"
],
"items": { "t": { "item": "cash_register_random", "chance": 100 } },
"place_items": [
{ "chance": 50, "repeat": [ 1, 3 ], "item": "recycle_electronic", "x": [ 1, 5 ], "y": [ 1, 1 ] },
{ "chance": 50, "repeat": [ 1, 3 ], "item": "office_mess", "x": [ 1, 5 ], "y": [ 3, 3 ] },
{ "chance": 50, "repeat": [ 1, 3 ], "item": "recycle_electronic", "x": [ 1, 5 ], "y": [ 5, 5 ] }
],
"palettes": [ "open_air_stall_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "market_books",
"object": {
"mapgensize": [ 6, 6 ],
"rows": [
"cccccc",
"TTTTTc",
" c",
" c",
"TTTTTc",
"cccccc"
],
"items": {
"t": { "item": "cash_register_random", "chance": 100 },
"T": [ { "item": "homebooks", "chance": 50, "repeat": [ 1, 3 ] }, { "item": "homebooks", "chance": 50, "repeat": [ 1, 3 ] } ]
},
"palettes": [ "open_air_stall_palette" ]
}
}
]
Loading

0 comments on commit c2c7e0e

Please sign in to comment.