Exclude potion shop from shop sanity.
As potion shop is hard-coded into the game, until some assembly changes are made to handle it specifically, for changing its prices/contents, including this shop could potentially make the only sphere one small key not accessible, (and causes duplicate red/green/blue potions to exist.)
This commit is contained in:
parent
4ec8007514
commit
08f8677433
|
@ -352,7 +352,7 @@ def shuffle_shops(world, items, player: int):
|
|||
shops = []
|
||||
total_inventory = []
|
||||
for shop in world.shops:
|
||||
if shop.type == ShopType.Shop and shop.region.player == player:
|
||||
if shop.type == ShopType.Shop and shop.region.player == player and shop.region.name != 'Potion Shop':
|
||||
shops.append(shop)
|
||||
total_inventory.extend(shop.inventory)
|
||||
|
||||
|
|
Loading…
Reference in New Issue