BPS flag for Mystery
Expanded logic options for mystery Fixed a shopsanity+district bug Fixed the keysanity menu not showing map marks
This commit is contained in:
2
Fill.py
2
Fill.py
@@ -564,7 +564,7 @@ def sell_potions(world, player):
|
||||
loc_choices += [world.get_location(loc, player) for loc in shop_to_location_table[shop.region.name]]
|
||||
locations = [loc for loc in loc_choices if not loc.item]
|
||||
for potion in ['Green Potion', 'Blue Potion', 'Red Potion']:
|
||||
location = random.choice(filter_locations(ItemFactory(potion, player), locations, world))
|
||||
location = random.choice(filter_locations(ItemFactory(potion, player), locations, world, potion=True))
|
||||
locations.remove(location)
|
||||
p_item = next(item for item in world.itempool if item.name == potion and item.player == player)
|
||||
world.push_item(location, p_item, collect=False)
|
||||
|
||||
Reference in New Issue
Block a user