def determine_required_paths(world, player):
    paths = {'Hyrule Castle': ['Hyrule Castle Lobby', 'Hyrule Castle West Lobby', 'Hyrule Castle East Lobby'], 'Eastern Palace': ['Eastern Boss'], 'Desert Palace': ['Desert Main Lobby', 'Desert East Lobby', 'Desert West Lobby', 'Desert Boss'], 'Tower of Hera': ['Hera Boss'], 'Agahnims Tower': ['Tower Agahnim 1'], 'Palace of Darkness': ['PoD Boss'], 'Swamp Palace': ['Swamp Boss'], 'Skull Woods': ['Skull 1 Lobby', 'Skull 2 East Lobby', 'Skull 2 West Lobby', 'Skull Boss'], 'Thieves Town': ['Thieves Boss', ("Thieves Blind's Cell", 'Thieves Boss')], 'Ice Palace': ['Ice Boss'], 'Misery Mire': ['Mire Boss'], 'Turtle Rock': ['TR Main Lobby', 'TR Lazy Eyes', 'TR Big Chest Entrance', 'TR Eye Bridge', 'TR Boss'], 'Ganons Tower': ['GT Agahnim 2']}
    if (world.mode[player] == 'standard'):
        paths['Hyrule Castle'].append('Hyrule Dungeon Cellblock')
        paths['Hyrule Castle'].append(('Hyrule Dungeon Cellblock', 'Sanctuary'))
    if (world.doorShuffle[player] in ['basic']):
        paths['Thieves Town'].append('Thieves Attic Window')
    return paths
def determine_required_paths(world, player):
    paths = {'Hyrule Castle': ['Hyrule Castle Lobby', 'Hyrule Castle West Lobby', 'Hyrule Castle East Lobby'], 'Eastern Palace': ['Eastern Boss'], 'Desert Palace': ['Desert Main Lobby', 'Desert East Lobby', 'Desert West Lobby', 'Desert Boss'], 'Tower of Hera': ['Hera Boss'], 'Agahnims Tower': ['Tower Agahnim 1'], 'Palace of Darkness': ['PoD Boss'], 'Swamp Palace': ['Swamp Boss'], 'Skull Woods': ['Skull 1 Lobby', 'Skull 2 East Lobby', 'Skull 2 West Lobby', 'Skull Boss'], 'Thieves Town': ['Thieves Boss', ("Thieves Blind's Cell", 'Thieves Boss')], 'Ice Palace': ['Ice Boss'], 'Misery Mire': ['Mire Boss'], 'Turtle Rock': ['TR Main Lobby', 'TR Lazy Eyes', 'TR Big Chest Entrance', 'TR Eye Bridge', 'TR Boss'], 'Ganons Tower': ['GT Agahnim 2']}
    if (world.mode[player] == 'standard'):
        paths['Hyrule Castle'].append('Hyrule Dungeon Cellblock')
        paths['Hyrule Castle'].append(('Hyrule Dungeon Cellblock', 'Sanctuary'))
    if (world.doorShuffle[player] in ['basic']):
        paths['Thieves Town'].append('Thieves Attic Window')
    return paths