FFMQ: Create itempool in deterministic order (#4413)

This commit is contained in:
Mysteryem 2024-12-31 14:02:02 +00:00 committed by GitHub
parent c4bbcf9890
commit 3c9270d802
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -260,7 +260,8 @@ def create_items(self) -> None:
items.append(i)
for item_group in ("Key Items", "Spells", "Armors", "Helms", "Shields", "Accessories", "Weapons"):
for item in self.item_name_groups[item_group]:
# Sort for deterministic order
for item in sorted(self.item_name_groups[item_group]):
add_item(item)
if self.options.brown_boxes == "include":