Set non-LttP Shop prices to 5 to 140 Rupee range

This commit is contained in:
Fabian Dill 2021-04-16 21:41:19 +02:00
parent e7a746c06c
commit a5efed83b9
1 changed files with 3 additions and 1 deletions

View File

@ -218,7 +218,9 @@ def ShopSlotFill(world):
continue continue
item_name = location.item.name item_name = location.item.name
if any(x in item_name for x in ['Compass', 'Map', 'Single Bomb', 'Single Arrow', 'Piece of Heart']): if location.item.game != "A Link to the Past":
price = world.random.randrange(1, 28)
elif any(x in item_name for x in ['Compass', 'Map', 'Single Bomb', 'Single Arrow', 'Piece of Heart']):
price = world.random.randrange(1, 7) price = world.random.randrange(1, 7)
elif any(x in item_name for x in ['Arrow', 'Bomb', 'Clock']): elif any(x in item_name for x in ['Arrow', 'Bomb', 'Clock']):
price = world.random.randrange(2, 14) price = world.random.randrange(2, 14)