Rename Escape Dungeon to Hyrule Castle by vote on discord

This commit is contained in:
Fabian Dill
2020-06-24 16:22:49 +02:00
parent e43230e99e
commit d3d68fcba2
9 changed files with 156 additions and 68 deletions

View File

@@ -274,7 +274,7 @@ def distribute_items_restrictive(world, gftower_trash=False, fill_locations=None
# Make sure the escape small key is placed first in standard with key shuffle to prevent running out of spots
progitempool.sort(
key=lambda item: 1 if item.name == 'Small Key (Escape)' and world.mode[item.player] == 'standard' and
key=lambda item: 1 if item.name == 'Small Key (Hyrule Castle)' and world.mode[item.player] == 'standard' and
world.keyshuffle[item.player] else 0)
fill_restrictive(world, world.state, fill_locations, progitempool)