From 97d602a5121f3cb75fe2c17890966c66cfd2db7b Mon Sep 17 00:00:00 2001 From: Chris Kearney <chris@kearneymail.com> Date: Sun, 7 Aug 2016 18:11:53 -0700 Subject: [PATCH] making the satchel affordable --- src/main/java/com/comandante/creeper/ConfigureNpc.java | 3 ++- src/main/java/com/comandante/creeper/Items/ItemType.java | 2 +- .../java/com/comandante/creeper/player/EquipmentBuilder.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/comandante/creeper/ConfigureNpc.java b/src/main/java/com/comandante/creeper/ConfigureNpc.java index e9ee4c63..428736e1 100755 --- a/src/main/java/com/comandante/creeper/ConfigureNpc.java +++ b/src/main/java/com/comandante/creeper/ConfigureNpc.java @@ -53,7 +53,7 @@ public class ConfigureNpc { Map<Integer, MerchantItemForSale> itemsForSale = Maps.newLinkedHashMap(); itemsForSale.put(1, new MerchantItemForSale(ItemType.SMALL_HEALTH_POTION, 8)); itemsForSale.put(2, new MerchantItemForSale(ItemType.PURPLE_DRANK, 80)); - itemsForSale.put(3, new MerchantItemForSale(ItemType.LEATHER_SATCHEL, 25000)); + itemsForSale.put(3, new MerchantItemForSale(ItemType.BIGGERS_SKIN_SATCHEL, 25000)); LloydBartender lloydBartender = new LloydBartender(gameManager, new Loot(18, 26, Sets.<ItemType>newHashSet()), itemsForSale); gameManager.getRoomManager().addMerchant(64, lloydBartender); @@ -71,6 +71,7 @@ public class ConfigureNpc { blacksmithItems.put(4, new MerchantItemForSale(ItemType.IRON_HELMET, 500)); blacksmithItems.put(5, new MerchantItemForSale(ItemType.IRON_CHEST_PLATE, 1500)); blacksmithItems.put(6, new MerchantItemForSale(ItemType.IRON_LEGGINGS, 1100)); + blacksmithItems.put(7, new MerchantItemForSale(ItemType.LEATHER_SATCHEL, 600)); Blacksmith blacksmith = new Blacksmith(gameManager, new Loot(18, 26, Sets.<ItemType>newHashSet()), blacksmithItems); gameManager.getRoomManager().addMerchant(66, blacksmith); diff --git a/src/main/java/com/comandante/creeper/Items/ItemType.java b/src/main/java/com/comandante/creeper/Items/ItemType.java index 4b1d9186..f4d7e5b3 100755 --- a/src/main/java/com/comandante/creeper/Items/ItemType.java +++ b/src/main/java/com/comandante/creeper/Items/ItemType.java @@ -128,7 +128,7 @@ public enum ItemType { LEATHER_SATCHEL(11, Arrays.asList("leather satchel", "satchel"), "a " + Color.GREEN + "leather satchel" + Color.RESET, "a " + Color.GREEN + "leather satchel" + Color.RESET, - "a " + Color.GREEN + "leather satchel" + Color.RESET + " with room to store 10 items.", + "a " + Color.GREEN + "leather satchel" + Color.RESET + " with room to store an extra `15 items.", false, 0, 60, diff --git a/src/main/java/com/comandante/creeper/player/EquipmentBuilder.java b/src/main/java/com/comandante/creeper/player/EquipmentBuilder.java index 998a456d..0f61c444 100755 --- a/src/main/java/com/comandante/creeper/player/EquipmentBuilder.java +++ b/src/main/java/com/comandante/creeper/player/EquipmentBuilder.java @@ -84,7 +84,7 @@ public class EquipmentBuilder { } public static Item getLeatherSatchel(Item item) { - Stats stats = new StatsBuilder().setInventorySize(10).createStats(); + Stats stats = new StatsBuilder().setInventorySize(15).createStats(); final Equipment equipment = new Equipment(EquipmentSlotType.BAG, stats); item.setEquipment(equipment); return item; -- GitLab