local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)
shopModule:addBuyableItem({'light wand', 'lightwand'}, 2163, 500, 'magic light wand')
shopModule:addBuyableItem({'blank rune'}, 2260, 10, 'blank rune')
shopModule:addBuyableItem({'snakebite'}, 2182, 500, 'snakebite rod')
shopModule:addBuyableItem({'hailstorm'}, 2183, 5000, 'hailstorm rod')
shopModule:addBuyableItem({'inferno'}, 2187, 5000, 'Wand of inferno')
shopModule:addBuyableItem({'decay'}, 2188, 1000, 'wand of decay')
shopModule:addBuyableItem({'terra'}, 2260, 3000, 'terra rod')
shopModule:addBuyableItem({'vortex'}, 2190, 500, 'wand of vortex')
shopModule:addBuyableItem({'dragonbreath'}, 2191, 500, 'wand of dragonbreath')
shopModule:addBuyableItem({'cosmic energy'}, 2189, 3000, 'wand of cosmic energy')
shopModule:addBuyableItem({'moonlight'}, 2186, 500, 'moonlight rod')
shopModule:addBuyableItem({'necrotic'}, 2185, 1000, 'necrotic rod')
doPlayerBuyItemContainer({'bp sd'}, 2003, 2268, 5000, 3, 'Backpack of sudden death')
doPlayerBuyItemContainer({'bp uh'}, 2002, 2273, 2500, 2, 'Backpack of ultimate healing')
doPlayerBuyItemContainer({'bp gfb'}, 2000, 2304, 2000, 4, 'Backpack of great fireball')
doPlayerBuyItemContainer({'bp hmm'}, 2001, 2311, 500, 10, 'Backpack of heavy magic missile')
doPlayerBuyItemContainer({'bp exp'}, 2001, 2313, 3000, 6, 'Backpack of explosion rune')
doPlayerBuyItemContainer({'bp hp'}, 1998, 7618, 500, 1, 'backpack health potion')
doPlayerBuyItemContainer({'bp shp'}, 1998, 7588, 1000, 1, 'Backpack strong health potion')
doPlayerBuyItemContainer({'bp ghp'}, 1998, 7591, 2000, 1, 'Backpack great health potion')
doPlayerBuyItemContainer({'bp ultimate health potion'}, 1998, 8377, 4000, 1, 'Backpack ultimate health potion')
doPlayerBuyItemContainer({'oiuiuppldljh'}, 1998, 7439, 12000, 1, 'Backpack extreme health potion')
doPlayerBuyItemContainer({'gfhgfhgfhgxxzfjthgh'}, 1998, 7440, 12000, 1, 'Backpack holy shock potion')
doPlayerBuyItemContainer({'bp mp'}, 2004, 7620, 500, 1, 'Backpack mana potion')
doPlayerBuyItemContainer({'bp smp'}, 2004, 7589, 1000, 1, 'Backpack strong mana potion')
doPlayerBuyItemContainer({'bp gmp'}, 2004, 7590, 2000, 1, 'Backpack great mana potion')
doPlayerBuyItemContainer({'bp gsp'}, 2004, 8376, 3000, 1, 'Backpack great spirit potion')
doPlayerBuyItemContainer({'bp magic wall'}, 2004, 2293, 2000, 6, 'Backpack of magic walls')
doPlayerBuyItemContainer({'bp fire bombs'}, 2004, 2305, 2000, 6, 'Backpack of fire bomb')
doPlayerBuyItemContainer({'bp destroy field'}, 2003, 2261, 2000, 6, 'Backpack of destroy field')
doPlayerBuyItemContainer({'bp blank'}, 2003, 2260, 200, 1, 'Backpack of blank rune')
npcHandler:addModule(FocusModule:new())