Fixed issue with small key shuffle when big keys aren't

This commit is contained in:
aerinon
2022-08-26 15:20:53 -06:00
parent 55364c071a
commit 3e6f2bb79b
2 changed files with 4 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ def fill_dungeons_restrictive(world, shuffled_locations):
bigs, smalls, others = [], [], [] bigs, smalls, others = [], [], []
for i in dungeon_items: for i in dungeon_items:
(bigs if i.bigkey else smalls if i.smallkey else others).append(i) (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): def fill(base_state, items, key_pool):
fill_restrictive(world, base_state, shuffled_locations, items, key_pool, True) fill_restrictive(world, base_state, shuffled_locations, items, key_pool, True)

View File

@@ -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 a playthrough issue that was not respecting pot rules
* Fixed an issue that was conflicting with downstream OWR project * Fixed an issue that was conflicting with downstream OWR project
* Fixed an issue with inverted and certain pottery settings * 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 * 1.0.1.1
* Fixed the pots in Mire Storyteller/ Dark Desert Hint to be colorized when they should be * 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) * Certain pot items no longer reload when reloading the supertile (matches original pot behavior better)