Skip to content

Commit

Permalink
Add roofs on roof buildings, add glass roof on entrance
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Jun 16, 2024
1 parent ae7671a commit ca56e5a
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 3 deletions.
58 changes: 58 additions & 0 deletions data/json/mapgen/office_tower.json
Original file line number Diff line number Diff line change
Expand Up @@ -583,5 +583,63 @@
}
}
}
},
{
"type": "mapgen",
"om_terrain": [ [ "office_tower_roof_ne_roof" ], [ "office_tower_roof_se_roof" ] ],
"method": "json",
"object": {
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ----- ",
" -...- ",
" -...- ",
" -...- ",
" -...- ",
" ----- ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"palettes": [ "roof_palette" ]
}
}
]
6 changes: 4 additions & 2 deletions data/json/overmap/multitile_city_buildings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2872,7 +2872,9 @@
{ "point": [ 0, 0, 1 ], "overmap": "office_tower_roof_nw_north" },
{ "point": [ 1, 0, 1 ], "overmap": "office_tower_roof_ne_north" },
{ "point": [ 0, 1, 1 ], "overmap": "office_tower_roof_sw_north" },
{ "point": [ 1, 1, 1 ], "overmap": "office_tower_roof_se_north" }
{ "point": [ 1, 1, 1 ], "overmap": "office_tower_roof_se_north" },
{ "point": [ 1, 0, 2 ], "overmap": "office_tower_roof_ne_roof_north" },
{ "point": [ 1, 1, 2 ], "overmap": "office_tower_roof_se_roof_north" }
],
"city_sizes": [ 8, -1 ]
},
Expand Down Expand Up @@ -2919,7 +2921,7 @@
{ "point": [ 2, 1, 0 ], "overmap": "office_tower_2_b3_north" },
{ "point": [ 0, 0, 1 ], "overmap": "tower_lab_stairs" },
{ "point": [ 1, 0, 1 ], "overmap": "tower_lab" },
{ "point": [ 2, 0, 1 ], "overmap": "office_tower_open_air_corner_north" },
{ "point": [ 2, 0, 1 ], "overmap": "office_tower_2_a3_1_north" },
{ "point": [ 0, 1, 1 ], "overmap": "tower_lab" },
{ "point": [ 1, 1, 1 ], "overmap": "tower_lab" },
{ "point": [ 2, 1, 1 ], "overmap": "tower_lab" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,14 @@
},
{
"type": "overmap_terrain",
"id": [ "office_tower_roof_nw", "office_tower_roof_ne", "office_tower_roof_sw", "office_tower_roof_se" ],
"id": [
"office_tower_roof_nw",
"office_tower_roof_ne",
"office_tower_roof_sw",
"office_tower_roof_se",
"office_tower_roof_ne_roof",
"office_tower_roof_se_roof"
],
"copy-from": "generic_city_building_no_sidewalk",
"name": "office building roof",
"sym": "t",
Expand Down

0 comments on commit ca56e5a

Please sign in to comment.