Adding missing code that allows Sanc spawn to be placed in DW in Lean ER
This commit is contained in:
2
Doors.py
2
Doors.py
@@ -1499,7 +1499,7 @@ def create_doors(world, player):
|
|||||||
|
|
||||||
# static portal flags
|
# static portal flags
|
||||||
world.get_door('Sanctuary S', player).dead_end(allowPassage=True)
|
world.get_door('Sanctuary S', player).dead_end(allowPassage=True)
|
||||||
if world.mode[player] == 'open' and world.shuffle[player] not in ['crossed', 'insanity']:
|
if world.mode[player] == 'open' and world.shuffle[player] not in ['lean', 'crossed', 'insanity']:
|
||||||
world.get_door('Sanctuary S', player).lw_restricted = True
|
world.get_door('Sanctuary S', player).lw_restricted = True
|
||||||
world.get_door('Eastern Hint Tile Blocked Path SE', player).passage = False
|
world.get_door('Eastern Hint Tile Blocked Path SE', player).passage = False
|
||||||
world.get_door('TR Big Chest Entrance SE', player).passage = False
|
world.get_door('TR Big Chest Entrance SE', player).passage = False
|
||||||
|
|||||||
@@ -1360,7 +1360,7 @@ def create_dungeon_builders(all_sectors, connections_tuple, world, player, dunge
|
|||||||
for name, builder in dungeon_map.items():
|
for name, builder in dungeon_map.items():
|
||||||
calc_allowance_and_dead_ends(builder, connections_tuple, world, player)
|
calc_allowance_and_dead_ends(builder, connections_tuple, world, player)
|
||||||
|
|
||||||
if world.mode[player] == 'open' and world.shuffle[player] not in ['crossed', 'insanity']:
|
if world.mode[player] == 'open' and world.shuffle[player] not in ['lean', 'crossed', 'insanity']:
|
||||||
sanc = find_sector('Sanctuary', candidate_sectors)
|
sanc = find_sector('Sanctuary', candidate_sectors)
|
||||||
if sanc: # only run if sanc if a candidate
|
if sanc: # only run if sanc if a candidate
|
||||||
lw_builders = []
|
lw_builders = []
|
||||||
|
|||||||
Reference in New Issue
Block a user