From 3e6f2bb79be31ad26bc949aa56b39b34018ccc45 Mon Sep 17 00:00:00 2001 From: aerinon Date: Fri, 26 Aug 2022 15:20:53 -0600 Subject: [PATCH] Fixed issue with small key shuffle when big keys aren't --- Fill.py | 3 +++ RELEASENOTES.md | 1 + 2 files changed, 4 insertions(+) diff --git a/Fill.py b/Fill.py index b2dc3400..e2ea4726 100644 --- a/Fill.py +++ b/Fill.py @@ -48,6 +48,9 @@ def fill_dungeons_restrictive(world, shuffled_locations): bigs, smalls, others = [], [], [] for i in dungeon_items: (bigs if i.bigkey else smalls if i.smallkey else others).append(i) + for i in world.itempool: + if i.smallkey and world.keyshuffle[i.player]: + smalls.append(i) def fill(base_state, items, key_pool): fill_restrictive(world, base_state, shuffled_locations, items, key_pool, True) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 76df07c1..1e059997 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -191,6 +191,7 @@ Same as above but both small keys and bigs keys of the dungeon are not allowed o * Fixed a playthrough issue that was not respecting pot rules * Fixed an issue that was conflicting with downstream OWR project * Fixed an issue with inverted and certain pottery settings + * Fixed an issue with small keys being shuffled and big keys not (key distribution) * 1.0.1.1 * Fixed the pots in Mire Storyteller/ Dark Desert Hint to be colorized when they should be * Certain pot items no longer reload when reloading the supertile (matches original pot behavior better)