Core: Remove ALTTP cruft from BaseClasses (#1451)

This commit is contained in:
zig-for
2023-03-03 23:23:52 -08:00
committed by GitHub
parent a4b61118cf
commit d74c4c4c94
9 changed files with 339 additions and 352 deletions

View File

@@ -4,7 +4,6 @@ from enum import IntEnum
from BaseClasses import Location, Item, ItemClassification, Region, MultiWorld
class ALttPLocation(Location):
game: str = "A Link to the Past"
crystal: bool
@@ -81,6 +80,12 @@ class LTTPRegionType(IntEnum):
class LTTPRegion(Region):
type: LTTPRegionType
# will be set after making connections.
is_light_world: bool = False
is_dark_world: bool = False
shop: Optional = None
def __init__(self, name: str, type_: LTTPRegionType, hint: str, player: int, multiworld: MultiWorld):
super().__init__(name, player, multiworld, hint)
self.type = type_