summary refs log tree commit diff stats
path: root/datatypes.py
diff options
context:
space:
mode:
Diffstat (limited to 'datatypes.py')
-rw-r--r--datatypes.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/datatypes.py b/datatypes.py index 36141da..9521422 100644 --- a/datatypes.py +++ b/datatypes.py
@@ -12,6 +12,11 @@ class RoomAndPanel(NamedTuple):
12 panel: str 12 panel: str
13 13
14 14
15class RoomAndPanelDoor(NamedTuple):
16 room: Optional[str]
17 panel_door: str
18
19
15class EntranceType(Flag): 20class EntranceType(Flag):
16 NORMAL = auto() 21 NORMAL = auto()
17 PAINTING = auto() 22 PAINTING = auto()
@@ -63,9 +68,15 @@ class Panel(NamedTuple):
63 exclude_reduce: bool 68 exclude_reduce: bool
64 achievement: bool 69 achievement: bool
65 non_counting: bool 70 non_counting: bool
71 panel_door: Optional[RoomAndPanelDoor] # This will always be fully specified.
66 location_name: Optional[str] 72 location_name: Optional[str]
67 73
68 74
75class PanelDoor(NamedTuple):
76 item_name: str
77 panel_group: Optional[str]
78
79
69class Painting(NamedTuple): 80class Painting(NamedTuple):
70 id: str 81 id: str
71 room: str 82 room: str