allow gossip hints for light arrows with either vanilla bridge or nonzero trials required

This commit is contained in:
espeon65536
2021-09-12 16:05:21 -05:00
committed by Fabian Dill
parent ae97b5e704
commit 323415ba9c

View File

@@ -650,8 +650,8 @@ def buildWorldGossipHints(world, checkedLocations=None):
checkedLocations = {player: set() for player in world.world.player_ids}
# If Ganondorf can be reached without Light Arrows, add to checkedLocations to prevent extra hinting
# Can only be forced with vanilla bridge
if world.bridge != 'vanilla':
# Can only be forced with vanilla bridge or trials
if world.bridge != 'vanilla' and world.trials == 0:
try:
light_arrow_location = world.world.find_item("Light Arrows", world.player)
checkedLocations[light_arrow_location.player].add(light_arrow_location.name)