Skip to content

Commit

Permalink
Mark that highway OMTs should not spawn
Browse files Browse the repository at this point in the history
Use the flag for all the easy ones, add the railings to the whitelist
to avoid creating a new overmap terrain defintion for them.
  • Loading branch information
ehughsbaird committed Oct 18, 2024
1 parent 04d2c39 commit ad1a7bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"type": "overmap_terrain",
"id": "special_field_highway",
"copy-from": "special_field",
"extend": { "flags": [ "HIGHWAY" ] }
"extend": { "flags": [ "HIGHWAY", "SHOULD_NOT_SPAWN" ] }
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -172,13 +172,13 @@
"copy-from": "generic_air",
"id": "hw_reserved",
"//": "Has rotation so cities can judge whether it's running perpendicular/parallel",
"flags": [ "HIGHWAY_RESERVED", "REQUIRES_PREDECESSOR" ]
"flags": [ "HIGHWAY_RESERVED", "REQUIRES_PREDECESSOR", "SHOULD_NOT_SPAWN" ]
},
{
"type": "overmap_terrain",
"id": "hw_reserved_water",
"copy-from": "hw_reserved",
"extend": { "flags": [ "RIVER" ] }
"extend": { "flags": [ "RIVER", "SHOULD_NOT_SPAWN" ] }
},
{
"type": "overmap_terrain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@
"name": "road",
"sym": "",
"color": "dark_gray",
"flags": [ "ROAD", "REQUIRES_PREDECESSOR", "SIDEWALK" ]
"flags": [ "ROAD", "REQUIRES_PREDECESSOR", "SIDEWALK", "SHOULD_NOT_SPAWN" ]
},
{
"type": "overmap_terrain",
Expand All @@ -570,15 +570,15 @@
"name": "road bridge",
"travel_cost_type": "road",
"sym": "",
"flags": [ "ROAD" ]
"flags": [ "ROAD", "SHOULD_NOT_SPAWN" ]
},
{
"type": "overmap_terrain",
"abstract": "generic_highway",
"copy-from": "generic_open_land",
"name": "highway",
"sym": "",
"flags": [ "HIGHWAY" ]
"flags": [ "HIGHWAY", "SHOULD_NOT_SPAWN" ]
},
{
"type": "overmap_terrain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"overmap_terrain_coverage_whitelist": [
"ants_lab",
"ants_lab_stairs",
"hw_railings",
"ice_lab",
"ice_lab_core",
"ice_lab_finale",
Expand Down

0 comments on commit ad1a7bf

Please sign in to comment.