Core: implement location_name_groups (#1502)

This commit is contained in:
alwaysintreble
2023-03-08 15:15:28 -06:00
committed by GitHub
parent d57314a407
commit e3deb822ad
5 changed files with 96 additions and 1 deletions

View File

@@ -149,6 +149,9 @@ class World(metaclass=AutoWorldRegister):
item_name_groups: ClassVar[Dict[str, Set[str]]] = {}
"""maps item group names to sets of items. Example: {"Weapons": {"Sword", "Bow"}}"""
location_name_groups: ClassVar[Dict[str, Set[str]]] = {}
"""maps location group names to sets of locations. Example: {"Sewer": {"Sewer Key Drop 1", "Sewer Key Drop 2"}}"""
data_version: ClassVar[int] = 1
"""
increment this every time something in your world's names/id mappings changes.