From ead0c2c28c472bdf80c658807efb9c425cd9610b Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Tue, 25 Jun 2024 13:33:40 +0200 Subject: [PATCH] Added (explicit) roofs to community gardens --- data/json/mapgen/garden_community.json | 77 +++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 2 deletions(-) diff --git a/data/json/mapgen/garden_community.json b/data/json/mapgen/garden_community.json index d7c2c55050614..cd410d1e31fbd 100644 --- a/data/json/mapgen/garden_community.json +++ b/data/json/mapgen/garden_community.json @@ -1,4 +1,39 @@ [ + { + "method": "json", + "nested_mapgen_id": "communitygarden_1_roof", + "type": "mapgen", + "object": { + "mapgensize": [ 24, 24 ], + "rows": [ + " ", + " ", + " ", + " ----- ", + " -...- ", + " ----- ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "palettes": [ "roof_palette" ] + } + }, { "method": "json", "om_terrain": "communitygarden", @@ -55,7 +90,8 @@ { "signage": " Community Garden", "x": 2, "y": 10 }, { "signage": " Community Garden", "x": 21, "y": 13 }, { "signage": " Community Garden", "x": 10, "y": 21 } - ] + ], + "place_nested": [ { "chunks": [ "communitygarden_1_roof" ], "x": 0, "y": 0, "z": 1 } ] } }, { @@ -104,6 +140,42 @@ ] } }, + { + "method": "json", + "nested_mapgen_id": "communitygarden_3_roof", + "type": "mapgen", + "object": { + "mapgensize": [ 24, 24 ], + "rows": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ---- ", + " -..- ", + " -..- ", + " ---- ", + " ", + " ", + " RRRRRRRRRRRRRRRRRR ", + " RRRRRRRRRRRRRRRRRR ", + " RRRRRRRRRRRRRRRRRR ", + " RRRRRRRRRRRRRRRRRR ", + " RRRRRRRRRRRRRRRRRR ", + " RRRRRRRRRRRRRRRRRR ", + " RRRRRRRRRRRRRRRRRR ", + " RRRRRRRRRRRRRRRRRR ", + " ", + " ", + " " + ], + "palettes": [ "roof_palette" ], + "terrain": { "R": "t_glass_roof" } + } + }, { "method": "json", "om_terrain": "communitygarden_3", @@ -166,7 +238,8 @@ "place_signs": [ { "signage": " Community Garden, sign up for your own plot!", "x": 1, "y": 2 }, { "signage": " Community Garden, grow your own vegetables!", "x": 22, "y": 2 } - ] + ], + "place_nested": [ { "chunks": [ "communitygarden_3_roof" ], "x": 0, "y": 0, "z": 1 } ] } } ]