Change hint for shop items to be "for sale"

Lock Dungeon Prizes, as they're not supposed to be moved by any swapping mechanic
This commit is contained in:
Fabian Dill
2021-01-13 14:58:40 +01:00
parent c0cdeef67a
commit e8a57a4d24
4 changed files with 11 additions and 6 deletions

View File

@@ -619,7 +619,7 @@ def fill_prizes(world, attempts=15):
prize_locs = list(empty_crystal_locations)
world.random.shuffle(prizepool)
world.random.shuffle(prize_locs)
fill_restrictive(world, all_state, prize_locs, prizepool, True)
fill_restrictive(world, all_state, prize_locs, prizepool, True, lock=True)
except FillError as e:
logging.getLogger('').exception("Failed to place dungeon prizes (%s). Will retry %s more times", e,
attempts - attempt)