Skip to content

Commit

Permalink
Add hidden lab basement special
Browse files Browse the repository at this point in the history
  • Loading branch information
eltank committed Jun 9, 2021
1 parent 42b427a commit 8b5dde9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/json/overmap/overmap_connections.json
Expand Up @@ -41,5 +41,10 @@
{ "terrain": "railroad_level_crossing", "locations": [ "railroad_level_crossing_allowed" ], "basic_cost": 1 },
{ "terrain": "railroad_bridge", "locations": [ "water" ], "basic_cost": 1, "flags": [ "ORTHOGONAL" ] }
]
},
{
"type": "overmap_connection",
"id": "hidden_lab_basement",
"subtypes": [ { "terrain": "basement", "locations": [ "potential_basement_lab_entrance" ], "basic_cost": 0 } ]
}
]
12 changes: 12 additions & 0 deletions data/json/overmap/overmap_special/specials.json
Expand Up @@ -7323,5 +7323,17 @@
"city_sizes": [ 0, 12 ],
"occurrences": [ 10, 100 ],
"flags": [ "CLASSIC", "UNIQUE" ]
},
{
"type": "overmap_special",
"id": "basement_hidden_lab_entrance",
"overmaps": [ { "point": [ 0, 0, -1 ], "overmap": "basement_hidden_lab_stairs" } ],
"connections": [ { "point": [ 0, 0, -1 ], "connection": "hidden_lab_basement", "terrain": "basement", "existing": true } ],
"rotate": false,
"locations": [ "potential_basement_lab_entrance" ],
"city_distance": [ 5, -1 ],
"//": "Low chance to find a matching location, so always try to place it",
"occurrences": [ 100, 100 ],
"flags": [ "LAB", "UNIQUE" ]
}
]
5 changes: 5 additions & 0 deletions data/json/overmap/special_locations.json
Expand Up @@ -119,5 +119,10 @@
"type": "overmap_location",
"id": "lake_shore",
"terrains": [ "lake_shore" ]
},
{
"type": "overmap_location",
"id": "potential_basement_lab_entrance",
"terrains": [ "basement" ]
}
]

0 comments on commit 8b5dde9

Please sign in to comment.