mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Powder patch fixes
Last quick and dirty fix push was a little too quick and dirty. My bad.
This commit is contained in:
@@ -31,6 +31,7 @@ class World(object):
|
|||||||
self.place_dungeon_items = place_dungeon_items # configurable in future
|
self.place_dungeon_items = place_dungeon_items # configurable in future
|
||||||
self.shuffle_bonk_prizes = False
|
self.shuffle_bonk_prizes = False
|
||||||
self.swamp_patch_required = False
|
self.swamp_patch_required = False
|
||||||
|
self.powder_patch_required = False
|
||||||
self.ganon_at_pyramid = True
|
self.ganon_at_pyramid = True
|
||||||
self.sewer_light_cone = mode == 'standard'
|
self.sewer_light_cone = mode == 'standard'
|
||||||
self.light_world_light_cone = False
|
self.light_world_light_cone = False
|
||||||
@@ -59,7 +60,6 @@ class World(object):
|
|||||||
self.can_take_damage = True
|
self.can_take_damage = True
|
||||||
self.difficulty_requirements = None
|
self.difficulty_requirements = None
|
||||||
self.fix_fake_world = True
|
self.fix_fake_world = True
|
||||||
self.powder_patch_required = self.shuffle not in ['vanilla', 'dungeonssimple', 'dungeonsfull']
|
|
||||||
self.spoiler = Spoiler(self)
|
self.spoiler = Spoiler(self)
|
||||||
|
|
||||||
def intialize_regions(self):
|
def intialize_regions(self):
|
||||||
|
@@ -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)':
|
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
|
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
|
# check for ganon location
|
||||||
if world.get_entrance('Pyramid Hole').connected_region.name != 'Pyramid':
|
if world.get_entrance('Pyramid Hole').connected_region.name != 'Pyramid':
|
||||||
world.ganon_at_pyramid = False
|
world.ganon_at_pyramid = False
|
||||||
|
Reference in New Issue
Block a user