Skip to content

Commit

Permalink
Merge pull request #74758 from PatrikLundell/farm_nested
Browse files Browse the repository at this point in the history
Added roof to two shacks
  • Loading branch information
Maleclypse authored Jun 24, 2024
2 parents 3b97827 + 92d217f commit 7da20bc
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions data/json/mapgen/nested/farm_nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,22 @@
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ]
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "shed_5x5_garden_E_roof",
"object": {
"mapgensize": [ 5, 5 ],
"rows": [
"-----",
"-...-",
"-...-",
"-...-",
"-----"
],
"palettes": [ "roof_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
Expand All @@ -389,7 +405,8 @@
{ "item": "garden_shed", "x": [ 1, 2 ], "y": 1, "chance": 50, "repeat": [ 1, 3 ] },
{ "item": "farming_seeds", "x": [ 2, 3 ], "y": 3, "chance": 70, "repeat": [ 1, 4 ] },
{ "item": "flower_pots", "x": [ 2, 3 ], "y": 3, "chance": 50, "repeat": [ 1, 4 ] }
]
],
"place_nested": [ { "chunks": [ "shed_5x5_garden_E_roof" ], "x": 0, "y": 0, "z": 1 } ]
}
},
{
Expand Down Expand Up @@ -526,6 +543,20 @@
"terrain": { "%": "t_splitrail_fence" }
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "3x3_shed_trail_supplies_N_roof",
"object": {
"mapgensize": [ 3, 3 ],
"rows": [
"---",
"-.-",
"---"
],
"palettes": [ "roof_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
Expand All @@ -548,7 +579,8 @@
{ "item": "ref_matches", "chance": 50, "charges": [ 1, 32 ] },
{ "item": "marshmallow", "chance": 20 }
]
}
},
"place_nested": [ { "chunks": [ "3x3_shed_trail_supplies_N_roof" ], "x": 0, "y": 0, "z": 1 } ]
}
},
{
Expand Down

0 comments on commit 7da20bc

Please sign in to comment.