Skip to content

Commit

Permalink
Set non-LttP Shop prices to 5 to 140 Rupee range
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 committed Apr 16, 2021
1 parent e7a746c commit a5efed8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion worlds/alttp/Shops.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ def ShopSlotFill(world):
continue

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)
elif any(x in item_name for x in ['Arrow', 'Bomb', 'Clock']):
price = world.random.randrange(2, 14)
Expand Down

0 comments on commit a5efed8

Please sign in to comment.