Fix bugs, refactor quarry regions so you can access chests in lower quarry with ice grapples

This commit is contained in:
Scipio Wright
2024-07-12 19:12:11 -04:00
parent efdaeb29f1
commit f2b7dbbb7d
5 changed files with 22 additions and 12 deletions

View File

@@ -44,14 +44,14 @@ def create_er_regions(world: "TunicWorld") -> Dict[Portal, Portal]:
portal_pairs = vanilla_portals(world, regions)
create_randomized_entrances(portal_pairs, regions)
set_er_region_rules(world, regions, portal_pairs)
for location_name, location_id in world.location_name_to_id.items():
region = regions[location_table[location_name].er_region]
location = TunicERLocation(world.player, location_name, location_id, region)
region.locations.append(location)
create_randomized_entrances(portal_pairs, regions)
for region in regions.values():
world.multiworld.regions.append(region)