fix LttP create_regions
This commit is contained in:
parent
d62b46f6cd
commit
15747f48e9
|
@ -34,8 +34,8 @@ class ALTTPWorld(World):
|
||||||
create_items = generate_itempool
|
create_items = generate_itempool
|
||||||
|
|
||||||
def create_regions(self):
|
def create_regions(self):
|
||||||
|
player = self.player
|
||||||
world = self.world
|
world = self.world
|
||||||
for player in world.get_game_players("A Link to the Past"):
|
|
||||||
if world.open_pyramid[player] == 'goal':
|
if world.open_pyramid[player] == 'goal':
|
||||||
world.open_pyramid[player] = world.goal[player] in {'crystals', 'ganontriforcehunt',
|
world.open_pyramid[player] = world.goal[player] in {'crystals', 'ganontriforcehunt',
|
||||||
'localganontriforcehunt', 'ganonpedestal'}
|
'localganontriforcehunt', 'ganonpedestal'}
|
||||||
|
@ -58,7 +58,7 @@ class ALTTPWorld(World):
|
||||||
create_shops(world, player)
|
create_shops(world, player)
|
||||||
create_dungeons(world, player)
|
create_dungeons(world, player)
|
||||||
|
|
||||||
for player in world.get_game_players("A Link to the Past"):
|
|
||||||
if world.logic[player] not in ["noglitches", "minorglitches"] and world.shuffle[player] in \
|
if world.logic[player] not in ["noglitches", "minorglitches"] and world.shuffle[player] in \
|
||||||
{"vanilla", "dungeonssimple", "dungeonsfull", "simple", "restricted", "full"}:
|
{"vanilla", "dungeonssimple", "dungeonsfull", "simple", "restricted", "full"}:
|
||||||
world.fix_fake_world[player] = False
|
world.fix_fake_world[player] = False
|
||||||
|
|
Loading…
Reference in New Issue