LttP: fix that collect can bypass requirements for ganon ped goal (#1771)

LttP: more pep8
This commit is contained in:
Fabian Dill
2023-04-26 10:48:08 +02:00
committed by GitHub
parent bb56f7b400
commit 4c3eaf2996
15 changed files with 107 additions and 66 deletions

View File

@@ -1,12 +1,11 @@
from BaseClasses import Entrance
from .SubClasses import LTTPRegion
from worlds.generic.Rules import set_rule, add_rule
from .StateHelpers import can_bomb_clip, has_sword, has_beam_sword, has_fire_source, can_melt_things, has_misery_mire_medallion
# We actually need the logic to properly "mark" these regions as Light or Dark world.
# Therefore we need to make these connections during the normal link_entrances stage, rather than during set_rules.
def underworld_glitch_connections(world, player):
# Therefore we need to make these connections during the normal link_entrances stage, rather than during set_rules.
def underworld_glitch_connections(world, player):
specrock = world.get_region('Spectacle Rock Cave (Bottom)', player)
mire = world.get_region('Misery Mire (West)', player)