mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Zork Grand Inquisitor: Precollect Start with Hotspot Items in deterministic order (#4412)
This commit is contained in:
@@ -176,7 +176,7 @@ class ZorkGrandInquisitorWorld(World):
|
|||||||
|
|
||||||
if start_with_hotspot_items:
|
if start_with_hotspot_items:
|
||||||
item: ZorkGrandInquisitorItems
|
item: ZorkGrandInquisitorItems
|
||||||
for item in items_with_tag(ZorkGrandInquisitorTags.HOTSPOT):
|
for item in sorted(items_with_tag(ZorkGrandInquisitorTags.HOTSPOT), key=lambda item: item.name):
|
||||||
self.multiworld.push_precollected(self.create_item(item.value))
|
self.multiworld.push_precollected(self.create_item(item.value))
|
||||||
|
|
||||||
def create_item(self, name: str) -> ZorkGrandInquisitorItem:
|
def create_item(self, name: str) -> ZorkGrandInquisitorItem:
|
||||||
|
Reference in New Issue
Block a user