Fix for multiworld progression balancing with shopsanity off

This commit is contained in:
randall.rupper
2021-03-09 16:14:16 -07:00
parent 9a2474f8ca
commit fd7728235d
3 changed files with 19 additions and 1 deletions

13
Fill.py
View File

@@ -377,6 +377,19 @@ def flood_items(world):
break
def lock_shop_locations(world, player):
for shop, loc_names in shop_to_location_table.items():
for loc in loc_names:
world.get_location(loc, player).event = True
world.get_location(loc, player).locked = True
# I don't believe these locations exist in non-shopsanity
# if world.retro[player]:
# for shop, loc_names in retro_shops.items():
# for loc in loc_names:
# world.get_location(loc, player).event = True
# world.get_location(loc, player).locked = True
def sell_potions(world, player):
loc_choices = []
for shop in world.shops[player]: