From 54ca6bb26ff83afc562458ed7c6e211ae593afd5 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 7 Feb 2021 10:05:25 +0100 Subject: [PATCH] significantly reduce price of maps and compasses --- Shops.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Shops.py b/Shops.py index 7a5ead31..5a3fa1be 100644 --- a/Shops.py +++ b/Shops.py @@ -223,17 +223,16 @@ def ShopSlotFill(world): cumu_weights[swapping_sphere_id] -= 1 item_name = location.item.name - if any(x in item_name for x in ['Single Bomb', 'Single Arrow', 'Piece of Heart']): + if 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) - elif any(x in item_name for x in ['Compass', 'Map', 'Small Key', 'Clock', 'Heart']): + elif any(x in item_name for x in ['Small Key', 'Heart']): price = world.random.randrange(4, 28) else: price = world.random.randrange(8, 56) - price *= 5 - shop.push_inventory(int(location.name[-1]) - 1, item_name, price, 1, + shop.push_inventory(int(location.name[-1]) - 1, item_name, price * 5, 1, location.item.player if location.item.player != location.player else 0)