Skip to content

Commit

Permalink
feat(content): house_coop01 (#3700)
Browse files Browse the repository at this point in the history
house_coop01
  • Loading branch information
LilShiningMan authored Nov 17, 2023
1 parent 3f8f876 commit 41a1672
Show file tree
Hide file tree
Showing 4 changed files with 211 additions and 0 deletions.
197 changes: 197 additions & 0 deletions data/json/mapgen/house/house_coop01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
[
{
"//": "Bsmt - 1: unfinished ",
"type": "mapgen",
"om_terrain": "house_coop01_basement",
"weight": 50,
"method": "json",
"object": {
"palettes": [ "standard_domestic_palette", "standard_domestic_basement_palette" ],
"fill_ter": "t_thconc_floor",
"rows": [
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^####################^^",
"^^#zzzz g ! b#^^",
"^^#zzz #^^",
"^^#zz # # #^^",
"^^# UU#^^",
"^^# N#^^",
"^^#< N#^^",
"^^# T q#^^",
"^^#W # # q#^^",
"^^# #^^",
"^^#Z S #^^",
"^^####################^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^"
],
"furniture": { "!": "f_home_furnace" }
}
},
{
"//": "Bsmt - 2: finished ",
"type": "mapgen",
"om_terrain": "house_coop01_basement",
"weight": 50,
"method": "json",
"object": {
"palettes": [ "standard_domestic_palette", "standard_domestic_basement_palette" ],
"fill_ter": "t_floor",
"rows": [
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^||||||||||||||######^^",
"^^|sHHH iii |zzNNN#^^",
"^^|H |z__A_#^^",
"^^|H eee +_____#^^",
"^^|H xx eee V|qqqUU#^^",
"^^| V|||||||^^",
"^^|< V|L D|^^",
"^^|||+||0,, + |^^",
"^^#g__S|r,, |d T|^^",
"^^#___Z|rh, |d ¤|^^",
"^^#!__W|r,,RRRR|b @@|^^",
"^^#####|||||||||||||||^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^",
"^^^^^^^^^^^^^^^^^^^^^^^^"
],
"furniture": { "!": "f_home_furnace", "0": "f_floor_lamp" },
"terrain": {
"_": "t_thconc_floor",
"h": "t_carpet_yellow",
"r": "t_carpet_yellow",
"0": "t_carpet_yellow",
"W": "t_thconc_floor",
"Z": "t_thconc_floor",
"S": "t_thconc_floor",
"!": "t_thconc_floor",
"g": "t_thconc_floor",
",": "t_carpet_yellow",
"N": "t_thconc_floor",
"U": "t_thconc_floor",
"q": "t_thconc_floor",
"A": "t_thconc_floor",
"z": "t_thconc_floor"
},
"place_loot": [
{ "group": "clutter_bedroom", "x": [ 16, 20 ], "y": [ 10, 14 ], "chance": 50, "repeat": [ 2, 3 ] },
{ "item": "television", "x": 5, "y": 8 },
{ "item": "laptop", "x": 8, "y": 13 }
]
}
},
{
"type": "mapgen",
"om_terrain": "house_coop01_1",
"method": "json",
"object": {
"palettes": [
"standard_domestic_palette",
"standard_domestic_lino_kitchen",
"standard_domestic_lino_bathroom",
"standard_domestic_landscaping_palette"
],
"fill_ter": "t_floor",
"rows": [
"........p!----!.........",
".[.......!----!.....X...",
".........!----!.......[.",
"......jjj------jjj......",
"..##oo####o*o#####oo##..",
"..#@@¤ D|L l H| yz #..",
"..o@@ |$ l H|@ do..",
"..o |V H|@ do..",
"..#ddy |y HHHs|¤ D#..",
"..#||||+|| ||||||+|||#..",
".^#>+ $$ __Y66#^.",
"..#|||+|R _____#..",
"..#888_|R h 3____#..",
"..#____|R ff 2___Oo..",
"..#tSBB|y hffh 1F5JJ#..",
"..##o#####*#oo####oo##..",
".........---............",
"......u..---............",
"..............{{{{{)))).",
"............../````)?,).",
"..[...........{````~,,).",
"..............{````),?).",
".........[....{{{{{)))).",
"........................"
],
"terrain": {
"#": "t_wall_r",
"_": "t_linoleum_gray",
"/": "t_chickenwire_gate_c",
"{": "t_chickenwire_fence",
")": "t_wall_wood",
",": "t_dirt",
"`": [ [ "t_dirt", 2 ], "t_region_groundcover_urban" ],
"~": "t_door_makeshift_o",
"?": "t_dirt",
"Y": "t_linoleum_gray",
"!": "t_dirtmound"
},
"furniture": { "$": "f_table" },
"items": { "$": { "item": "table_foyer", "chance": 100 } },
"monster": { "?": { "monster": "mon_chicken" } },
"place_loot": [
{ "item": "straw_pile", "x": [ 20, 21 ], "y": [ 19, 21 ], "chance": 75, "repeat": [ 3, 5 ] },
{ "item": "birdfood", "x": [ 15, 18 ], "y": [ 19, 21 ], "chance": 50, "repeat": [ 2, 3 ] }
]
}
},
{
"type": "mapgen",
"om_terrain": "house_coop01_roof",
"weight": 250,
"method": "json",
"object": {
"palettes": [ "roof_palette" ],
"fill_ter": "t_shingle_flat_roof",
"rows": [
" ",
" ",
" ",
" ",
" -------------------- ",
" -..................- ",
" -..................- ",
" -..................- ",
" -..................- ",
" -..................- ",
" 5..................5 ",
" -..................- ",
" -...............=..- ",
" -....N.............- ",
" -..................- ",
" -------------------- ",
" ",
" ",
" .... ",
" .... ",
" .... ",
" .... ",
" .... ",
" "
],
"terrain": { ".": "t_shingle_flat_roof" }
}
}
]
10 changes: 10 additions & 0 deletions data/json/overmap/multitile_city_buildings.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,16 @@
"locations": [ "land" ],
"flags": [ "CLASSIC" ]
},
{
"type": "city_building",
"id": "house_coop01",
"locations": [ "land" ],
"overmaps": [
{ "point": [ 0, 0, -1 ], "overmap": "house_coop01_basement_north" },
{ "point": [ 0, 0, 0 ], "overmap": "house_coop01_1_north" },
{ "point": [ 0, 0, 1 ], "overmap": "house_coop01_roof_north" }
]
},
{
"type": "city_building",
"id": "house_wooded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"house_crack1",
"house_crack2",
"house_crack3",
"house_coop01_1",
"house_detatched1",
"house_detatched10",
"house_detatched2",
Expand Down Expand Up @@ -331,6 +332,7 @@
"house_33_roof",
"house_crack1_roof",
"house_crack3_roof",
"house_coop01_roof",
"house_detatched10_roof",
"house_detatched1_roof",
"house_detatched2_roof",
Expand Down Expand Up @@ -425,6 +427,7 @@
"house_33_basement",
"house_2story_basement",
"house_crack3_basement",
"house_coop01_basement",
"house_detatched1_basement",
"house_detatched2_basement",
"house_detatched3_basement",
Expand Down
1 change: 1 addition & 0 deletions data/json/regional_map_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@
"house_crack1": 5,
"house_crack2": 5,
"house_crack3": 5,
"house_coop01": 50,
"house_wooded": 50,
"house_prepper": 20,
"house_prepper2": 10,
Expand Down

0 comments on commit 41a1672

Please sign in to comment.