local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
-- OTServ event handling functions start
function onCreatureAppear(cid) npcHandler

nCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler

nCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler

nCreatureSay(cid, type, msg) end
function onThink() npcHandler

nThink() end
-- OTServ event handling functions end
local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)
shopModule:addBuyableItem({'light wand', 'lightwand'}, 2163, 500, 'magic light wand')
shopModule:addBuyableItem({'heavy magic missile'}, 2311, 125, 10, 'heavy magic missile rune')
shopModule:addBuyableItem({'great fireball'}, 2304, 180, 4, 'great fireball rune')
shopModule:addBuyableItem({'explosion'}, 2313, 250, 6, 'explosion rune')
shopModule:addBuyableItem({'ultimate healing'}, 2273, 175, 2, 'ultimate healing rune')
shopModule:addBuyableItem({'sudden death'}, 2268, 325, 2, 'sudden death rune')
shopModule:addBuyableItem({'blank'}, 2260, 10, 'blank rune')
shopModule:buyContainer({'bp sd'}, Backpack, Rune, Prise, Charges, 'Backpack of sudden death')
shopModule:buyContainer({'bp uh'}, 2003, 2273, 1000, 1, 'Backpack of ultimate healing')
shopModule:buyContainer({'bp ih'}, 2003, 2265, 300, 1, 'Backpack of intense healing')
npcHandler:addModule(FocusModule:new())