Zork Grand Inquisitor: Precollect Start with Hotspot Items in deterministic order (#4412)
This commit is contained in:
parent
3c9270d802
commit
6e59ee2926
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue