From 168fd83c979fa927e9c4773a5819776394511756 Mon Sep 17 00:00:00 2001 From: AmazingAmpharos Date: Fri, 10 Nov 2017 04:12:49 -0600 Subject: [PATCH] Fix for not placing Maps and Compasses It turns out the previous rewrite actually disabled that flag completely in the v26 algorithm. This makes it work again (per KevinCathcart) --- Dungeons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dungeons.py b/Dungeons.py index 87908a35..1defc6ca 100644 --- a/Dungeons.py +++ b/Dungeons.py @@ -111,7 +111,7 @@ def fill_dungeons_restrictive(world, shuffled_locations): skull_woods_big_chest.event = True shuffled_locations.remove(skull_woods_big_chest) - dungeon_items = [item for dungeon in world.dungeons for item in dungeon.all_items] + dungeon_items = [item for dungeon in world.dungeons for item in dungeon.all_items if item.key or world.place_dungeon_items] # sort in the order Big Key, Small Key, Other before placing dungeon items sort_order = {"BigKey": 3, "SmallKey": 2}