|
13 | 13 | class CrystalProjectLocation(Location): |
14 | 14 | game: str = "CrystalProject" |
15 | 15 |
|
16 | | - def __init__(self, player: int, name: str = " ", address: int = None, parent=None): |
| 16 | + def __init__(self, player: int, name: str = " ", address = None, parent=None): |
17 | 17 | super().__init__(player, name, address, parent) |
18 | 18 |
|
19 | 19 | def init_areas(world: "CrystalProjectWorld", locations: List[LocationData], options: CrystalProjectOptions) -> None: |
@@ -359,21 +359,14 @@ def create_region(world: "CrystalProjectWorld", player: int, locations_per_regio |
359 | 359 |
|
360 | 360 | def create_location(player: int, location_data: LocationData, region: Region) -> Location: |
361 | 361 | location = CrystalProjectLocation(player, location_data.name, location_data.code, region) |
362 | | - location.region = location_data.region |
363 | 362 |
|
364 | 363 | if location_data.rule: |
365 | 364 | location.access_rule = location_data.rule |
366 | 365 |
|
367 | 366 | return location |
368 | 367 |
|
369 | 368 | def connect_menu_region(world: "CrystalProjectWorld", options: CrystalProjectOptions) -> None: |
370 | | - starting_region_list = { |
371 | | - 0: MENU |
372 | | - } |
373 | | - |
374 | 369 | logic = CrystalProjectLogic(world.player, options) |
375 | | - world.starting_region = starting_region_list[0] |
376 | | - menu = world.multiworld.get_region(MENU, world.player) |
377 | 370 | multiworld = world.multiworld |
378 | 371 | multiworld.get_region(MENU, world.player).add_exits([SPAWNING_MEADOWS, CAPITAL_SEQUOIA, MERCURY_SHRINE, SALMON_RIVER, POKO_POKO_DESERT, GANYMEDE_SHRINE, DIONE_SHRINE, TALL_TALL_HEIGHTS, LANDS_END, JIDAMBA_TANGLE, NEPTUNE_SHRINE, THE_OLD_WORLD, THE_NEW_WORLD], |
379 | 372 | {CAPITAL_SEQUOIA: lambda state: state.has("Item - Gaea Stone", world.player), |
|
0 commit comments