Skip to content

Commit

Permalink
Remove “same hint area” requirements if all hints are off
Browse files Browse the repository at this point in the history
  • Loading branch information
fenhl committed Dec 25, 2020
1 parent 218a4f4 commit e1f448c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EntranceShuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def validate_world(world, worlds, entrance_placed, locations_to_ensure_reachable
if not max_search.visited(location):
raise EntranceShuffleError('%s is unreachable' % location.name)

if world.shuffle_interior_entrances and \
if world.shuffle_interior_entrances and (world.misc_hints or world.hints != 'none') and \
(entrance_placed == None or entrance_placed.type in ['Interior', 'SpecialInterior']):
# Ensure Kak Potion Shop entrances are in the same hint region so there is no ambiguity as to which entrance is used for hints
potion_front_entrance = get_entrance_replacing(world.get_region('Kak Potion Shop Front'), 'Kakariko Village -> Kak Potion Shop Front')
Expand Down
2 changes: 1 addition & 1 deletion Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def make_spoiler(settings, worlds, window=dummy_window()):
update_required_items(spoiler)
buildGossipHints(spoiler, worlds)
window.update_progress(55)
else:
elif settings.misc_hints:
# Ganon may still provide the Light Arrows hint
find_light_arrows(spoiler)
spoiler.build_file_hash()
Expand Down

0 comments on commit e1f448c

Please sign in to comment.