Removing dungeon items from hint pool for nearby shuffle

This commit is contained in:
codemann8
2025-02-18 21:47:22 -06:00
parent 3f6b932410
commit 8e511ff5c8

6
Rom.py
View File

@@ -2211,11 +2211,11 @@ def write_strings(rom, world, player, team):
this_hint = this_hint[0].upper() + this_hint[1:]
tt[hint_locations.pop(0)] = this_hint
items_to_hint.remove(flute_item)
if world.keyshuffle[player] not in ['none', 'universal']:
if world.keyshuffle[player] not in ['none', 'nearby', 'universal']:
items_to_hint.extend(SmallKeys)
if world.bigkeyshuffle[player] != 'none':
if world.bigkeyshuffle[player] not in ['none', 'nearby']:
items_to_hint.extend(BigKeys)
if world.prizeshuffle[player] not in ['none', 'dungeon']:
if world.prizeshuffle[player] not in ['none', 'dungeon', 'nearby']:
items_to_hint.extend(Prizes)
random.shuffle(items_to_hint)
hint_count = 5 if world.shuffle[player] not in ['vanilla', 'dungeonssimple', 'dungeonsfull', 'district', 'swapped'] else 8