Powder patch fixes

Last quick and dirty fix push was a little too quick and dirty. My bad.
This commit is contained in:
AmazingAmpharos 2018-02-11 22:35:02 -06:00 committed by GitHub
parent abedfd4d1e
commit 5e743e1c33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -31,6 +31,7 @@ class World(object):
self.place_dungeon_items = place_dungeon_items # configurable in future
self.shuffle_bonk_prizes = False
self.swamp_patch_required = False
self.powder_patch_required = False
self.ganon_at_pyramid = True
self.sewer_light_cone = mode == 'standard'
self.light_world_light_cone = False
@ -59,7 +60,6 @@ class World(object):
self.can_take_damage = True
self.difficulty_requirements = None
self.fix_fake_world = True
self.powder_patch_required = self.shuffle not in ['vanilla', 'dungeonssimple', 'dungeonsfull']
self.spoiler = Spoiler(self)
def intialize_regions(self):

View File

@ -825,6 +825,10 @@ def link_entrances(world):
if world.get_entrance('Dam').connected_region.name != 'Dam' or world.get_entrance('Swamp Palace').connected_region.name != 'Swamp Palace (Entrance)':
world.swamp_patch_required = True
# check for
if world.get_entrance('Potion Shop').connected_region.name != 'Potion Shop':
world.powder_patch_required = True
# check for ganon location
if world.get_entrance('Pyramid Hole').connected_region.name != 'Pyramid':
world.ganon_at_pyramid = False