Renaming keyword for Nearby dungeon item shuffle from 'district' to 'nearby'

This commit is contained in:
codemann8
2025-01-05 03:42:52 -06:00
parent ee45257862
commit ea5ad39a07
5 changed files with 34 additions and 34 deletions

View File

@@ -348,11 +348,11 @@ def generate_itempool(world, player):
world.treasure_hunt_icon[player] = 'Triforce Piece'
world.itempool.extend([item for item in get_dungeon_item_pool(world) if item.player == player
and ((item.prize and world.prizeshuffle[player] not in ['none', 'dungeon', 'district'])
or (item.smallkey and world.keyshuffle[player] not in ['none', 'district'])
or (item.bigkey and world.bigkeyshuffle[player] not in ['none', 'district'])
or (item.map and world.mapshuffle[player] not in ['none', 'district'])
or (item.compass and world.compassshuffle[player] not in ['none', 'district']))])
and ((item.prize and world.prizeshuffle[player] not in ['none', 'dungeon', 'nearby'])
or (item.smallkey and world.keyshuffle[player] not in ['none', 'nearby'])
or (item.bigkey and world.bigkeyshuffle[player] not in ['none', 'nearby'])
or (item.map and world.mapshuffle[player] not in ['none', 'nearby'])
or (item.compass and world.compassshuffle[player] not in ['none', 'nearby']))])
if world.logic[player] == 'hybridglitches' and world.pottery[player] not in ['none', 'cave']:
keys_to_remove = 2