Initial check-in for ER rewrite
This commit is contained in:
2227
EntranceShuffle.py
2227
EntranceShuffle.py
File diff suppressed because it is too large
Load Diff
2
Main.py
2
Main.py
@@ -513,7 +513,9 @@ def copy_world(world):
|
|||||||
connect_portal(portal, ret, player)
|
connect_portal(portal, ret, player)
|
||||||
ret.sanc_portal = world.sanc_portal
|
ret.sanc_portal = world.sanc_portal
|
||||||
|
|
||||||
|
from OverworldShuffle import categorize_world_regions
|
||||||
for player in range(1, world.players + 1):
|
for player in range(1, world.players + 1):
|
||||||
|
categorize_world_regions(ret, player)
|
||||||
set_rules(ret, player)
|
set_rules(ret, player)
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|||||||
@@ -256,6 +256,8 @@ def link_overworld(world, player):
|
|||||||
logging.getLogger('').warning("Edge '%s' could not find a valid connection" % back_set[0])
|
logging.getLogger('').warning("Edge '%s' could not find a valid connection" % back_set[0])
|
||||||
assert len(connected_edges) == len(default_connections) * 2, connected_edges
|
assert len(connected_edges) == len(default_connections) * 2, connected_edges
|
||||||
|
|
||||||
|
# TODO: Reshuffle some areas if impossible to reach, exception if non-dungeon ER enabled or if area is LW with no portal and flute shuffle is enabled
|
||||||
|
|
||||||
# flute shuffle
|
# flute shuffle
|
||||||
def connect_flutes(flute_destinations):
|
def connect_flutes(flute_destinations):
|
||||||
for o in range(0, len(flute_destinations)):
|
for o in range(0, len(flute_destinations)):
|
||||||
|
|||||||
Reference in New Issue
Block a user