From c169d6eb3b6a99786b62414b06d108a52306d1d5 Mon Sep 17 00:00:00 2001 From: BLAZECRAFT <n3vs@yahoo.com> Date: Thu, 20 Aug 2015 21:25:29 -0400 Subject: [PATCH] Update ConfigureNpc.java --- .../java/com/comandante/creeper/ConfigureNpc.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/com/comandante/creeper/ConfigureNpc.java b/src/main/java/com/comandante/creeper/ConfigureNpc.java index 8e858f96..51631dec 100755 --- a/src/main/java/com/comandante/creeper/ConfigureNpc.java +++ b/src/main/java/com/comandante/creeper/ConfigureNpc.java @@ -107,6 +107,14 @@ public class ConfigureNpc { grimulfItems.put(4, new MerchantItemForSale(ItemType.DWARF_BOOTS_OF_AGILITY, 10000)); grimulfItems.put(5, new MerchantItemForSale(ItemType.GOLDEN_WAND, 4000000000)); grimulfItems.put(6, new MerchantItemForSale(ItemType.MITHAEM_LEAF, 1400000000)); + + Map<Integer, MerchantItemForSale> ketilItems = Maps.newHashMap(); + ketilItems.put(1, new MerchantItemForSale(ItemType.BEER, 12)); + ketilItems.put(2, new MerchantItemForSale(ItemType.PURPLE_DRANK, 120)); + ketilItems.put(3, new MerchantItemForSale(ItemType.MARIJUANA, 100)); + ketilItems.put(4, new MerchantItemForSale(ItemType.PYAMITE_ICEAXE, 10000000)); + ketilItems.put(5, new MerchantItemForSale(ItemType.STRENGTH_ELIXIR, 3000)); + ketilItems.put(6, new MerchantItemForSale(ItemType.CHRONIC_JOOSE, 5500)); Blacksmith blacksmith = new Blacksmith(gameManager, new Loot(18, 26, Sets.<ItemType>newHashSet()), blacksmithItems); @@ -122,6 +130,9 @@ public class ConfigureNpc { GrimulfWizard grimulfWizard = new GrimulfWizard(gameManager, new Loot(18, 26, Sets.<ItemType>newHashSet()), grimulfItems); gameManager.getRoomManager().addMerchant(102, grimulfWizard); + + KetilCommissary ketilCommissary = new KetilCommissary(gameManager, new Loot(18, 26, Sets.<ItemType>newHashSet()), ketilItems); + gameManager.getRoomManager().addMerchant(420, ketilCommissary); ForageBuilder marijuanaForageBuilder = new ForageBuilder(); marijuanaForageBuilder.setItemType(ItemType.MARIJUANA); -- GitLab