Various fixes:

Full boss shuffle samples without replacement
Vanilla doors simply unmarks ugly smalls
Money balance: handle multiworld solvent players better
Perf for item pool adjustment
Add loglevel to Mystery
This commit is contained in:
aerinon
2021-08-03 08:43:47 -06:00
parent cd86e14677
commit aeb910e274
5 changed files with 18 additions and 7 deletions

View File

@@ -101,6 +101,8 @@ def link_doors_main(world, player):
connect_portal(portal, world, player)
if not world.doorShuffle[player] == 'vanilla':
fix_big_key_doors_with_ugly_smalls(world, player)
else:
unmark_ugly_smalls(world, player)
if world.doorShuffle[player] == 'vanilla':
for entrance, ext in open_edges:
connect_two_way(world, entrance, ext, player)
@@ -316,6 +318,13 @@ def connect_one_way(world, entrancename, exitname, player):
y.dest = x
def unmark_ugly_smalls(world, player):
for d in ['Eastern Hint Tile Blocked Path SE', 'Eastern Darkness S', 'Thieves Hallway SE', 'Mire Left Bridge S',
'TR Lava Escape SE', 'GT Hidden Spikes SE']:
door = world.get_door(d, player)
door.smallKey = False
def fix_big_key_doors_with_ugly_smalls(world, player):
remove_ugly_small_key_doors(world, player)
unpair_big_key_doors(world, player)