Msu resume bug on patcher

Check for retro arrows in pots
This commit is contained in:
aerinon
2022-04-20 14:00:16 -06:00
parent 4880f8017a
commit 5cc04ed675
6 changed files with 12 additions and 5 deletions

View File

@@ -486,6 +486,9 @@ def ensure_good_pots(world, write_skips=False):
loc.item.player = loc.player
else:
loc.item = ItemFactory(invalid_location_replacement[loc.item.name], loc.player)
# do the arrow retro check
if world.retro[loc.item.player] and loc.item.name in {'Arrows (5)', 'Arrows (10)'}:
loc.item = ItemFactory('Rupees (5)', loc.item.player)
# don't write out all pots to spoiler
if write_skips:
if loc.type == LocationType.Pot and loc.item.name in valid_pot_items: