diff --git a/worlds/tunic/er_data.py b/worlds/tunic/er_data.py index 8ccd6a5c14..bb54336654 100644 --- a/worlds/tunic/er_data.py +++ b/worlds/tunic/er_data.py @@ -2,6 +2,18 @@ from typing import Dict, NamedTuple, List from enum import IntEnum +# the direction you go to enter a portal +class Direction(IntEnum): + none = 0 # for when the direction isn't relevant + north = 1 + south = 2 + east = 3 + west = 4 + floor = 5 + ladder_up = 6 + ladder_down = 7 + + class Portal(NamedTuple): name: str # human-readable name region: str # AP region @@ -21,18 +33,6 @@ class Portal(NamedTuple): return self.destination + ", " + self.scene() + self.tag -# the direction you go to enter a portal -class Direction(IntEnum): - none = 0 # for when the direction isn't relevant - north = 1 - south = 2 - east = 3 - west = 4 - floor = 5 - ladder_up = 6 - ladder_down = 7 - - portal_mapping: List[Portal] = [ Portal(name="Stick House Entrance", region="Overworld", destination="Sword Cave", tag="_", direction=Direction.north),