AutoWorld: automate item_names and location_names

This commit is contained in:
Fabian Dill
2021-07-29 20:27:41 +02:00
parent 4dde466364
commit e098b3c504
6 changed files with 16 additions and 19 deletions

View File

@@ -15,8 +15,6 @@ from ..AutoWorld import World, LogicMixin
class HKWorld(World):
game: str = "Hollow Knight"
options = hollow_knight_options
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() if data.type != "Event"}
location_name_to_id = lookup_name_to_id