Adding OverworldShuffle.py

This commit is contained in:
codemann8
2021-02-10 22:19:04 -06:00
parent 12ccbc45d3
commit 00a4ff11e5
2 changed files with 589 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ from KeyDoorShuffle import validate_key_placement
from PotShuffle import shuffle_pots
from Regions import create_regions, create_shops, mark_light_world_regions, create_dungeon_regions, adjust_locations
from InvertedRegions import create_inverted_regions, mark_dark_world_regions
from OverworldShuffle import link_overworld
from EntranceShuffle import link_entrances, link_inverted_entrances
from Rom import patch_rom, patch_race_rom, patch_enemizer, apply_rom_settings, LocalRom, JsonRom, get_hash_string
from Doors import create_doors
@@ -120,6 +121,11 @@ def main(args, seed=None, fish=None):
if world.potshuffle[player]:
shuffle_pots(world, player)
logger.info(world.fish.translate("cli","cli","shuffling.overworld"))
for player in range(1, world.players + 1):
link_overworld(world, player)
logger.info(world.fish.translate("cli","cli","shuffling.world"))
for player in range(1, world.players + 1):