Allow Sanc/Grave to Tile Swap when Standard + Crossworld ER
This commit is contained in:
@@ -427,14 +427,16 @@ def shuffle_tiles(world, groups, result_list, player):
|
|||||||
def reorganize_tile_groups(world, player):
|
def reorganize_tile_groups(world, player):
|
||||||
groups = {}
|
groups = {}
|
||||||
for (name, groupType) in OWTileGroups.keys():
|
for (name, groupType) in OWTileGroups.keys():
|
||||||
if world.mode[player] != 'standard' or name not in ['Castle', 'Links', 'Central Bonk Rocks']:
|
if world.mode[player] != 'standard' or name not in ['Castle', 'Links', 'Central Bonk Rocks'] \
|
||||||
|
or (world.mode[player] == 'standard' and world.shuffle[player] in ['lite', 'liteplus', 'crossed', 'insanity'] and name == 'Castle' and groupType == 'Entrance'):
|
||||||
if world.shuffle[player] in ['vanilla', 'dungeonssimple', 'dungeonsfull', 'simple', 'restricted']:
|
if world.shuffle[player] in ['vanilla', 'dungeonssimple', 'dungeonsfull', 'simple', 'restricted']:
|
||||||
groups[(name,)] = ([], [], [])
|
groups[(name,)] = ([], [], [])
|
||||||
else:
|
else:
|
||||||
groups[(name, groupType)] = ([], [], [])
|
groups[(name, groupType)] = ([], [], [])
|
||||||
|
|
||||||
for (name, groupType) in OWTileGroups.keys():
|
for (name, groupType) in OWTileGroups.keys():
|
||||||
if world.mode[player] != 'standard' or name not in ['Castle', 'Links', 'Central Bonk Rocks']:
|
if world.mode[player] != 'standard' or name not in ['Castle', 'Links', 'Central Bonk Rocks'] \
|
||||||
|
or (world.mode[player] == 'standard' and world.shuffle[player] in ['lite', 'liteplus', 'crossed', 'insanity'] and name == 'Castle' and groupType == 'Entrance'):
|
||||||
(lw_owids, dw_owids) = OWTileGroups[(name, groupType,)]
|
(lw_owids, dw_owids) = OWTileGroups[(name, groupType,)]
|
||||||
if world.shuffle[player] in ['vanilla', 'dungeonssimple', 'dungeonsfull', 'simple', 'restricted']:
|
if world.shuffle[player] in ['vanilla', 'dungeonssimple', 'dungeonsfull', 'simple', 'restricted']:
|
||||||
(exist_owids, exist_lw_regions, exist_dw_regions) = groups[(name,)]
|
(exist_owids, exist_lw_regions, exist_dw_regions) = groups[(name,)]
|
||||||
|
|||||||
Reference in New Issue
Block a user