Tests: add test to check for typo'd item name group definitions (#594)

* Tests: add test to check for typo'd item name group definitions
Factorio: item *name* group was pointing to IDs instead.
Server: prevent crash when using Event-filled item name group

* Server: prevent crash when /hint'ing for an item name group with events
This commit is contained in:
Fabian Dill
2022-06-01 17:25:40 +02:00
committed by GitHub
parent 19c3c8056b
commit ff608b72a2
3 changed files with 24 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ class Factorio(World):
item_name_to_id = all_items
location_name_to_id = base_tech_table
item_name_groups = {
"Progressive": set(progressive_tech_table.values()),
"Progressive": set(progressive_tech_table.keys()),
}
data_version = 5
required_client_version = (0, 3, 0)