Archipelago/worlds/v6/Regions.py

34 lines
1.8 KiB
Python
Raw Normal View History

2022-01-21 21:42:11 +00:00
import typing
from BaseClasses import MultiWorld, Region, Entrance, Location
2022-01-21 21:42:11 +00:00
from .Locations import V6Location, location_table
v6areas = ["Laboratory", "The Tower", "Space Station 2", "Warp Zone"]
2022-02-04 20:34:39 +00:00
2022-01-21 21:42:11 +00:00
def create_regions(world: MultiWorld, player: int):
regOvr = Region("Menu", player, world, "Dimension VVVVVV")
2022-01-21 21:42:11 +00:00
locOvr_names = ["Overworld (Pipe-shaped Segment)", "Overworld (Left of Ship)", "Overworld (Square Room)", "Overworld (Sad Elephant)",
"It's a Secret to Nobody", "Trench Warfare", "NPC Trinket", "V"]
2022-01-21 21:42:11 +00:00
regOvr.locations += [V6Location(player, loc_name, location_table[loc_name], regOvr) for loc_name in locOvr_names]
world.regions.append(regOvr)
regLab = Region("Laboratory", player, world)
2022-01-21 21:42:11 +00:00
locLab_names = ["Young Man, It's Worth the Challenge", "Overworld (Outside Entanglement Generator)", "The Tantalizing Trinket", "Purest Unobtainium"]
regLab.locations += [V6Location(player, loc_name, location_table[loc_name], regLab) for loc_name in locLab_names]
world.regions.append(regLab)
regTow = Region("The Tower", player, world)
2022-01-21 21:42:11 +00:00
locTow_names = ["The Tower 1", "The Tower 2"]
regTow.locations += [V6Location(player, loc_name, location_table[loc_name], regTow) for loc_name in locTow_names]
world.regions.append(regTow)
regSp2 = Region("Space Station 2", player, world)
2022-01-21 21:42:11 +00:00
locSp2_names = ["One Way Room", "You Just Keep Coming Back", "Clarion Call", "Prize for the Reckless", "Doing things the hard way"]
regSp2.locations += [V6Location(player, loc_name, location_table[loc_name], regSp2) for loc_name in locSp2_names]
world.regions.append(regSp2)
regWrp = Region("Warp Zone", player, world)
2022-01-21 21:42:11 +00:00
locWrp_names = ["Edge Games"]
regWrp.locations += [V6Location(player, loc_name, location_table[loc_name], regWrp) for loc_name in locWrp_names]
world.regions.append(regWrp)