Archipelago/worlds/generic/__init__.py

19 lines
394 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
2021-01-03 16:16:07 +00:00
class World():
pass