mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-07-19 06:50:46 -07:00
21 lines
610 B
Python
21 lines
610 B
Python
import typing
|
|
from BaseClasses import Location, Region, RegionType
|
|
from worlds.dark_souls_3.data.locations_data import dictionary_table
|
|
|
|
|
|
class LocationData(int):
|
|
code: int
|
|
|
|
|
|
class DarkSouls3Location(Location):
|
|
game: str = "Dark Souls III"
|
|
|
|
# override constructor to automatically mark event locations as such
|
|
def __init__(self, player: int, name='', code=None, parent=None):
|
|
super(DarkSouls3Location, self).__init__(player, name, code, parent)
|
|
self.event = code is None
|
|
|
|
@staticmethod
|
|
def get_item_name_to_id() -> typing.Dict[str, int]:
|
|
return dictionary_table
|