From 20edb93b0c87f66938d29c5028912a4b6041ff7a Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Tue, 25 Jun 2024 13:47:52 +0200 Subject: [PATCH] Added explicit roofs to hunting blinds --- data/json/mapgen/hunting_blind.json | 76 ++++++++++++++++++++++++++++- 1 file changed, 74 insertions(+), 2 deletions(-) diff --git a/data/json/mapgen/hunting_blind.json b/data/json/mapgen/hunting_blind.json index 3ff33750b1a82..72f997d5fe96c 100644 --- a/data/json/mapgen/hunting_blind.json +++ b/data/json/mapgen/hunting_blind.json @@ -1,4 +1,39 @@ [ + { + "type": "mapgen", + "method": "json", + "nested_mapgen_id": "hunting_blind_1_roof", + "object": { + "mapgensize": [ 24, 24 ], + "rows": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " RRRRR ", + " RRRRR ", + " RRRRR ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "terrain": { "R": "t_wood_roof" } + } + }, { "type": "mapgen", "method": "json", @@ -38,7 +73,43 @@ "place_items": [ { "item": "ammo_rifle_common", "x": 16, "y": 14, "chance": 10 }, { "item": "ammo_shotgun_common", "x": 15, "y": 14, "chance": 25 } - ] + ], + "place_nested": [ { "chunks": [ "hunting_blind_1_roof" ], "x": 0, "y": 0, "z": 1 } ] + } + }, + { + "type": "mapgen", + "method": "json", + "nested_mapgen_id": "hunting_blind_2_roof", + "object": { + "mapgensize": [ 24, 24 ], + "rows": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " RRRR ", + " RRRR ", + " RRRR ", + " RRRR ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "terrain": { "R": "t_wood_roof" } } }, { @@ -80,7 +151,8 @@ "place_items": [ { "item": "ammo_rifle_common", "x": 12, "y": 9, "chance": 10 }, { "item": "ammo_shotgun_common", "x": 13, "y": 10, "chance": 25 } - ] + ], + "place_nested": [ { "chunks": [ "hunting_blind_2_roof" ], "x": 0, "y": 0, "z": 1 } ] } } ]