Guarantee a bee for sale
This commit is contained in:
4
Fill.py
4
Fill.py
@@ -793,7 +793,7 @@ def sell_potions(world, player):
|
||||
if shop.region.name in shop_to_location_table and shop.region.name != 'Capacity Upgrade':
|
||||
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']:
|
||||
for potion in ['Green Potion', 'Blue Potion', 'Red Potion', 'Bee']:
|
||||
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), None)
|
||||
@@ -1287,4 +1287,4 @@ def set_prize_drops(world, player):
|
||||
# saved fish prize
|
||||
world.prizes[player]['fish'] = prizes.pop()
|
||||
|
||||
world.prizes[player]['enemies'] = prizes
|
||||
world.prizes[player]['enemies'] = prizes
|
||||
|
||||
@@ -363,7 +363,7 @@ def generate_itempool(world, player):
|
||||
|
||||
items = ItemFactory(pool, player)
|
||||
if world.shopsanity[player]:
|
||||
for potion in ['Green Potion', 'Blue Potion', 'Red Potion']:
|
||||
for potion in ['Green Potion', 'Blue Potion', 'Red Potion', 'Bee']:
|
||||
p_item = next(item for item in items if item.name == potion and item.player == player)
|
||||
p_item.priority = True # don't beemize one of each potion
|
||||
|
||||
@@ -1504,7 +1504,7 @@ def make_customizer_pool(world, player):
|
||||
guaranteed_items.append('Ocarina (Activated)')
|
||||
missing_items = []
|
||||
if world.shopsanity[player]:
|
||||
guaranteed_items.extend(['Blue Potion', 'Green Potion', 'Red Potion'])
|
||||
guaranteed_items.extend(['Blue Potion', 'Green Potion', 'Red Potion', 'Bee'])
|
||||
if world.keyshuffle[player] == 'universal':
|
||||
guaranteed_items.append('Small Key (Universal)')
|
||||
for item in guaranteed_items:
|
||||
|
||||
Reference in New Issue
Block a user