Archipelago/worlds/generic/__init__.py

15 lines
368 B
Python
Raw Normal View History

2021-01-03 13:32:32 +00:00
from typing import NamedTuple, Union
class PlandoItem(NamedTuple):
item: str
location: str
world: Union[bool, str] = False # False -> own world, True -> not own world
from_pool: bool = True # if item should be removed from item pool
class PlandoConnection(NamedTuple):
entrance: str
exit: str
direction: str # entrance, exit or both