ensure Hyrule Castle Small Key locality in standard + small key shuffle

This commit is contained in:
Fabian Dill
2021-07-24 01:42:00 +02:00
parent e79a918c03
commit af30d8b7cd
3 changed files with 6 additions and 3 deletions

View File

@@ -180,7 +180,9 @@ def main(args, seed=None):
if not world.keyshuffle[player]:
world.non_local_items[player] -= item_name_groups['Small Keys']
# This could probably use a more elegant solution.
elif world.keyshuffle[player] == True and world.mode[player] == "Standard":
world.local_items[player].add("Small Key (Hyrule Castle)")
if not world.bigkeyshuffle[player]:
world.non_local_items[player] -= item_name_groups['Big Keys']