Skip to content

Commit

Permalink
fix: road connection for rural gas station (#4151)
Browse files Browse the repository at this point in the history
* Connect Rural Gas Station to the road

* Update overmap_terrain_commercial.json
  • Loading branch information
0Monet authored Jan 22, 2024
1 parent 473586c commit 11f8581
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/json/overmap/overmap_special/specials.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
{ "point": [ 0, 0, 0 ], "overmap": "s_gas_rural_north" },
{ "point": [ 0, 0, 1 ], "overmap": "s_gas_rural_roof_north" }
],
"connections": [ { "point": [ 0, -1, 0 ], "connection": "local_road", "existing": true } ],
"connections": [ { "point": [ 0, -1, 0 ], "connection": "local_road", "existing": true, "from": [ 0, 0, 0 ] } ],
"locations": [ "land" ],
"city_distance": [ 20, -1 ],
"occurrences": [ 0, 2 ],
Expand Down
19 changes: 17 additions & 2 deletions data/json/overmap/overmap_terrain/overmap_terrain_commercial.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
[
{
"type": "overmap_terrain",
"id": [ "s_gas", "s_gas_1", "s_gas_rural" ],
"id": [ "s_gas", "s_gas_1" ],
"copy-from": "generic_city_building",
"name": "gas station",
"color": "light_blue",
"extend": { "flags": [ "SOURCE_FUEL", "SOURCE_VEHICLES" ] }
},
{
"type": "overmap_terrain",
"id": [ "s_gas_roof_1", "s_gas_rural_roof" ],
"id": "s_gas_roof_1",
"copy-from": "generic_city_building",
"name": "gas station roof",
"color": "light_blue"
},
{
"type": "overmap_terrain",
"id": "s_gas_rural",
"copy-from": "generic_city_building_no_sidewalk",
"name": "gas station",
"color": "light_blue",
"extend": { "flags": [ "SOURCE_FUEL", "SOURCE_VEHICLES" ] }
},
{
"type": "overmap_terrain",
"id": "s_gas_rural_roof",
"copy-from": "generic_city_building_no_sidewalk",
"name": "gas station roof",
"color": "light_blue"
},
{
"type": "overmap_terrain",
"id": [ "s_pharm", "s_pharm_1" ],
Expand Down

0 comments on commit 11f8581

Please sign in to comment.