From a5efed83b96cc9f05e43c036e188c475a5054385 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 16 Apr 2021 21:41:19 +0200 Subject: [PATCH] Set non-LttP Shop prices to 5 to 140 Rupee range --- worlds/alttp/Shops.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worlds/alttp/Shops.py b/worlds/alttp/Shops.py index f3ca932b..3514d48a 100644 --- a/worlds/alttp/Shops.py +++ b/worlds/alttp/Shops.py @@ -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)