Files
Tektolnes 9c8f0fa93e z-stack "towers" in string dimension (#85163)
* implement-z-stacks

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/overmap/overmap_special/string_dimension.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update overmap_terrain_coverage_whitelist.json

* rename om_terrains

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-08 09:34:59 -06:00

283 lines
9.0 KiB
JSON

[
{
"om_terrain": "string_dimension_plane_core",
"type": "mapgen",
"object": {
"rows": [
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++"
],
"place_nested": [
{
"chunks": [ [ "null", 900 ], [ "string_dimension_plane_tindalos_tear", 100 ], [ "string_dimension_plane_yrax_research", 1 ] ],
"x": 0,
"y": 0
}
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "string_dimension_plane_palette" ]
}
},
{
"om_terrain": "string_dimension_plane_end",
"type": "mapgen",
"weight": 10,
"object": {
"fallback_predecessor_mapgen": "string_dimension_crossroads",
"rows": [
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
" ++++++++++++++++++++++ ",
" +++++++++++++++ ",
" + ++++ ",
" +++ +++++++ ",
" +++ + +++++ ",
" ++++ ",
"++++++ +++++++ ",
" +++++ ++++ ",
" +++++ + ",
" ",
" +++ + ",
" ++++ ++ ",
" ++ +++ ",
" ",
" ++ ++ ",
" ++ ++ ",
" ++ ",
" ++ ",
" ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "string_dimension_plane_palette" ]
}
},
{
"om_terrain": "string_dimension_plane_end",
"type": "mapgen",
"weight": 2,
"object": {
"fallback_predecessor_mapgen": "string_dimension_crossroads",
"rows": [
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
"+++++++++++++++++++++++ ",
" +++++++++++++++++++++ ",
" +++++++++++++++++++ ",
" ++++++++++++++++++ ",
" ++++++++ ++++++ ",
" ++++++ ++ ++",
" ++++ ++ ++",
" + ++++ ",
" +++ ++++++ + ",
" + ++++ +++ ",
" ++ ++ ++",
" ++ ++++ ++ +++ ",
" ++ ++ ++++ + ",
" ++++ ",
" + ++ ",
" ++ + ++ ",
" ++ ++ ",
"+ +",
"+ +",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "string_dimension_plane_palette" ]
}
},
{
"om_terrain": "string_dimension_plane_end",
"type": "mapgen",
"weight": 2,
"object": {
"fallback_predecessor_mapgen": "string_dimension_crossroads",
"rows": [
"++++++++++++++++++++++++",
"++++++++++++++++++++++++",
" +++++++++++++++++++++ ",
" +++++++++++++++++++ ",
" +++ ++++++ ++++++ + ",
"++++ + +++ ++++++ ",
" + + ++ +++ + ++ + ",
" +++ +++ ",
" +++++ ",
" + ++++",
"++ + ++",
"++ +++ ",
"+ ++ ++++ ",
" +++ ++++ ",
" ++++ ",
" ++ ",
" ++ ",
" +++ ",
" + ",
" ",
" ",
" ++ ",
" + ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "string_dimension_plane_palette" ]
}
},
{
"type": "mapgen",
"nested_mapgen_id": "string_dimension_plane_tindalos_tear",
"object": {
"mapgensize": [ 24, 24 ],
"flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ],
"place_traps": [ { "trap": "tr_portal", "x": 11, "y": 11 } ],
"place_monster": [ { "group": "GROUP_TINDALOS", "x": 12, "y": 12, "chance": 90 } ]
}
},
{
"type": "mapgen",
"nested_mapgen_id": "string_dimension_plane_yrax_research",
"object": {
"mapgensize": [ 24, 24 ],
"flags": [ "ALLOW_TERRAIN_UNDER_OTHER_DATA" ],
"place_monster": [ { "monster": "mon_golden_monolith", "x": [ 0, 23 ], "y": [ 0, 23 ], "repeat": [ 5, 7 ] } ]
}
},
{
"om_terrain": "string_dimension_plane_z_stack_0",
"type": "mapgen",
"object": {
"predecessor_mapgen": "string_dimension_plane_core",
"rows": [
" ..... ",
" ....... ",
" ......... ",
"........... ",
"........... ",
"........... ",
"........... ",
"........... ",
" ......... ",
" ....... ",
" ..... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"terrain": { ".": "t_string_xyz" },
"monster": { ".": { "monster": "mon_linelander_yellow", "chance": 1 } }
}
},
{
"om_terrain": "string_dimension_plane_z_stack_1",
"type": "mapgen",
"object": {
"rows": [
" ..... ",
" ....... ",
" ......... ",
"........... ",
"........... ",
"........... ",
"........... ",
"........... ",
" ......... ",
" ....... ",
" ..... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"terrain": { ".": "t_string_z", " ": "t_open_air" },
"monster": { ".": { "monster": "mon_linelander_yellow", "chance": 1 } }
}
},
{
"om_terrain": "string_dimension_plane_z_stack_-1",
"type": "mapgen",
"object": {
"rows": [
" ..... ",
" ....... ",
" ......... ",
"........... ",
"........... ",
"........... ",
"........... ",
"........... ",
" ......... ",
" ....... ",
" ..... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"terrain": {
".": "t_string_z",
" ": [
[ "t_string_void", 194 ],
[ "t_string_point_big", 1 ],
[ "t_string_point_big", 1 ],
[ "t_string_point_small_gray", 2 ],
[ "t_string_point_small_gray", 2 ]
]
},
"monster": { ".": { "monster": "mon_linelander_yellow", "chance": 1 } }
}
}
]