mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Core: implement location_name_groups (#1502)
This commit is contained in:
@@ -117,6 +117,75 @@ class ALTTPWorld(World):
|
||||
option_definitions = alttp_options
|
||||
topology_present = True
|
||||
item_name_groups = item_name_groups
|
||||
location_name_groups = {
|
||||
"Blind's Hideout": {"Blind's Hideout - Top", "Blind's Hideout - Left", "Blind's Hideout - Right",
|
||||
"Blind's Hideout - Far Left", "Blind's Hideout - Far Right"},
|
||||
"Kakariko Well": {"Kakariko Well - Top", "Kakariko Well - Left", "Kakariko Well - Middle",
|
||||
"Kakariko Well - Right", "Kakariko Well - Bottom"},
|
||||
"Mini Moldorm Cave": {"Mini Moldorm Cave - Far Left", "Mini Moldorm Cave - Left", "Mini Moldorm Cave - Right",
|
||||
"Mini Moldorm Cave - Far Right", "Mini Moldorm Cave - Generous Guy"},
|
||||
"Paradox Cave": {"Paradox Cave Lower - Far Left", "Paradox Cave Lower - Left", "Paradox Cave Lower - Right",
|
||||
"Paradox Cave Lower - Far Right", "Paradox Cave Lower - Middle", "Paradox Cave Upper - Left",
|
||||
"Paradox Cave Upper - Right"},
|
||||
"Hype Cave": {"Hype Cave - Top", "Hype Cave - Middle Right", "Hype Cave - Middle Left",
|
||||
"Hype Cave - Bottom", "Hype Cave - Generous Guy"},
|
||||
"Hookshot Cave": {"Hookshot Cave - Top Right", "Hookshot Cave - Top Left", "Hookshot Cave - Bottom Right",
|
||||
"Hookshot Cave - Bottom Left"},
|
||||
"Hyrule Castle": {"Hyrule Castle - Boomerang Chest", "Hyrule Castle - Map Chest",
|
||||
"Hyrule Castle - Zelda's Chest", "Sewers - Dark Cross", "Sewers - Secret Room - Left",
|
||||
"Sewers - Secret Room - Middle", "Sewers - Secret Room - Right"},
|
||||
"Eastern Palace": {"Eastern Palace - Compass Chest", "Eastern Palace - Big Chest",
|
||||
"Eastern Palace - Cannonball Chest", "Eastern Palace - Big Key Chest",
|
||||
"Eastern Palace - Map Chest", "Eastern Palace - Boss"},
|
||||
"Desert Palace": {"Desert Palace - Big Chest", "Desert Palace - Torch", "Desert Palace - Map Chest",
|
||||
"Desert Palace - Compass Chest", "Desert Palace Big Key Chest", "Desert Palace - Boss"},
|
||||
"Tower of Hera": {"Tower of Hera - Basement Cage", "Tower of Hera - Map Chest", "Tower of Hera - Big Key Chest",
|
||||
"Tower of Hera - Compass Chest", "Tower of Hera - Big Chest", "Tower of Hera - Boss"},
|
||||
"Palace of Darkness": {"Palace of Darkness - Shooter Room", "Palace of Darkness - The Arena - Bridge",
|
||||
"Palace of Darkness - Stalfos Basement", "Palace of Darkness - Big Key Chest",
|
||||
"Palace of Darkness - The Arena - Ledge", "Palace of Darkness - Map Chest",
|
||||
"Palace of Darkness - Compass Chest", "Palace of Darkness - Dark Basement - Left",
|
||||
"Palace of Darkness - Dark Basement - Right", "Palace of Darkness - Dark Maze - Top",
|
||||
"Palace of Darkness - Dark Maze - Bottom", "Palace of Darkness - Big Chest",
|
||||
"Palace of Darkness - Harmless Hellway", "Palace of Darkness - Boss"},
|
||||
"Swamp Palace": {"Swamp Palace - Entrance", "Swamp Palace - Swamp Palace - Map Chest",
|
||||
"Swamp Palace - Big Chest", "Swamp Palace - Compass Chest", "Swamp Palace - Big Key Chest",
|
||||
"Swamp Palace - West Chest", "Swamp Palace - Flooded Room - Left",
|
||||
"Swamp Palace - Flooded Room - Right", "Swamp Palace - Waterfall Room", "Swamp Palace - Boss"},
|
||||
"Thieves' Town": {"Thieves' Town - Big Key Chest", "Thieves' Town - Map Chest", "Thieves' Town - Compass Chest",
|
||||
"Thieves' Town - Ambush Chest", "Thieves' Town - Attic", "Thieves' Town - Big Chest",
|
||||
"Thieves' Town - Blind's Cell", "Thieves' Town - Boss"},
|
||||
"Skull Woods": {"Skull Woods - Map Chest", "Skull Woods - Pinball Room", "Skull Woods - Compass Chest",
|
||||
"Skull Woods - Pot Prison", "Skull Woods - Big Chest", "Skull Woods - Big Key Chest",
|
||||
"Skull Woods - Bridge Room", "Skull Woods - Boss"},
|
||||
"Ice Palace": {"Ice Palace - Compass Chest", "Ice Palace - Freezor Chest", "Ice Palace - Big Chest",
|
||||
"Ice Palace - Freezor Chest", "Ice Palace - Big Chest", "Ice Palace - Iced T Room",
|
||||
"Ice Palace - Spike Room", "Ice Palace - Big Key Chest", "Ice Palace - Map Chest",
|
||||
"Ice Palace - Boss"},
|
||||
"Misery Mire": {"Misery Mire - Big Chest", "Misery Mire - Map Chest", "Misery Mire - Main Lobby",
|
||||
"Misery Mire - Bridge Chest", "Misery Mire - Spike Chest", "Misery Mire - Compass Chest",
|
||||
"Misery Mire - Big Key Chest", "Misery Mire - Boss"},
|
||||
"Turtle Rock": {"Turtle Rock - Compass Chest", "Turtle Rock - Roller Room - Left",
|
||||
"Turtle Rock - Roller Room - Right", "Turtle Room - Chain Chomps", "Turtle Rock - Big Key Chest",
|
||||
"Turtle Rock - Big Chest", "Turtle Rock - Crystaroller Room",
|
||||
"Turtle Rock - Eye Bridge - Bottom Left", "Turtle Rock - Eye Bridge - Bottom Right",
|
||||
"Turtle Rock - Eye Bridge - Top Left", "Turtle Rock - Eye Bridge - Top Right", "Turtle Rock - Boss"},
|
||||
"Ganons Tower": {"Ganons Tower - Bob's Torch", "Ganon's Tower - Hope Room - Left",
|
||||
"Ganons Tower - Hope Room - Right", "Ganons Tower - Tile Room",
|
||||
"Ganons Tower - Compass Room - Top Left", "Ganons Tower - Compass Room - Top Right",
|
||||
"Ganons Tower - Compass Room - Bottom Left", "Ganons Tower - Compass Room - Bottom Left",
|
||||
"Ganons Tower - DMs Room - Top Left", "Ganons Tower - DMs Room - Top Right",
|
||||
"Ganons Tower - DMs Room - Bottom Left", "Ganons Tower - DMs Room - Bottom Right",
|
||||
"Ganons Tower - Map Chest", "Ganons Tower - Firesnake Room",
|
||||
"Ganons Tower - Randomizer Room - Top Left", "Ganons Tower - Randomizer Room - Top Right",
|
||||
"Ganons Tower - Randomizer Room - Bottom Left", "Ganons Tower - Randomizer Room - Bottom Right",
|
||||
"Ganons Tower - Bob's Chest", "Ganons Tower - Big Chest", "Ganons Tower - Big Key Room - Left",
|
||||
"Ganons Tower - Big Key Room - Right", "Ganons Tower - Big Key Chest",
|
||||
"Ganons Tower - Mini Helmasaur Room - Left", "Ganons Tower - Mini Helmasaur Room - Right",
|
||||
"Ganons Tower - Pre-Moldorm Room", "Ganons Tower - Validation Chest"},
|
||||
"Ganons Tower Climb": {"Ganons Tower - Mini Helmasaur Room - Left", "Ganons Tower - Mini Helmasaur Room - Right",
|
||||
"Ganons Tower - Pre-Moldorm Room", "Ganons Tower - Validation Chest"},
|
||||
}
|
||||
hint_blacklist = {"Triforce"}
|
||||
|
||||
item_name_to_id = {name: data.item_code for name, data in item_table.items() if type(data.item_code) == int}
|
||||
|
Reference in New Issue
Block a user