newstyle DataPackage. Both versions in merged format for compatibility for now.

This commit is contained in:
Fabian Dill
2021-07-12 18:05:46 +02:00
parent 50a21fbd74
commit f456dba993
9 changed files with 60 additions and 38 deletions

View File

@@ -18,6 +18,9 @@ class HKWorld(World):
item_names: Set[str] = frozenset(item_table)
location_names: Set[str] = frozenset(lookup_name_to_id)
item_name_to_id = {name: data.id for name, data in item_table.items()}
location_name_to_id = lookup_name_to_id
def generate_basic(self):
# Link regions
self.world.get_entrance('Hollow Nest S&Q', self.player).connect(self.world.get_region('Hollow Nest', self.player))