Merged DR v1.0.1.3
This commit is contained in:
3
Fill.py
3
Fill.py
@@ -172,7 +172,8 @@ def valid_key_placement(item, location, key_pool, world):
|
||||
if key_logic.prize_location:
|
||||
prize_loc = world.get_location(key_logic.prize_location, location.player)
|
||||
cr_count = world.crystals_needed_for_gt[location.player]
|
||||
return key_logic.check_placement(unplaced_keys, location if item.bigkey else None, prize_loc, cr_count)
|
||||
wild_keys = world.keyshuffle[item.player]
|
||||
return key_logic.check_placement(unplaced_keys, wild_keys, location if item.bigkey else None, prize_loc, cr_count)
|
||||
else:
|
||||
return not item.is_inside_dungeon_item(world)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user