From 83c02981dc3cb04644c1bb775aa68099c231a132 Mon Sep 17 00:00:00 2001 From: Scipio Wright Date: Wed, 31 Jul 2024 11:18:32 -0400 Subject: [PATCH] Update direction in Portal with default --- worlds/tunic/er_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/tunic/er_data.py b/worlds/tunic/er_data.py index b90ac27847..8ccd6a5c14 100644 --- a/worlds/tunic/er_data.py +++ b/worlds/tunic/er_data.py @@ -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