Skip to content

Commit

Permalink
Moved zombie cage roofs to only generate when the cages are (#74752)
Browse files Browse the repository at this point in the history
* Moved zombie cage roofs to only generate when the cages are

* Oops. Restore from test probabilities.
  • Loading branch information
PatrikLundell authored Jun 25, 2024
1 parent 5569731 commit 6d3d8c3
Showing 1 changed file with 40 additions and 7 deletions.
47 changes: 40 additions & 7 deletions data/json/mapgen/lake_buildings/lakeside_cabin.json
Original file line number Diff line number Diff line change
Expand Up @@ -501,14 +501,46 @@
" -........- ",
" -........- ",
" ---------- ",
" ____ ",
" ____ ____ ",
" ____ ____ ",
" ____ ____ ",
" ____ "
" ",
" ",
" ",
" ",
" "
],
"palettes": [ "roof_palette" ],
"terrain": { ".": "t_shingle_flat_roof", "_": "t_metal_flat_roof" }
"terrain": { ".": "t_shingle_flat_roof" }
}
},
{
"type": "mapgen",
"method": "json",
"nested_mapgen_id": "zombie_cages_roof",
"object": {
"mapgensize": [ 21, 21 ],
"rows": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ____ ",
" ____ ____ ",
" ____ ____ ",
" ____ ____ ",
" ____ "
],
"terrain": { "_": "t_metal_flat_roof" }
}
},
{
Expand Down Expand Up @@ -546,7 +578,8 @@
"place_monsters": [
{ "monster": "GROUP_ZOMBIE", "x": [ 16, 17 ], "y": [ 19, 20 ] },
{ "monster": "GROUP_ZOMBIE", "x": [ 2, 3 ], "y": [ 18, 19 ] }
]
],
"place_nested": [ { "chunks": [ "zombie_cages_roof" ], "x": 0, "y": 0, "z": 1 } ]
}
}
]

0 comments on commit 6d3d8c3

Please sign in to comment.