mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
TUNIC: Fix for nmg logic bug (#2772)
This commit is contained in:
@@ -37,7 +37,7 @@ portal_mapping: List[Portal] = [
|
||||
destination="Furnace_gyro_lower"),
|
||||
Portal(name="Caustic Light Cave Entrance", region="Overworld",
|
||||
destination="Overworld Cave_"),
|
||||
Portal(name="Swamp Upper Entrance", region="Overworld Laurels",
|
||||
Portal(name="Swamp Upper Entrance", region="Overworld Swamp Upper Entry",
|
||||
destination="Swamp Redux 2_wall"),
|
||||
Portal(name="Swamp Lower Entrance", region="Overworld",
|
||||
destination="Swamp Redux 2_conduit"),
|
||||
@@ -49,7 +49,7 @@ portal_mapping: List[Portal] = [
|
||||
destination="Atoll Redux_upper"),
|
||||
Portal(name="Atoll Lower Entrance", region="Overworld",
|
||||
destination="Atoll Redux_lower"),
|
||||
Portal(name="Special Shop Entrance", region="Overworld Laurels",
|
||||
Portal(name="Special Shop Entrance", region="Overworld Special Shop Entry",
|
||||
destination="ShopSpecial_"),
|
||||
Portal(name="Maze Cave Entrance", region="Overworld",
|
||||
destination="Maze Room_"),
|
||||
@@ -57,7 +57,7 @@ portal_mapping: List[Portal] = [
|
||||
destination="Archipelagos Redux_upper"),
|
||||
Portal(name="West Garden Entrance from Furnace", region="Overworld to West Garden from Furnace",
|
||||
destination="Archipelagos Redux_lower"),
|
||||
Portal(name="West Garden Laurels Entrance", region="Overworld Laurels",
|
||||
Portal(name="West Garden Laurels Entrance", region="Overworld West Garden Laurels Entry",
|
||||
destination="Archipelagos Redux_lowest"),
|
||||
Portal(name="Temple Door Entrance", region="Overworld Temple Door",
|
||||
destination="Temple_main"),
|
||||
@@ -533,7 +533,9 @@ tunic_er_regions: Dict[str, RegionInfo] = {
|
||||
"Overworld": RegionInfo("Overworld Redux"),
|
||||
"Overworld Holy Cross": RegionInfo("Fake", dead_end=DeadEnd.all_cats),
|
||||
"Overworld Belltower": RegionInfo("Overworld Redux"), # the area with the belltower and chest
|
||||
"Overworld Laurels": RegionInfo("Overworld Redux"), # all spots in Overworld that you need laurels to reach
|
||||
"Overworld Swamp Upper Entry": RegionInfo("Overworld Redux"), # upper swamp entry spot
|
||||
"Overworld Special Shop Entry": RegionInfo("Overworld Redux"), # special shop entry spot
|
||||
"Overworld West Garden Laurels Entry": RegionInfo("Overworld Redux"), # west garden laurels entry
|
||||
"Overworld to West Garden from Furnace": RegionInfo("Overworld Redux", hint=Hint.region),
|
||||
"Overworld Well to Furnace Rail": RegionInfo("Overworld Redux"), # the tiny rail passageway
|
||||
"Overworld Ruined Passage Door": RegionInfo("Overworld Redux"), # the small space betweeen the door and the portal
|
||||
@@ -710,7 +712,7 @@ for p1, p2 in hallways.items():
|
||||
hallway_helper[p2] = p1
|
||||
|
||||
# so we can just loop over this instead of doing some complicated thing to deal with hallways in the hints
|
||||
hallways_nmg: Dict[str, str] = {
|
||||
hallways_ur: Dict[str, str] = {
|
||||
"Ruins Passage, Overworld Redux_east": "Ruins Passage, Overworld Redux_west",
|
||||
"East Forest Redux Interior, East Forest Redux_upper": "East Forest Redux Interior, East Forest Redux_lower",
|
||||
"Forest Boss Room, East Forest Redux Laddercave_": "Forest Boss Room, Forest Belltower_",
|
||||
@@ -720,20 +722,22 @@ hallways_nmg: Dict[str, str] = {
|
||||
"ziggurat2020_0, Quarry Redux_": "ziggurat2020_0, ziggurat2020_1_",
|
||||
"Purgatory, Purgatory_bottom": "Purgatory, Purgatory_top",
|
||||
}
|
||||
hallway_helper_nmg: Dict[str, str] = {}
|
||||
for p1, p2 in hallways.items():
|
||||
hallway_helper[p1] = p2
|
||||
hallway_helper[p2] = p1
|
||||
hallway_helper_ur: Dict[str, str] = {}
|
||||
for p1, p2 in hallways_ur.items():
|
||||
hallway_helper_ur[p1] = p2
|
||||
hallway_helper_ur[p2] = p1
|
||||
|
||||
|
||||
# the key is the region you have, the value is the regions you get for having that region
|
||||
# this is mostly so we don't have to do something overly complex to get this information
|
||||
dependent_regions: Dict[Tuple[str, ...], List[str]] = {
|
||||
("Overworld", "Overworld Belltower", "Overworld Laurels", "Overworld Southeast Cross Door", "Overworld Temple Door",
|
||||
("Overworld", "Overworld Belltower", "Overworld Swamp Upper Entry", "Overworld Special Shop Entry",
|
||||
"Overworld West Garden Laurels Entry", "Overworld Southeast Cross Door", "Overworld Temple Door",
|
||||
"Overworld Fountain Cross Door", "Overworld Town Portal", "Overworld Spawn Portal"):
|
||||
["Overworld", "Overworld Belltower", "Overworld Laurels", "Overworld Ruined Passage Door",
|
||||
"Overworld Southeast Cross Door", "Overworld Old House Door", "Overworld Temple Door",
|
||||
"Overworld Fountain Cross Door", "Overworld Town Portal", "Overworld Spawn Portal"],
|
||||
["Overworld", "Overworld Belltower", "Overworld Swamp Upper Entry", "Overworld Special Shop Entry",
|
||||
"Overworld West Garden Laurels Entry", "Overworld Ruined Passage Door", "Overworld Southeast Cross Door",
|
||||
"Overworld Old House Door", "Overworld Temple Door", "Overworld Fountain Cross Door", "Overworld Town Portal",
|
||||
"Overworld Spawn Portal"],
|
||||
("Old House Front",):
|
||||
["Old House Front", "Old House Back"],
|
||||
("Furnace Fuse", "Furnace Ladder Area", "Furnace Walking Path"):
|
||||
@@ -818,12 +822,14 @@ dependent_regions: Dict[Tuple[str, ...], List[str]] = {
|
||||
|
||||
|
||||
dependent_regions_nmg: Dict[Tuple[str, ...], List[str]] = {
|
||||
("Overworld", "Overworld Belltower", "Overworld Laurels", "Overworld Southeast Cross Door", "Overworld Temple Door",
|
||||
("Overworld", "Overworld Belltower", "Overworld Swamp Upper Entry", "Overworld Special Shop Entry",
|
||||
"Overworld West Garden Laurels Entry", "Overworld Southeast Cross Door", "Overworld Temple Door",
|
||||
"Overworld Fountain Cross Door", "Overworld Town Portal", "Overworld Spawn Portal",
|
||||
"Overworld Ruined Passage Door"):
|
||||
["Overworld", "Overworld Belltower", "Overworld Laurels", "Overworld Ruined Passage Door",
|
||||
"Overworld Southeast Cross Door", "Overworld Old House Door", "Overworld Temple Door",
|
||||
"Overworld Fountain Cross Door", "Overworld Town Portal", "Overworld Spawn Portal"],
|
||||
["Overworld", "Overworld Belltower", "Overworld Swamp Upper Entry", "Overworld Special Shop Entry",
|
||||
"Overworld West Garden Laurels Entry", "Overworld Ruined Passage Door", "Overworld Southeast Cross Door",
|
||||
"Overworld Old House Door", "Overworld Temple Door", "Overworld Fountain Cross Door", "Overworld Town Portal",
|
||||
"Overworld Spawn Portal"],
|
||||
# can laurels through the gate
|
||||
("Old House Front", "Old House Back"):
|
||||
["Old House Front", "Old House Back"],
|
||||
@@ -908,13 +914,14 @@ dependent_regions_nmg: Dict[Tuple[str, ...], List[str]] = {
|
||||
|
||||
dependent_regions_ur: Dict[Tuple[str, ...], List[str]] = {
|
||||
# can use ladder storage to get to the well rail
|
||||
("Overworld", "Overworld Belltower", "Overworld Laurels", "Overworld Southeast Cross Door", "Overworld Temple Door",
|
||||
("Overworld", "Overworld Belltower", "Overworld Swamp Upper Entry", "Overworld Special Shop Entry",
|
||||
"Overworld West Garden Laurels Entry", "Overworld Southeast Cross Door", "Overworld Temple Door",
|
||||
"Overworld Fountain Cross Door", "Overworld Town Portal", "Overworld Spawn Portal",
|
||||
"Overworld Ruined Passage Door"):
|
||||
["Overworld", "Overworld Belltower", "Overworld Laurels", "Overworld Ruined Passage Door",
|
||||
"Overworld Southeast Cross Door", "Overworld Old House Door", "Overworld Temple Door",
|
||||
"Overworld Fountain Cross Door", "Overworld Town Portal", "Overworld Spawn Portal",
|
||||
"Overworld Well to Furnace Rail"],
|
||||
["Overworld", "Overworld Belltower", "Overworld Swamp Upper Entry", "Overworld Special Shop Entry",
|
||||
"Overworld West Garden Laurels Entry", "Overworld Ruined Passage Door", "Overworld Southeast Cross Door",
|
||||
"Overworld Old House Door", "Overworld Temple Door", "Overworld Fountain Cross Door", "Overworld Town Portal",
|
||||
"Overworld Spawn Portal", "Overworld Well to Furnace Rail"],
|
||||
# can laurels through the gate
|
||||
("Old House Front", "Old House Back"):
|
||||
["Old House Front", "Old House Back"],
|
||||
|
Reference in New Issue
Block a user