From 0d9e186e181f6e41a5ea3a102de51de6f6205e17 Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Sun, 26 Sep 2021 22:47:58 -0500 Subject: [PATCH] OoT: place shop progression first rather than only tunics --- worlds/oot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/oot/__init__.py b/worlds/oot/__init__.py index ae22d603..6e9149e4 100644 --- a/worlds/oot/__init__.py +++ b/worlds/oot/__init__.py @@ -641,7 +641,7 @@ class OOTWorld(World): shop_locations = list( filter(lambda location: location.type == 'Shop' and location.name not in self.shop_prices, self.world.get_unfilled_locations(player=self.player))) - shop_items.sort(key=lambda item: 1 if item.name in {"Buy Goron Tunic", "Buy Zora Tunic"} else 0) + shop_items.sort(key=lambda item: int(item.advancement)) # place progression shop items first self.world.random.shuffle(shop_locations) for item in shop_items: self.world.itempool.remove(item)