mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-29 19:03:25 -07:00
Update direction in Portal with default
This commit is contained in:
@@ -7,7 +7,7 @@ class Portal(NamedTuple):
|
||||
region: str # AP region
|
||||
destination: str # vanilla destination scene
|
||||
tag: str # vanilla tag
|
||||
direction: int # the direction you go to enter a portal
|
||||
direction: int = Direction.none # the direction you go to enter a portal
|
||||
|
||||
def scene(self) -> str: # the actual scene name in Tunic
|
||||
if self.region.startswith("Shop"):
|
||||
@@ -23,7 +23,7 @@ class Portal(NamedTuple):
|
||||
|
||||
# the direction you go to enter a portal
|
||||
class Direction(IntEnum):
|
||||
none = 0 # for zig skip since it's excluded entirely from this direction pairing mode
|
||||
none = 0 # for when the direction isn't relevant
|
||||
north = 1
|
||||
south = 2
|
||||
east = 3
|
||||
|
||||
Reference in New Issue
Block a user