AutoWorld: add "Everything" item_name_group to all worlds

This commit is contained in:
Fabian Dill
2022-02-05 16:55:11 +01:00
parent 28201a6c38
commit 43ff476d98
4 changed files with 9 additions and 5 deletions

View File

@@ -20,6 +20,8 @@ class AutoWorldRegister(type):
# build rest
dct["item_names"] = frozenset(dct["item_name_to_id"])
dct["item_name_groups"] = dct.get("item_name_groups", {})
dct["item_name_groups"]["Everything"] = dct["item_names"]
dct["location_names"] = frozenset(dct["location_name_to_id"])
dct["all_item_and_group_names"] = frozenset(dct["item_names"] | set(dct.get("item_name_groups", {})))