From 73826e46e1307f55fd4bb95ceeef4925665ab7c3 Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Mon, 17 Jun 2024 17:00:05 +0200 Subject: [PATCH] Added roof to roof access shack (#74593) --- data/json/mapgen/restaurant.json | 35 +++++++++++++++++++ .../overmap/multitile_city_buildings.json | 3 +- .../overmap_terrain_commercial.json | 1 + 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/data/json/mapgen/restaurant.json b/data/json/mapgen/restaurant.json index 00dd8c345fca8..512a4a4e80574 100644 --- a/data/json/mapgen/restaurant.json +++ b/data/json/mapgen/restaurant.json @@ -860,5 +860,40 @@ } ] } + }, + { + "type": "mapgen", + "method": "json", + "om_terrain": [ "s_restaurant_upper_roof_2" ], + "object": { + "fill_ter": "t_flat_roof", + "rows": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ----- ", + " -...- ", + " ----- ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "palettes": [ "roof_palette" ] + } } ] diff --git a/data/json/overmap/multitile_city_buildings.json b/data/json/overmap/multitile_city_buildings.json index 9ca8a70d46d77..c25d5dd74ed1a 100644 --- a/data/json/overmap/multitile_city_buildings.json +++ b/data/json/overmap/multitile_city_buildings.json @@ -4032,7 +4032,8 @@ "locations": [ "land" ], "overmaps": [ { "point": [ 0, 0, 0 ], "overmap": "s_restaurant_2_north" }, - { "point": [ 0, 0, 1 ], "overmap": "s_restaurant_roof_2_north" } + { "point": [ 0, 0, 1 ], "overmap": "s_restaurant_roof_2_north" }, + { "point": [ 0, 0, 2 ], "overmap": "s_restaurant_upper_roof_2_north" } ] }, { diff --git a/data/json/overmap/overmap_terrain/overmap_terrain_commercial.json b/data/json/overmap/overmap_terrain/overmap_terrain_commercial.json index 6b67a75fd971b..aa9bad803bc72 100644 --- a/data/json/overmap/overmap_terrain/overmap_terrain_commercial.json +++ b/data/json/overmap/overmap_terrain/overmap_terrain_commercial.json @@ -475,6 +475,7 @@ "s_restaurant_roof", "s_restaurant_roof_1", "s_restaurant_roof_2", + "s_restaurant_upper_roof_2", "s_restaurant_roof_3" ], "copy-from": "generic_city_building",