Skip to content

Commit

Permalink
Merge pull request #34692 from curstwist/Add-4-more-nested-house-foun…
Browse files Browse the repository at this point in the history
…dations

add 4 more nested house foundations
  • Loading branch information
ZhilkinSerg authored Oct 13, 2019
2 parents 79c7171 + 2bd0413 commit 610f898
Show file tree
Hide file tree
Showing 6 changed files with 344 additions and 2 deletions.
69 changes: 69 additions & 0 deletions data/json/mapgen/house/house_w_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": "house_w_2",
"object": {
"fill_ter": "t_floor",
"rows": [
"........G.sss...........",
"...CsssCssssssCsssC.....",
"...ssssssssssssssss.....",
"..||o|o|||+|||o||o||....",
"..|1 | a|5 6 |....",
"..| | I| |....",
"..| | I| |....",
"..| + |||| |||....",
"..||+|||| |....",
"..|O O| + 7 o....",
"..||||||| 8 o....",
"..|4 |....",
"..o | |||||||||....",
"..| | y| tT|.......",
"..o | + To.......",
"..| | |j |.......",
"..||+|||||+||||+|.......",
"..|J K|2 |w|.......",
"..|J L K| |||.......",
"..on L i| |O|.......",
"..|J K| + |.......",
"..|lJJ a| |O|.......",
"..||o|+|||o||||||.......",
"...ssssss..............."
],
"palettes": [ "house_w_foundation_palette" ],
"nested": {
"1": { "chunks": [ [ "bedroom_4x4_adult_1_N", 20 ] ] },
"2": {
"chunks": [
[ "bedroom_5x5_adult_S_1", 50 ],
[ "bedroom_5x5_adult_W_1", 50 ],
[ "bedroom_5x5_adult_N_2", 50 ],
[ "bedroom_5x5_adult_S_2", 50 ],
[ "bedroom_5x5_adult_E_2", 50 ],
[ "bedroom_5x5_adult_W_2", 50 ]
]
},
"4": { "chunks": [ [ "diningroom_5x5_N_S", 50 ], [ "diningroom_5x5_E_W", 50 ] ] },
"5": {
"chunks": [
[ "bonus_room_2x2_1", 50 ],
[ "bonus_room_2x2_2", 50 ],
[ "bonus_room_2x2_4_W", 50 ],
[ "bonus_room_3x3_1", 50 ],
[ "bonus_room_3x3_2", 50 ]
]
},
"6": {
"chunks": [
[ "bonus_room_3x3_4", 50 ],
[ "bonus_room_3x3_N_6", 50 ],
[ "bonus_room_3x3_E_6", 50 ],
[ "bonus_room_3x3_N_8", 50 ],
[ "bonus_room_3x3_E_8", 50 ]
]
},
"7": { "chunks": [ [ "bonus_room_3x3_5", 50 ] ] },
"8": { "chunks": [ [ "bonus_room_2x2_1", 50 ], [ "bonus_room_2x2_2", 50 ] ] }
}
}
}
85 changes: 85 additions & 0 deletions data/json/mapgen/house/house_w_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": "house_w_3",
"object": {
"fill_ter": "t_floor",
"rows": [
"......G..ss.............",
".........ss.............",
"......CssssssC..........",
"......ssssssss..........",
"......ssssssss..........",
"||o|o|||o++o|||ooo||....",
"|1 | |6 y|s...",
"| |5 | 7 +s...",
"| | + |s...",
"o | |a |....",
"| + |||||||....",
"|+||||| + d|v|....",
"|O|O|w+ |j t|Q|....",
"|||+|||4 |||||+|....",
"|2 + |QQQY |....",
"o | no....",
"| | |J K|....",
"| | |J i|....",
"| | |lnJJK|....",
"||||o|||o||o|||o||||....",
"........................",
"........................",
"........................",
"........................"
],
"palettes": [ "house_w_foundation_palette" ],
"nested": {
"1": {
"chunks": [
[ "bedroom_5x5_adult_N_1", 50 ],
[ "bedroom_5x5_adult_S_1", 50 ],
[ "bedroom_5x5_adult_N_2", 50 ],
[ "bedroom_5x5_adult_S_2", 50 ],
[ "bedroom_5x5_adult_E_2", 50 ],
[ "bedroom_5x5_adult_W_2", 50 ]
]
},
"2": {
"chunks": [
[ "bedroom_5x5_adult_S_1", 50 ],
[ "bedroom_5x5_adult_E_1", 50 ],
[ "bedroom_5x5_adult_W_1", 50 ],
[ "bedroom_5x5_adult_S_2", 50 ],
[ "bedroom_5x5_adult_E_2", 50 ],
[ "bedroom_5x5_adult_W_2", 50 ]
]
},
"4": {
"chunks": [
[ "diningroom_6x6_N_S_1A", 20 ],
[ "diningroom_6x6_E_W_1", 20 ],
[ "diningroom_6x6_E_W_2", 20 ],
[ "diningroom_6x6_N_S_2", 20 ]
]
},
"5": { "chunks": [ [ "livingroom_5x5_N_1", 20 ], [ "livingroom_5x5_S_1", 20 ] ] },
"6": {
"chunks": [
[ "bonus_room_2x2_1", 50 ],
[ "bonus_room_2x2_2", 50 ],
[ "bonus_room_2x2_4_W", 50 ],
[ "bonus_room_2x2_4_N", 50 ],
[ "bonus_room_3x3_1", 50 ],
[ "bonus_room_3x3_2", 50 ]
]
},
"7": {
"chunks": [
[ "bonus_room_3x3_4", 50 ],
[ "bonus_room_3x3_W_6", 50 ],
[ "bonus_room_3x3_S_6", 50 ],
[ "bonus_room_3x3_W_8", 50 ],
[ "bonus_room_3x3_S_8", 50 ]
]
}
}
}
}
73 changes: 73 additions & 0 deletions data/json/mapgen/house/house_w_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": "house_w_4",
"object": {
"fill_ter": "t_floor",
"rows": [
".........sG.............",
".........s..............",
"........sss.............",
"...||ooo|+||oo|o|.......",
"...|5 |R 7 |.......",
"...| |R o.......",
"...| o.......",
"...| |6 o.......",
"...| | |.......",
".|o|||||||||| |||.......",
".|4 |KKlKy J|........",
".o io........",
".o A no........",
".o |a JJJ |........",
".| ||+||||+|........",
".|o||||| |Q |........",
"...|w + |QQ|........",
"...||||||| |||||||.....",
"...|1 + +2 |.....",
"...o ||+| |.....",
"...| |t | |.....",
"...| |T | |.....",
"...| |Tj| |.....",
"...||||o|||o||o||||....."
],
"palettes": [ "house_w_foundation_palette" ],
"nested": {
"1": {
"chunks": [
[ "bedroom_5x5_adult_N_1", 50 ],
[ "bedroom_5x5_adult_W_1", 50 ],
[ "bedroom_5x5_adult_N_2", 50 ],
[ "bedroom_5x5_adult_S_2", 50 ],
[ "bedroom_5x5_adult_E_2", 50 ],
[ "bedroom_5x5_adult_W_2", 50 ]
]
},
"2": {
"chunks": [
[ "bedroom_5x5_adult_N_1", 50 ],
[ "bedroom_5x5_adult_S_1", 50 ],
[ "bedroom_5x5_adult_E_1", 50 ],
[ "bedroom_5x5_adult_W_1", 50 ],
[ "bedroom_5x5_adult_N_2", 50 ],
[ "bedroom_5x5_adult_S_2", 50 ],
[ "bedroom_5x5_adult_E_2", 50 ],
[ "bedroom_5x5_adult_W_2", 50 ]
]
},
"4": { "chunks": [ [ "diningroom_5x5_N_S", 50 ], [ "diningroom_5x5_E_W", 50 ] ] },
"5": { "chunks": [ [ "livingroom_5x5_S_1", 20 ], [ "livingroom_5x5_E_1", 20 ], [ "livingroom_5x5_W_1", 20 ] ] },
"6": {
"chunks": [ [ "bonus_room_2x2_1", 50 ], [ "bonus_room_2x2_2", 50 ], [ "bonus_room_2x2_4_S", 50 ], [ "bonus_room_2x2_4_W", 50 ] ]
},
"7": {
"chunks": [
[ "bonus_room_3x3_4", 40 ],
[ "bonus_room_3x3_E_6", 20 ],
[ "bonus_room_3x3_N_6", 20 ],
[ "bonus_room_3x3_E_8", 30 ],
[ "bonus_room_3x3_N_8", 30 ]
]
}
}
}
}
75 changes: 75 additions & 0 deletions data/json/mapgen/house/house_w_5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"type": "mapgen",
"method": "json",
"om_terrain": "house_w_5",
"object": {
"fill_ter": "t_floor",
"rows": [
"........ss...G...ss.ss..",
"......CssssC.....ss.ss..",
".....ssssssss....ss.ssu.",
"..||oo||+||||o|||xxxxx||",
"..|5 |y7 |~~~~~~u|",
"..| |~~~~~~U|",
"..| Y |~~~~~~~o",
"..| ||||||~~~~~~U|",
"..| +w| t|~~~~~~~o",
"..|||||| |||+||~~~~~~U|",
"..|4 +~~~~~UU|",
"..o ||||||||~|o||||",
"..o | 1 |sss.....",
"..o | o........",
"..| | o........",
"||| ||| | |........",
"|lK |+|||+|........",
"oK J| |O|O|........",
"on i||+|+|+|||........",
"|K Jy |t |6 |........",
"|| || |T | 3 o........",
"|QLQ| |Tj| |........",
"||o||+||o|||o|||........",
"....ssss................"
],
"palettes": [ "house_w_foundation_palette" ],
"terrain": { "U": "t_thconc_floor" },
"nested": {
"1": {
"chunks": [
[ "bedroom_4x4_adult_1_E", 20 ],
[ "bedroom_4x4_adult_1_N", 20 ],
[ "bedroom_4x4_adult_2_E", 20 ],
[ "bedroom_4x4_adult_2_N", 20 ]
]
},
"4": { "chunks": [ [ "diningroom_5x5_N_S", 50 ], [ "diningroom_5x5_E_W", 50 ] ] },
"3": {
"chunks": [ [ "bonus_room_2x2_2", 50 ], [ "bonus_room_2x2_3", 50 ], [ "bonus_room_2x2_4_S", 50 ], [ "bonus_room_2x2_4_E", 50 ] ]
},
"5": {
"chunks": [
[ "livingroom_5x5_N_1", 20 ],
[ "livingroom_5x5_S_1", 20 ],
[ "livingroom_5x5_E_1", 20 ],
[ "livingroom_5x5_W_1", 20 ]
]
},
"6": {
"chunks": [
[ "bonus_room_3x3_1", 100 ],
[ "bonus_room_3x3_S_5", 20 ],
[ "bonus_room_3x3_E_7", 40 ],
[ "bonus_room_3x3_S_7", 40 ]
]
},
"7": {
"chunks": [
[ "bonus_room_3x3_4", 20 ],
[ "bonus_room_3x3_E_6", 20 ],
[ "bonus_room_3x3_S_6", 20 ],
[ "bonus_room_3x3_E_8", 30 ],
[ "bonus_room_3x3_S_8", 30 ]
]
}
}
}
}
36 changes: 36 additions & 0 deletions data/json/overmap/overmap_terrain/overmap_terrain_residential.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,42 @@
"sym": "#",
"color": "i_white"
},
{
"type": "overmap_terrain",
"id": "house_w_2",
"name": "house",
"copy-from": "generic_city_building",
"color": "light_green",
"see_cost": 2,
"flags": [ "SIDEWALK", "GENERIC_LOOT" ]
},
{
"type": "overmap_terrain",
"id": "house_w_3",
"name": "house",
"copy-from": "generic_city_building",
"color": "light_green",
"see_cost": 2,
"flags": [ "SIDEWALK", "GENERIC_LOOT" ]
},
{
"type": "overmap_terrain",
"id": "house_w_4",
"name": "house",
"copy-from": "generic_city_building",
"color": "light_green",
"see_cost": 2,
"flags": [ "SIDEWALK", "GENERIC_LOOT" ]
},
{
"type": "overmap_terrain",
"id": "house_w_5",
"name": "house",
"copy-from": "generic_city_building",
"color": "light_green",
"see_cost": 2,
"flags": [ "SIDEWALK", "GENERIC_LOOT" ]
},
{
"type": "overmap_terrain",
"id": "emptyresidentiallot",
Expand Down
8 changes: 6 additions & 2 deletions data/json/regional_map_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,13 @@
"house_w_1": 40,
"house_two_story_basement": 1,
"house": 1000,
"house_prepper": 30,
"house_prepper": 20,
"house_base": 333,
"duplex": 50,
"duplex": 40,
"house_w_2": 40,
"house_w_3": 40,
"house_w_4": 40,
"house_w_5": 40,
"emptyresidentiallot": 20,
"apartments_con_new": 10,
"apartments_mod_new": 10,
Expand Down

0 comments on commit 610f898

Please sign in to comment.