Files
ehughsbaird 78e03d1ed0 Roads cross streams, fix stream predecessors
Streams can take up large areas of the overmap, and break road
connections, as roads will not generate across overmaps. Allow roads to
cross streams and generate culverts where they do.

Also don't overwrite predecessor mapgen by specifying fill_ter. Streams
through forests now are surrounded by trees.
2025-06-06 23:40:36 +00:00

267 lines
8.5 KiB
JSON

[
{
"om_terrain": "stream",
"type": "mapgen",
"weight": 1,
"object": {
"fallback_predecessor_mapgen": "field",
"rows": [
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "stream_palette" ],
"place_monster": [ { "group": "GROUP_STREAM", "x": 10, "y": 10, "chance": 25, "use_pack_size": true } ]
}
},
{
"om_terrain": "stream",
"type": "mapgen",
"weight": 10,
"object": {
"fallback_predecessor_mapgen": "field",
"rows": [
" 22211~~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~11222 ",
" 22211~~11222 ",
" 22211~~11222 "
],
"place_nested": [
{
"chunks": [
[ "null", 500 ],
[ "stream_4x4_ll_01", 100 ],
[ "stream_4x4_ll_02", 100 ],
[ "stream_4x4_ll_03", 50 ],
[ "stream_4x4_ll_04", 300 ],
[ "stream_4x4_ll_05", 50 ],
[ "stream_4x4_ll_06", 300 ]
],
"x": 6,
"y": 3
},
{
"chunks": [
[ "null", 500 ],
[ "stream_4x4_ll_01", 100 ],
[ "stream_4x4_ll_02", 100 ],
[ "stream_4x4_ll_03", 300 ],
[ "stream_4x4_ll_04", 300 ],
[ "stream_4x4_ll_05", 50 ],
[ "stream_4x4_ll_06", 300 ]
],
"x": 8,
"y": 13
},
{
"chunks": [
[ "null", 500 ],
[ "stream_4x4_lr_01", 100 ],
[ "stream_4x4_lr_02", 100 ],
[ "stream_4x4_lr_03", 300 ],
[ "stream_4x4_lr_04", 300 ],
[ "stream_4x4_lr_05", 500 ],
[ "stream_4x4_lr_06", 300 ]
],
"x": 10,
"y": 15
},
{ "chunks": [ [ "null", 500 ], [ "stream_8x8_ll_01", 20 ], [ "stream_8x8_ll_02", 100 ] ], "x": 8, "y": 2 }
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "stream_palette" ],
"place_monster": [ { "group": "GROUP_STREAM", "x": 10, "y": 10, "chance": 25, "use_pack_size": true } ]
}
},
{
"om_terrain": "stream_end",
"type": "mapgen",
"object": {
"fallback_predecessor_mapgen": "field",
"rows": [
" 222111222 ",
" 22211-11222 ",
" 22211----11222 ",
" 22211---------11222 ",
"22211------------11222 ",
"22211-------------11222 ",
" 22211------------11222 ",
"22211--------------11222",
"22211--------------11222",
"22211------------11222 ",
" 22211-------11222 ",
" 22211----11222 ",
" 22211~~~11222 ",
" 22211~~~11222 ",
" 22211~~11222 ",
" 22211~~~~11222 ",
" 22211~~~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "stream_palette" ],
"terrain": { "-": "t_water_sh" },
"place_monster": [ { "group": "GROUP_STREAM", "x": 10, "y": 10, "chance": 25, "use_pack_size": true } ]
}
},
{
"om_terrain": "stream_corner",
"type": "mapgen",
"weight": 1,
"object": {
"fallback_predecessor_mapgen": "field",
"rows": [
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~~11222 ",
" 22211~~11222 ",
"22 22211~~11222 ",
"222 22211~~~11222 ",
"2222222111~~11222 ",
"11222211111~~11222 ",
"1111111~1111~~11222 ",
"~~111~~~~111~~11222 ",
"~~~~~~~1~~111~~11222 ",
"11~~~1111~~~~~11222 ",
"211~1122211~~11222 ",
"22111222221111222 ",
"2221222222211222 ",
" 22222 222222 ",
" 222 2222 ",
" 2 22 ",
" ",
" ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "stream_palette" ],
"place_monster": [ { "group": "GROUP_STREAM", "x": 10, "y": 10, "chance": 25, "use_pack_size": true } ]
}
},
{
"om_terrain": "stream_corner",
"type": "mapgen",
"weight": 10,
"object": {
"fallback_predecessor_mapgen": "field",
"rows": [
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~11222 ",
" 22211~~~11222 ",
" 22211~~11222 ",
"22 22 22211~~~11222 ",
"2222222222 22211~~~1122",
"222222222222 22211~~112",
"11222211222222222211~~11",
"11111111112222222211~~11",
"~~1111~~1111222222211~~1",
"~~~~~~~~~~1111121111~~~1",
"11~~~111~~~~1111111~~~11",
"11111111111~~~~11~~~1112",
"2211122211111~~~~~~11122",
"222222222221111~~111222 ",
"22222222222221111112222 ",
" 222 22222221122222 ",
" 222222222 ",
" 222222 ",
" 22 ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "stream_palette" ],
"place_monster": [ { "group": "GROUP_STREAM", "x": 10, "y": 10, "chance": 25, "use_pack_size": true } ]
}
},
{
"om_terrain": "stream_corner",
"type": "mapgen",
"weight": 50,
"object": {
"fallback_predecessor_mapgen": "field",
"rows": [
" 22211~~11222 ",
" 22211~~~11222 ",
" 22211~11222 ",
" 222211~11222 ",
" 222211~~11222 ",
"22211~~~11222 ",
"2211~~11222 ",
"11~~~11222 ",
"1~~11222 ",
"11~~11222 ",
"1~~~11222 ",
"~~~11222 ",
"~~11222 ",
"111222 ",
"11222 ",
"2222 ",
"222 ",
"22 ",
" ",
" ",
" ",
" ",
" ",
" "
],
"flags": [ "ERASE_ALL_BEFORE_PLACING_TERRAIN" ],
"palettes": [ "stream_palette" ],
"place_monster": [ { "group": "GROUP_STREAM", "x": 10, "y": 10, "chance": 25, "use_pack_size": true } ]
}
}
]