• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Npc error, please help!

bybbzan

mapper
Joined
Aug 4, 2012
Messages
809
Solutions
2
Reaction score
136
Location
Sweden
Hello, i added some items to my loot seller.
When i turned on my console this error appeared. :blink:

Code:
[21:4:20.695] [Error - NpcScript Interface]
[21:4:20.697] data/npc/scripts/djinnrashid.lua
[21:4:20.699] Description:
[21:4:20.700] data/npc/lib/npcsystem/modules.lua:1136: attempt to index local 'v
' (a boolean value)
[21:4:20.704] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scri
pts/djinnrashid.lua

Lua file
LUA:
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:addSellableItem({'bandana'}, 5917, 150,'bandana')	
shopModule:addSellableItem({'batwing hat'}, 10016, 8000,'batwing hat')	
shopModule:addSellableItem({'bonelord helmet'}, 3972, 7500,'bonelord helmet')
shopModule:addSellableItem({'brass helmet'}, 2460, 30,'brass helmet')
shopModule:addSellableItem({'charmer tiara'}, 3971, 900,'charmer tiara')
shopModule:addSellableItem({'cobra crown'}, 12630, 50000,'cobra crown')	
shopModule:addSellableItem({'crown helmet'}, 2491, 2500,'crown helmet')
shopModule:addSellableItem({'crusader helmet'}, 2497, 6000,'crusader helmet')	
shopModule:addSellableItem({'dark helmet'}, 2490, 250,'dark helmet')		
shopModule:addSellableItem({'devil helmet'}, 2462, 1000,'devil helmet')
shopModule:addSellableItem({'feather headdress'}, 3970, 850,'feather headdress')
shopModule:addSellableItem({'flower wreath'}, 9927, 500,'flower wreath')
shopModule:addSellableItem({'glacier mask'}, 7902, 2500,'glacier mask')
shopModule:addSellableItem({'helmet of the deep'}, 12541, 5000,'helmet of the deep')
shopModule:addSellableItem({'horseman helmet'}, 3969, 280,'horseman helmet')
shopModule:addSellableItem({'iron helmet'}, 2459, 150,'iron helmet')	
shopModule:addSellableItem({'jade hat'}, 11368, 9000,'jade hat')
shopModule:addSellableItem({'krimhorn helmet'}, 7461, 200,'krimhorn helmet')
shopModule:addSellableItem({'lightning headband'}, 7889, 2500,'lightning headband')
shopModule:addSellableItem({'magma monocle'}, 7900, 2500,'magma monocle')
shopModule:addSellableItem({'mystic turban'}, 2663, 150,'mystic turban')
shopModule:addSellableItem({'pair of earmuffs'}, 7459, 1500,'pair of earmuffs')
shopModule:addSellableItem({'ragnir helmet'}, 7462, 400,'ragnir helmet')
shopModule:addSellableItem({'royal helmet'}, 2498, 30000,'royal helmet')
shopModule:addSellableItem({'skull helmet'}, 5741, 40000,'skull helmet')
shopModule:addSellableItem({'soldier helmet'}, 2481, 16,'soldier helmet')
shopModule:addSellableItem({'steel helmet'}, 2457, 293,'steel helmet')
shopModule:addSellableItem({'strange helmet'}, 2479, 500,'strange helmet')
shopModule:addSellableItem({'terra hood'}, 7903, 2500,'terra hood')
shopModule:addSellableItem({'tribal mask'}, 3967, 250,'tribal mask')
shopModule:addSellableItem({'warrior helmet'}, 2475, 5000,'warrior helmet')	
shopModule:addSellableItem({'zaoan helmet'}, 11302, 45000,'zaoan helmet')

shopModule:addSellableItem({'belted cape'}, 8872, 500,'belted cape')
shopModule:addSellableItem({'blue robe'}, 2656, 10000,'blue robe')
shopModule:addSellableItem({'brass armor'}, 2465, 150,'brass armor')
shopModule:addSellableItem({'crown armor'}, 2487, 12000,'crown armor')
shopModule:addSellableItem({'crystalline armor'}, 8878, 16000,'crystalline armor')
shopModule:addSellableItem({'dark armor'}, 2489, 400,'dark armor')
shopModule:addSellableItem({'divine plate'}, 8885, 55000, 1, 'divine plate')
shopModule:addSellableItem({'dragon scale mail'}, 2492, 40000,'dragon scale mail')
shopModule:addSellableItem({'dwarven armor'}, 2503, 30000,'dwarven armor')
shopModule:addSellableItem({'ethno coat'}, 8892, 200,'ethno coat')
shopModule:addSellableItem({'flower dress'}, 9929, 1000,'flower dress')
shopModule:addSellableItem({'frozen plate'}, 8887, 100000, 1, 'frozen plate')
shopModule:addSellableItem({'focus cape'}, 8871, 6000,'focus cape')
shopModule:addSellableItem({'glacier robe'}, 7897, 11000,'glacier robe')
shopModule:addSellableItem({'golden armor'}, 2466, 20000,'golden armor')
shopModule:addSellableItem({'hibiscus dress'}, 8873, 3000,'hibiscus dress')
shopModule:addSellableItem({'knight armor'}, 2476, 5000,'knight armor')
shopModule:addSellableItem({'lavos armor'}, 8877, 16000,'lavos armor')
shopModule:addSellableItem({'leopard armor'}, 3968, 1000,'leopard armor')
shopModule:addSellableItem({'lightning robe'}, 7898, 11000,'lightning robe')
shopModule:addSellableItem({'magic plate armor'}, 2472, 90000,'magic plate armor')
shopModule:addSellableItem({'magma coat'}, 7899, 11000,'magma coat')
shopModule:addSellableItem({'mammoth fur cape'}, 7463, 6000,'mammoth fur cape')
shopModule:addSellableItem({'noble armor'}, 2486, 900,'noble armor')
shopModule:addSellableItem({'paladin armor'}, 8891, 15000,'paladin armor')
shopModule:addSellableItem({'pirate shirt'}, 6095, 500,'pirate shirt')
shopModule:addSellableItem({'plate armor'}, 2463, 400,'plate armor')
shopModule:addSellableItem({'scale armor'}, 2483, 75,'scale armor')	
shopModule:addSellableItem({'skullcracker armor'}, 8889, 18000,'skullcracker armor')
shopModule:addSellableItem({'spellweaver robe'}, 11355, 12000,'spellweaver robe')
shopModule:addSellableItem({'spirit cloak'}, 8870, 350,'spirit cloak')
shopModule:addSellableItem({'terra mantle'}, 7884, 11000,'terra mantle')
shopModule:addSellableItem({'swamplair armor'}, 8880, 16000,'swamplair armor')
shopModule:addSellableItem({'zaoan armor'}, 11301, 14000,'zaoan armor')
shopModule:addSellableItem({'zaoan robe'}, 11356, 12000,'zaoan robe')
shopModule:addSellableItem({'royal scale robe'}, 12643, 100000, 1, 'royal scale robe')
shopModule:addSellableItem({'elite draken mail'}, 12607, 50000,'elite draken mail')
shopModule:addSellableItem({'royal draken mail'}, 12642, 150000, 1, 'royal draken mail')
shopModule:addSellableItem({'windborn colossus armor'}, 8883, 50000, 1, 'windborn colossus armor')

shopModule:addSellableItem({'bast skirt'}, 3983, 750,'bast skirt')	
shopModule:addSellableItem({'brass legs'}, 2478, 49,'brass legs')
shopModule:addSellableItem({'crown legs'}, 2488, 12000,'crown legs')
shopModule:addSellableItem({'glacier kilt'}, 7896, 11000,'glacier kilt')
shopModule:addSellableItem({'golden legs'}, 2470, 30000,'golden legs')
shopModule:addSellableItem({'knight legs'}, 2477, 5000,'knight legs')
shopModule:addSellableItem({'leaf legs'}, 9928, 500,'leaf legs')
shopModule:addSellableItem({'lightning legs'}, 7895, 11000,'lightning legs')
shopModule:addSellableItem({'magma legs'}, 7894, 11000,'magma legs')
shopModule:addSellableItem({'mammoth fur shorts'}, 7464, 850,'mammoth fur shorts')
shopModule:addSellableItem({'pirate knee breeches'}, 5918, 200,'pirate knee breeches')
shopModule:addSellableItem({'plate legs'}, 2647, 115,'plate legs')
shopModule:addSellableItem({'terra legs'}, 7885, 11000,'terra legs')
shopModule:addSellableItem({'zaoan legs'}, 11304, 14000,'zaoan legs')
shopModule:addSellableItem({'ornate legs'}, 15412, 2500000,'ornate legs')
shopModule:addSellableItem({'gill legs'}, 18400, 1500000,'gill legs')
shopModule:addSellableItem({'prismatic legs'}, 18405, 1500000,'prismatic legs')
shopModule:addSellableItem({'depth ocrea'}, 15409, 1000000,'depth ocrea')
shopModule:addSellableItem({'grasshopper legs'}, 15490, 15000,'grasshopper legs')

shopModule:addSellableItem({'boots of haste'}, 2195, 30000,'boots of haste')
shopModule:addSellableItem({'coconut shoes'}, 9931, 500,'coconut shoes')
shopModule:addSellableItem({'crocodile boots'}, 3982, 1000,'crocodile boots')
shopModule:addSellableItem({'draken boots'}, 12646, 40000,'draken boots')
shopModule:addSellableItem({'fur boots'}, 7457, 2000,'fur boots')
shopModule:addSellableItem({'glacier shoes'}, 7892, 2500,'glacier shoes')
shopModule:addSellableItem({'guardian boots'}, 11240, 35000,'guardian boots')
shopModule:addSellableItem({'lightning boots'}, 7893, 2500,'lightning boots')
shopModule:addSellableItem({'magma boots'}, 7891, 2500,'magma boots')
shopModule:addSellableItem({'pirate boots'}, 5462, 3000,'pirate boots')
shopModule:addSellableItem({'steel boots'}, 2645, 30000,'steel boots')
shopModule:addSellableItem({'terra boots'}, 7886, 2500,'terra boots')
shopModule:addSellableItem({'zaoan shoes'}, 11303, 5000,'zaoan shoes')
shopModule:addSellableItem({'crystal boots'}, 11117, 500000,'crystal boots')
shopModule:addSellableItem({'patched boots'}, 2641, 2000,'patched boots')
shopModule:addSellableItem({'depth calcei'}, 15410, 250000,'depth calcei')
shopModule:addSellableItem({'prismatic boots'}, 18406, 375000,'prismatic boots')

shopModule:addSellableItem({'ancient shield'}, 2532, 900,'ancient shield')
shopModule:addSellableItem({'shield of corruption'}, 12644, 500000,'shield of corruption')
shopModule:addSellableItem({'battle shield'}, 2513, 95,'battle shield')
shopModule:addSellableItem({'black shield'}, 2529, 800,'black shield')
shopModule:addSellableItem({'bone shield'}, 2541, 80,'bone shield')
shopModule:addSellableItem({'bonelord shield'}, 2518, 1200,'bonelord shield')
shopModule:addSellableItem({'castle shield'}, 2535, 5000,'castle shield')
shopModule:addSellableItem({'depth scutum'}, 15411, 32000,'depth scutum')
shopModule:addSellableItem({'copper shield'}, 2530, 50,'copper shield')
shopModule:addSellableItem({'crown shield'}, 2519, 8000,'crown shield')
shopModule:addSellableItem({'dark shield'}, 2521, 400,'dark shield')
shopModule:addSellableItem({'demon shield'}, 2520, 30000,'demon shield')
shopModule:addSellableItem({'dragon shield'}, 2516, 4000,'dragon shield')
shopModule:addSellableItem({'dwarven shield'}, 2525, 100,'dwarven shield')
shopModule:addSellableItem({'guardian shield'}, 2515, 2000,'guardian shield')
shopModule:addSellableItem({'mastermind shield'}, 2514, 50000,'mastermind shield')
shopModule:addSellableItem({'medusa shield'}, 2536, 9000,'medusa shield')
shopModule:addSellableItem({'norse shield'}, 7460, 1500,'norse shield')
shopModule:addSellableItem({'phoenix shield'}, 2539, 16000,'phoenix shield')
shopModule:addSellableItem({'salamander shield'}, 3975, 280,'salamander shield')
shopModule:addSellableItem({'scarab shield'}, 2540, 2000,'scarab shield')
shopModule:addSellableItem({'sentinel shield'}, 3974, 120,'sentinel shield')
shopModule:addSellableItem({'tempest shield'}, 2542, 35000,'tempest shield')
shopModule:addSellableItem({'tortoise shield'}, 6131, 150,'tortoise shield')
shopModule:addSellableItem({'tower shield'}, 2528, 8000,'tower shield')
shopModule:addSellableItem({'tusk shield'}, 3973, 850,'tusk shield')
shopModule:addSellableItem({'vampire shield'}, 2534, 15000,'vampire shield')
shopModule:addSellableItem({'prismatic shield'}, 18410, 250000,'prismatic shield')
shopModule:addSellableItem({'ornate shield'}, 154113, 500000,'ornate shield')
shopModule:addSellableItem({'carapace shield'}, 15491, 64000,'carapace shield')

shopModule:addSellableItem({'spellbook of enlightenment'}, 8900, 4000,'spellbook of enlightenment')
shopModule:addSellableItem({'spellbook of lost souls'}, 8903, 19000,'spellbook of lost souls')
shopModule:addSellableItem({'spellbook of mind control'}, 8902, 13000,'spellbook of mind control')
shopModule:addSellableItem({'spellbook of warding'}, 8901, 8000,'spellbook of warding')

shopModule:addSellableItem({'angelic axe'}, 7436, 5000,'angelic axe')
shopModule:addSellableItem({'barbarian axe'}, 7749, 185,'barbarian axe')
shopModule:addSellableItem({'beastslayer axe'}, 3962, 1500,'beastslayer axe')
shopModule:addSellableItem({'butcher axe'}, 7412, 18000,'butcher axe')
shopModule:addSellableItem({'daramanian waraxe'}, 2440, 1000,'daramanian waraxe')
shopModule:addSellableItem({'double axe'}, 2387, 260,'double axe')
shopModule:addSellableItem({'dragon lance'}, 2414, 9000,'dragon lance')
shopModule:addSellableItem({'drakinata'}, 11305, 10000,'drakinata')
shopModule:addSellableItem({'dreaded clever'}, 7419, 15000,'dreaded clever')
shopModule:addSellableItem({'fire axe'}, 2432, 8000,'fire axe')
shopModule:addSellableItem({'glorious axe'}, 7454, 3000,'glorious axe')
shopModule:addSellableItem({'guardian halberd'}, 2427, 11000,'guardian halberd')
shopModule:addSellableItem({'halberd'}, 2381, 400,'halberd')
shopModule:addSellableItem({'heroic axe'}, 7389, 30000,'heroic axe')
shopModule:addSellableItem({'knight axe'}, 7750, 2000,'knight axe')
shopModule:addSellableItem({'naginata'}, 2426, 2000,'naginata')
shopModule:addSellableItem({'noble axe'}, 7456, 10000,'noble axe')
shopModule:addSellableItem({'obsidian lance'}, 2425, 500,'obsidian lance')
shopModule:addSellableItem({'ornamented axe'}, 7411, 20000,'ornamented axe')
shopModule:addSellableItem({'ripper lance'}, 3964, 500,'ripper lance')
shopModule:addSellableItem({'ruthless axe'}, 6553, 45000,'ruthless axe')
shopModule:addSellableItem({'titan axe'}, 7413, 4000,'titan axe')
shopModule:addSellableItem({'vile axe'}, 7388, 30000,'vile axe')
shopModule:addSellableItem({'war axe'}, 7878, 12000,'war axe')
shopModule:addSellableItem({'zaoan halberd'}, 11323, 500,'zaoan halberd')
shopModule:addSellableItem({'deepling axe'}, 15404, 50000,'deepling axe')
shopModule:addSellableItem({'mythril axe'}, 7455, 62500,'mythril axe')
shopModule:addSellableItem({'hive scythe'}, 15492, 17000,'hive scythe')
shopModule:addSellableItem({'ravenwing'}, 7433, 40000,'ravenwing')
shopModule:addSellableItem({'heavy trident'}, 13838, 2000,'heavy trident')
shopModule:addSellableItem({'warrior\'s axe'}, 15451, 11000,'warrior\'s axe')
shopModule:addSellableItem({'crystalline axe'}, 18451, 1000000,'crystalline axe')

shopModule:addSellableItem({'amber staff'}, 7426, 8000,'amber staff')
shopModule:addSellableItem({'banana staff'}, 3966, 1000,'banana staff')
shopModule:addSellableItem({'battle hammer'}, 2417, 120,'battle hammer')
shopModule:addSellableItem({'bonebreaker'}, 7428, 10000,'bonebreaker')
shopModule:addSellableItem({'brutetamer staff'}, 7379, 1500,'brutetamer staff')
shopModule:addSellableItem({'chaos mace'}, 7427, 9000,'chaos mace')
shopModule:addSellableItem({'clerical mace'}, 7754, 170,'clerical mace')
shopModule:addSellableItem({'cranial basher'}, 7756, 30000,'cranial basher')
shopModule:addSellableItem({'daramanian mace'}, 2439, 500,'daramanian mace')
shopModule:addSellableItem({'diamond sceptre'}, 7387, 3000,'diamond sceptre')
shopModule:addSellableItem({'drachaku'}, 11308, 10000,'drachaku')
shopModule:addSellableItem({'dragon hammer'}, 2434, 2000,'dragon hammer')
shopModule:addSellableItem({'dragonbone staff'}, 7430, 3000,'dragonbone staff')
shopModule:addSellableItem({'furry club'}, 7432, 1000,'furry club')
shopModule:addSellableItem({'giant smithhammer'}, 2321, 250,'giant smithhammer')
shopModule:addSellableItem({'hammer of wrath'}, 2444, 30000,'hammer of wrath')
shopModule:addSellableItem({'heavy mace'}, 2452, 50000,'heavy mace')
shopModule:addSellableItem({'jade hammer'}, 7422, 25000,'jade hammer')
shopModule:addSellableItem({'lunar staff'}, 7424, 5000,'lunar staff')	
shopModule:addSellableItem({'mammoth whopper'}, 7381, 300,'mammoth whopper')
shopModule:addSellableItem({'morning star'}, 2394, 100,'morning star')
shopModule:addSellableItem({'onyx flail'}, 7421, 22000,'onyx flail')
shopModule:addSellableItem({'queen sceptre'}, 7410, 20000,'queen sceptre')
shopModule:addSellableItem({'sapphire hammer'}, 7437, 7000,'sapphire hammer')
shopModule:addSellableItem({'shadow sceptre'}, 7451, 10000,'shadow sceptre')
shopModule:addSellableItem({'skull staff'}, 2436, 6000,'skull staff')
shopModule:addSellableItem({'spiked squelcher'}, 7452, 5000,'spiked squelcher')
shopModule:addSellableItem({'taurus mace'}, 7425, 500,'taurus mace')
shopModule:addSellableItem({'war hammer'}, 2391, 1200,'war hammer')
shopModule:addSellableItem({'mycological mace'}, 18452, 2000000, 'mycological mace')
shopModule:addSellableItem({'ornate mace'}, 15414, 500000, 'ornate mace')
shopModule:addSellableItem({'snake god\'s sceptre'}, 12648, 750000, 'snake god\'s sceptre')
shopModule:addSellableItem({'deepling squelcher'}, 15647, 7000, 'deepling squelcher')
shopModule:addSellableItem({'deepling staff'}, 15400, 4000, 'deepling staff')

shopModule:addSellableItem({'assassin dagger'}, 7404, 20000,'assassin dagger')
shopModule:addSellableItem({'berserker'}, 7403, 40000,'berserker')
shopModule:addSellableItem({'broadsword'}, 2413, 500,'broadsword')
shopModule:addSellableItem({'crystal sword'}, 7449, 600,'crystal sword')
shopModule:addSellableItem({'demonrage sword'}, 7382, 36000,'demonrage sword')
shopModule:addSellableItem({'djinn blade'}, 2451, 15000,'djinn blade')
shopModule:addSellableItem({'dragon slayer'}, 7402, 15000,'dragon slayer')
shopModule:addSellableItem({'epee'}, 2438, 8000,'epee')
shopModule:addSellableItem({'fire sword'}, 2392, 4000,'fire sword')
shopModule:addSellableItem({'giant sword'}, 2393, 17000,'giant sword')
shopModule:addSellableItem({'haunted blade'}, 7407, 8000,'haunted blade')
shopModule:addSellableItem({'heavy machete'}, 2442, 90,'heavy machete')
shopModule:addSellableItem({'ice rapier'}, 2396, 1000,'ice rapier')	
shopModule:addSellableItem({'mercenary sword'}, 7386, 12000,'mercenary sword')
shopModule:addSellableItem({'mystic blade'}, 7384, 30000,'mystic blade')
shopModule:addSellableItem({'nightmare blade'}, 7418, 35000,'nightmare blade')
shopModule:addSellableItem({'pharoah sword'}, 2446, 23000,'pharoah sword')
shopModule:addSellableItem({'poison dagger'}, 2411, 50,'poison dagger')
shopModule:addSellableItem({'relic sword'}, 7383, 25000,'relic sword')
shopModule:addSellableItem({'sais'}, 11306, 16500,'sais')
shopModule:addSellableItem({'scimitar'}, 2419, 150,'scimitar')
shopModule:addSellableItem({'serpent sword'}, 2409, 900,'serpent sword')
shopModule:addSellableItem({'silver dagger'}, 2402, 500,'silver dagger')
shopModule:addSellableItem({'spike sword'}, 2383, 1000,'spike sword')
shopModule:addSellableItem({'templar scytheblade'}, 3963, 200,'templar scytheblade')
shopModule:addSellableItem({'thaian sword'}, 7391, 16000,'thaian sword')
shopModule:addSellableItem({'twiceslicer'}, 12613, 28000,'twiceslicer')
shopModule:addSellableItem({'twin hooks'}, 11309, 500,'twin hooks')
shopModule:addSellableItem({'two handed sword'}, 2377, 450,'two handed sword')
shopModule:addSellableItem({'wyvern fang'}, 7408, 1500,'wyvern fang')
shopModule:addSellableItem({'zaoan sword'}, 11307, 30000,'zaoan sword')
shopModule:addSellableItem({'magic long sword'}, 2390, 1250000, 'magic long sword')
shopModule:addSellableItem({'the epiphany'}, 8931, 1125000, 'the epiphany')
shopModule:addSellableItem({'shiny blade'}, 18465, 1250000, 'shiny blade')
shopModule:addSellableItem({'blade of corruption'}, 12649, 60000, 'blade of corruption')
shopModule:addSellableItem({'the justice seeker'}, 7405, 40000, 'the justice seeker')
shopModule:addSellableItem({'the avenger'}, 6528, 62500, 'the avenger')
shopModule:addSellableItem({'crystalline sword'}, 18450, 75000, 'crystalline sword')

shopModule:addSellableItem({'hailstorm'}, 2183, 3000,'hailstorm rod')
shopModule:addSellableItem({'moonlight'}, 2186, 200,'moonlight rod')
shopModule:addSellableItem({'necrotic'}, 2185, 1000,'necrotic rod')
shopModule:addSellableItem({'northwind'}, 8911, 1500,'northwind rod')
shopModule:addSellableItem({'springsprout'}, 8912, 3600,'springsprout rod')
shopModule:addSellableItem({'terra'}, 2181, 2000,'terra rod')
shopModule:addSellableItem({'underworld'}, 8910, 4400,'underworld rod')

shopModule:addSellableItem({'cosmic energy'}, 2189, 2000,'wand of cosmic energy')
shopModule:addSellableItem({'decay'}, 2188, 1000,'wand of decay')
shopModule:addSellableItem({'draconia'}, 8921, 1500,'wand of draconia')
shopModule:addSellableItem({'dragonbreath'}, 2191, 200,'wand of dragonbreath')
shopModule:addSellableItem({'inferno'}, 2187, 3000,'wand of inferno')
shopModule:addSellableItem({'starstorm'}, 8920, 3600,'wand of starstorm')
shopModule:addSellableItem({'voodoo'}, 8922, 4400,'wand of voodoo')

shopModule:addSellableItem({'Ruby Necklace'}, 2133, 2000,'Ruby Necklace')
shopModule:addSellableItem({'Beetle Necklace'}, 11374, 1500,'Beetle Necklace')
shopModule:addSellableItem({'Demonbone Amulet'}, 14333, 32000,'demonbone Amulet')
shopModule:addSellableItem({'Golden Amulet'}, 2130, 2000,'Golden Amulet')
shopModule:addSellableItem({'Platinum Amulet'}, 2171, 2500,'Platinum Amulet')
shopModule:addSellableItem({'Amulet of loss'}, 2173, 45000,'Amulet of loss')
shopModule:addSellableItem({'Glacier amulet'}, 7888, 1500,'Glacier amulet')
shopModule:addSellableItem({'Leviathan/s amulet'}, 10220, 3000,'Leviathan/s amulet')
shopModule:addSellableItem({'Lightning pendant'}, 7889, 1500,'Lightning pendant')
shopModule:addSellableItem({'Magma amulet'}, 7890, 1500,'Magma amulet')
shopModule:addSellableItem({'Sacred Tree Amulet'}, 10219, 3000,'Sacred Tree Amulet')
shopModule:addSellableItem({'Shockwave Amulet'}, 10221, 3000,'Shockwave Amulet')
shopModule:addSellableItem({'Stone Skin Amulet'}, 2197, 500,'Stone Skin Amulet')
shopModule:addSellableItem({'Terra Amulet'}, 7887, 1500,'Terra Amulet')
shopModule:addSellableItem({'Gill Necklace'}, 18402, 10000, 'Gill Necklace')
shopModule:addSellableItem({'ring of the sky'}, 2123, 12000,'ring of the sky')
shopModule:addSellableItem({'gold ring'}, 2179, 8000,'gold ring')
shopModule:addSellableItem({'death ring'}, 6300, 1000,'death ring')

npcHandler:addModule(FocusModule:new())

Thanks in advance!
 
Try:

LUA:
local keywordHandler = KeywordHandler:new() 
local npcHandler = NpcHandler:new(keywordHandler) 
NpcSystem.parseParameters(npcHandler) 
local talkState = {} 
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:addSellableItem({'bandana'}, 5917, 150,'bandana')	
shopModule:addSellableItem({'batwing hat'}, 10016, 8000,'batwing hat')	
shopModule:addSellableItem({'bonelord helmet'}, 3972, 7500,'bonelord helmet')
shopModule:addSellableItem({'brass helmet'}, 2460, 30,'brass helmet')
shopModule:addSellableItem({'charmer tiara'}, 3971, 900,'charmer tiara')
shopModule:addSellableItem({'cobra crown'}, 12630, 50000,'cobra crown')	
shopModule:addSellableItem({'crown helmet'}, 2491, 2500,'crown helmet')
shopModule:addSellableItem({'crusader helmet'}, 2497, 6000,'crusader helmet')	
shopModule:addSellableItem({'dark helmet'}, 2490, 250,'dark helmet')		
shopModule:addSellableItem({'devil helmet'}, 2462, 1000,'devil helmet')
shopModule:addSellableItem({'feather headdress'}, 3970, 850,'feather headdress')
shopModule:addSellableItem({'flower wreath'}, 9927, 500,'flower wreath')
shopModule:addSellableItem({'glacier mask'}, 7902, 2500,'glacier mask')
shopModule:addSellableItem({'helmet of the deep'}, 12541, 5000,'helmet of the deep')
shopModule:addSellableItem({'horseman helmet'}, 3969, 280,'horseman helmet')
shopModule:addSellableItem({'iron helmet'}, 2459, 150,'iron helmet')	
shopModule:addSellableItem({'jade hat'}, 11368, 9000,'jade hat')
shopModule:addSellableItem({'krimhorn helmet'}, 7461, 200,'krimhorn helmet')
shopModule:addSellableItem({'lightning headband'}, 7889, 2500,'lightning headband')
shopModule:addSellableItem({'magma monocle'}, 7900, 2500,'magma monocle')
shopModule:addSellableItem({'mystic turban'}, 2663, 150,'mystic turban')
shopModule:addSellableItem({'pair of earmuffs'}, 7459, 1500,'pair of earmuffs')
shopModule:addSellableItem({'ragnir helmet'}, 7462, 400,'ragnir helmet')
shopModule:addSellableItem({'royal helmet'}, 2498, 30000,'royal helmet')
shopModule:addSellableItem({'skull helmet'}, 5741, 40000,'skull helmet')
shopModule:addSellableItem({'soldier helmet'}, 2481, 16,'soldier helmet')
shopModule:addSellableItem({'steel helmet'}, 2457, 293,'steel helmet')
shopModule:addSellableItem({'strange helmet'}, 2479, 500,'strange helmet')
shopModule:addSellableItem({'terra hood'}, 7903, 2500,'terra hood')
shopModule:addSellableItem({'tribal mask'}, 3967, 250,'tribal mask')
shopModule:addSellableItem({'warrior helmet'}, 2475, 5000,'warrior helmet')	
shopModule:addSellableItem({'zaoan helmet'}, 11302, 45000,'zaoan helmet')
 
shopModule:addSellableItem({'belted cape'}, 8872, 500,'belted cape')
shopModule:addSellableItem({'blue robe'}, 2656, 10000,'blue robe')
shopModule:addSellableItem({'brass armor'}, 2465, 150,'brass armor')
shopModule:addSellableItem({'crown armor'}, 2487, 12000,'crown armor')
shopModule:addSellableItem({'crystalline armor'}, 8878, 16000,'crystalline armor')
shopModule:addSellableItem({'dark armor'}, 2489, 400,'dark armor')
shopModule:addSellableItem({'divine plate'}, 8885, 55000, 1, 'divine plate')
shopModule:addSellableItem({'dragon scale mail'}, 2492, 40000,'dragon scale mail')
shopModule:addSellableItem({'dwarven armor'}, 2503, 30000,'dwarven armor')
shopModule:addSellableItem({'ethno coat'}, 8892, 200,'ethno coat')
shopModule:addSellableItem({'flower dress'}, 9929, 1000,'flower dress')
shopModule:addSellableItem({'frozen plate'}, 8887, 100000, 1, 'frozen plate')
shopModule:addSellableItem({'focus cape'}, 8871, 6000,'focus cape')
shopModule:addSellableItem({'glacier robe'}, 7897, 11000,'glacier robe')
shopModule:addSellableItem({'golden armor'}, 2466, 20000,'golden armor')
shopModule:addSellableItem({'hibiscus dress'}, 8873, 3000,'hibiscus dress')
shopModule:addSellableItem({'knight armor'}, 2476, 5000,'knight armor')
shopModule:addSellableItem({'lavos armor'}, 8877, 16000,'lavos armor')
shopModule:addSellableItem({'leopard armor'}, 3968, 1000,'leopard armor')
shopModule:addSellableItem({'lightning robe'}, 7898, 11000,'lightning robe')
shopModule:addSellableItem({'magic plate armor'}, 2472, 90000,'magic plate armor')
shopModule:addSellableItem({'magma coat'}, 7899, 11000,'magma coat')
shopModule:addSellableItem({'mammoth fur cape'}, 7463, 6000,'mammoth fur cape')
shopModule:addSellableItem({'noble armor'}, 2486, 900,'noble armor')
shopModule:addSellableItem({'paladin armor'}, 8891, 15000,'paladin armor')
shopModule:addSellableItem({'pirate shirt'}, 6095, 500,'pirate shirt')
shopModule:addSellableItem({'plate armor'}, 2463, 400,'plate armor')
shopModule:addSellableItem({'scale armor'}, 2483, 75,'scale armor')	
shopModule:addSellableItem({'skullcracker armor'}, 8889, 18000,'skullcracker armor')
shopModule:addSellableItem({'spellweaver robe'}, 11355, 12000,'spellweaver robe')
shopModule:addSellableItem({'spirit cloak'}, 8870, 350,'spirit cloak')
shopModule:addSellableItem({'terra mantle'}, 7884, 11000,'terra mantle')
shopModule:addSellableItem({'swamplair armor'}, 8880, 16000,'swamplair armor')
shopModule:addSellableItem({'zaoan armor'}, 11301, 14000,'zaoan armor')
shopModule:addSellableItem({'zaoan robe'}, 11356, 12000,'zaoan robe')
shopModule:addSellableItem({'royal scale robe'}, 12643, 100000, 1, 'royal scale robe')
shopModule:addSellableItem({'elite draken mail'}, 12607, 50000,'elite draken mail')
shopModule:addSellableItem({'royal draken mail'}, 12642, 150000, 1, 'royal draken mail')
shopModule:addSellableItem({'windborn colossus armor'}, 8883, 50000, 1, 'windborn colossus armor')
 
shopModule:addSellableItem({'bast skirt'}, 3983, 750,'bast skirt')	
shopModule:addSellableItem({'brass legs'}, 2478, 49,'brass legs')
shopModule:addSellableItem({'crown legs'}, 2488, 12000,'crown legs')
shopModule:addSellableItem({'glacier kilt'}, 7896, 11000,'glacier kilt')
shopModule:addSellableItem({'golden legs'}, 2470, 30000,'golden legs')
shopModule:addSellableItem({'knight legs'}, 2477, 5000,'knight legs')
shopModule:addSellableItem({'leaf legs'}, 9928, 500,'leaf legs')
shopModule:addSellableItem({'lightning legs'}, 7895, 11000,'lightning legs')
shopModule:addSellableItem({'magma legs'}, 7894, 11000,'magma legs')
shopModule:addSellableItem({'mammoth fur shorts'}, 7464, 850,'mammoth fur shorts')
shopModule:addSellableItem({'pirate knee breeches'}, 5918, 200,'pirate knee breeches')
shopModule:addSellableItem({'plate legs'}, 2647, 115,'plate legs')
shopModule:addSellableItem({'terra legs'}, 7885, 11000,'terra legs')
shopModule:addSellableItem({'zaoan legs'}, 11304, 14000,'zaoan legs')
shopModule:addSellableItem({'ornate legs'}, 15412, 2500000,'ornate legs')
shopModule:addSellableItem({'gill legs'}, 18400, 1500000,'gill legs')
shopModule:addSellableItem({'prismatic legs'}, 18405, 1500000,'prismatic legs')
shopModule:addSellableItem({'depth ocrea'}, 15409, 1000000,'depth ocrea')
shopModule:addSellableItem({'grasshopper legs'}, 15490, 15000,'grasshopper legs')
 
shopModule:addSellableItem({'boots of haste'}, 2195, 30000,'boots of haste')
shopModule:addSellableItem({'coconut shoes'}, 9931, 500,'coconut shoes')
shopModule:addSellableItem({'crocodile boots'}, 3982, 1000,'crocodile boots')
shopModule:addSellableItem({'draken boots'}, 12646, 40000,'draken boots')
shopModule:addSellableItem({'fur boots'}, 7457, 2000,'fur boots')
shopModule:addSellableItem({'glacier shoes'}, 7892, 2500,'glacier shoes')
shopModule:addSellableItem({'guardian boots'}, 11240, 35000,'guardian boots')
shopModule:addSellableItem({'lightning boots'}, 7893, 2500,'lightning boots')
shopModule:addSellableItem({'magma boots'}, 7891, 2500,'magma boots')
shopModule:addSellableItem({'pirate boots'}, 5462, 3000,'pirate boots')
shopModule:addSellableItem({'steel boots'}, 2645, 30000,'steel boots')
shopModule:addSellableItem({'terra boots'}, 7886, 2500,'terra boots')
shopModule:addSellableItem({'zaoan shoes'}, 11303, 5000,'zaoan shoes')
shopModule:addSellableItem({'crystal boots'}, 11117, 500000,'crystal boots')
shopModule:addSellableItem({'patched boots'}, 2641, 2000,'patched boots')
shopModule:addSellableItem({'depth calcei'}, 15410, 250000,'depth calcei')
shopModule:addSellableItem({'prismatic boots'}, 18406, 375000,'prismatic boots')
 
shopModule:addSellableItem({'ancient shield'}, 2532, 900,'ancient shield')
shopModule:addSellableItem({'shield of corruption'}, 12644, 500000,'shield of corruption')
shopModule:addSellableItem({'battle shield'}, 2513, 95,'battle shield')
shopModule:addSellableItem({'black shield'}, 2529, 800,'black shield')
shopModule:addSellableItem({'bone shield'}, 2541, 80,'bone shield')
shopModule:addSellableItem({'bonelord shield'}, 2518, 1200,'bonelord shield')
shopModule:addSellableItem({'castle shield'}, 2535, 5000,'castle shield')
shopModule:addSellableItem({'depth scutum'}, 15411, 32000,'depth scutum')
shopModule:addSellableItem({'copper shield'}, 2530, 50,'copper shield')
shopModule:addSellableItem({'crown shield'}, 2519, 8000,'crown shield')
shopModule:addSellableItem({'dark shield'}, 2521, 400,'dark shield')
shopModule:addSellableItem({'demon shield'}, 2520, 30000,'demon shield')
shopModule:addSellableItem({'dragon shield'}, 2516, 4000,'dragon shield')
shopModule:addSellableItem({'dwarven shield'}, 2525, 100,'dwarven shield')
shopModule:addSellableItem({'guardian shield'}, 2515, 2000,'guardian shield')
shopModule:addSellableItem({'mastermind shield'}, 2514, 50000,'mastermind shield')
shopModule:addSellableItem({'medusa shield'}, 2536, 9000,'medusa shield')
shopModule:addSellableItem({'norse shield'}, 7460, 1500,'norse shield')
shopModule:addSellableItem({'phoenix shield'}, 2539, 16000,'phoenix shield')
shopModule:addSellableItem({'salamander shield'}, 3975, 280,'salamander shield')
shopModule:addSellableItem({'scarab shield'}, 2540, 2000,'scarab shield')
shopModule:addSellableItem({'sentinel shield'}, 3974, 120,'sentinel shield')
shopModule:addSellableItem({'tempest shield'}, 2542, 35000,'tempest shield')
shopModule:addSellableItem({'tortoise shield'}, 6131, 150,'tortoise shield')
shopModule:addSellableItem({'tower shield'}, 2528, 8000,'tower shield')
shopModule:addSellableItem({'tusk shield'}, 3973, 850,'tusk shield')
shopModule:addSellableItem({'vampire shield'}, 2534, 15000,'vampire shield')
shopModule:addSellableItem({'prismatic shield'}, 18410, 250000,'prismatic shield')
shopModule:addSellableItem({'ornate shield'}, 154113, 500000,'ornate shield')
shopModule:addSellableItem({'carapace shield'}, 15491, 64000,'carapace shield')
 
shopModule:addSellableItem({'spellbook of enlightenment'}, 8900, 4000,'spellbook of enlightenment')
shopModule:addSellableItem({'spellbook of lost souls'}, 8903, 19000,'spellbook of lost souls')
shopModule:addSellableItem({'spellbook of mind control'}, 8902, 13000,'spellbook of mind control')
shopModule:addSellableItem({'spellbook of warding'}, 8901, 8000,'spellbook of warding')
 
shopModule:addSellableItem({'angelic axe'}, 7436, 5000,'angelic axe')
shopModule:addSellableItem({'barbarian axe'}, 7749, 185,'barbarian axe')
shopModule:addSellableItem({'beastslayer axe'}, 3962, 1500,'beastslayer axe')
shopModule:addSellableItem({'butcher axe'}, 7412, 18000,'butcher axe')
shopModule:addSellableItem({'daramanian waraxe'}, 2440, 1000,'daramanian waraxe')
shopModule:addSellableItem({'double axe'}, 2387, 260,'double axe')
shopModule:addSellableItem({'dragon lance'}, 2414, 9000,'dragon lance')
shopModule:addSellableItem({'drakinata'}, 11305, 10000,'drakinata')
shopModule:addSellableItem({'dreaded clever'}, 7419, 15000,'dreaded clever')
shopModule:addSellableItem({'fire axe'}, 2432, 8000,'fire axe')
shopModule:addSellableItem({'glorious axe'}, 7454, 3000,'glorious axe')
shopModule:addSellableItem({'guardian halberd'}, 2427, 11000,'guardian halberd')
shopModule:addSellableItem({'halberd'}, 2381, 400,'halberd')
shopModule:addSellableItem({'heroic axe'}, 7389, 30000,'heroic axe')
shopModule:addSellableItem({'knight axe'}, 7750, 2000,'knight axe')
shopModule:addSellableItem({'naginata'}, 2426, 2000,'naginata')
shopModule:addSellableItem({'noble axe'}, 7456, 10000,'noble axe')
shopModule:addSellableItem({'obsidian lance'}, 2425, 500,'obsidian lance')
shopModule:addSellableItem({'ornamented axe'}, 7411, 20000,'ornamented axe')
shopModule:addSellableItem({'ripper lance'}, 3964, 500,'ripper lance')
shopModule:addSellableItem({'ruthless axe'}, 6553, 45000,'ruthless axe')
shopModule:addSellableItem({'titan axe'}, 7413, 4000,'titan axe')
shopModule:addSellableItem({'vile axe'}, 7388, 30000,'vile axe')
shopModule:addSellableItem({'war axe'}, 7878, 12000,'war axe')
shopModule:addSellableItem({'zaoan halberd'}, 11323, 500,'zaoan halberd')
shopModule:addSellableItem({'deepling axe'}, 15404, 50000,'deepling axe')
shopModule:addSellableItem({'mythril axe'}, 7455, 62500,'mythril axe')
shopModule:addSellableItem({'hive scythe'}, 15492, 17000,'hive scythe')
shopModule:addSellableItem({'ravenwing'}, 7433, 40000,'ravenwing')
shopModule:addSellableItem({'heavy trident'}, 13838, 2000,'heavy trident')
shopModule:addSellableItem({'warriors axe'}, 15451, 11000,'warriors axe')
shopModule:addSellableItem({'crystalline axe'}, 18451, 1000000,'crystalline axe')
 
shopModule:addSellableItem({'amber staff'}, 7426, 8000,'amber staff')
shopModule:addSellableItem({'banana staff'}, 3966, 1000,'banana staff')
shopModule:addSellableItem({'battle hammer'}, 2417, 120,'battle hammer')
shopModule:addSellableItem({'bonebreaker'}, 7428, 10000,'bonebreaker')
shopModule:addSellableItem({'brutetamer staff'}, 7379, 1500,'brutetamer staff')
shopModule:addSellableItem({'chaos mace'}, 7427, 9000,'chaos mace')
shopModule:addSellableItem({'clerical mace'}, 7754, 170,'clerical mace')
shopModule:addSellableItem({'cranial basher'}, 7756, 30000,'cranial basher')
shopModule:addSellableItem({'daramanian mace'}, 2439, 500,'daramanian mace')
shopModule:addSellableItem({'diamond sceptre'}, 7387, 3000,'diamond sceptre')
shopModule:addSellableItem({'drachaku'}, 11308, 10000,'drachaku')
shopModule:addSellableItem({'dragon hammer'}, 2434, 2000,'dragon hammer')
shopModule:addSellableItem({'dragonbone staff'}, 7430, 3000,'dragonbone staff')
shopModule:addSellableItem({'furry club'}, 7432, 1000,'furry club')
shopModule:addSellableItem({'giant smithhammer'}, 2321, 250,'giant smithhammer')
shopModule:addSellableItem({'hammer of wrath'}, 2444, 30000,'hammer of wrath')
shopModule:addSellableItem({'heavy mace'}, 2452, 50000,'heavy mace')
shopModule:addSellableItem({'jade hammer'}, 7422, 25000,'jade hammer')
shopModule:addSellableItem({'lunar staff'}, 7424, 5000,'lunar staff')	
shopModule:addSellableItem({'mammoth whopper'}, 7381, 300,'mammoth whopper')
shopModule:addSellableItem({'morning star'}, 2394, 100,'morning star')
shopModule:addSellableItem({'onyx flail'}, 7421, 22000,'onyx flail')
shopModule:addSellableItem({'queen sceptre'}, 7410, 20000,'queen sceptre')
shopModule:addSellableItem({'sapphire hammer'}, 7437, 7000,'sapphire hammer')
shopModule:addSellableItem({'shadow sceptre'}, 7451, 10000,'shadow sceptre')
shopModule:addSellableItem({'skull staff'}, 2436, 6000,'skull staff')
shopModule:addSellableItem({'spiked squelcher'}, 7452, 5000,'spiked squelcher')
shopModule:addSellableItem({'taurus mace'}, 7425, 500,'taurus mace')
shopModule:addSellableItem({'war hammer'}, 2391, 1200,'war hammer')
shopModule:addSellableItem({'mycological mace'}, 18452, 2000000, 'mycological mace')
shopModule:addSellableItem({'ornate mace'}, 15414, 500000, 'ornate mace')
shopModule:addSellableItem({'snake gods sceptre'}, 12648, 750000, 'snake gods sceptre')
shopModule:addSellableItem({'deepling squelcher'}, 15647, 7000, 'deepling squelcher')
shopModule:addSellableItem({'deepling staff'}, 15400, 4000, 'deepling staff')
 
shopModule:addSellableItem({'assassin dagger'}, 7404, 20000,'assassin dagger')
shopModule:addSellableItem({'berserker'}, 7403, 40000,'berserker')
shopModule:addSellableItem({'broadsword'}, 2413, 500,'broadsword')
shopModule:addSellableItem({'crystal sword'}, 7449, 600,'crystal sword')
shopModule:addSellableItem({'demonrage sword'}, 7382, 36000,'demonrage sword')
shopModule:addSellableItem({'djinn blade'}, 2451, 15000,'djinn blade')
shopModule:addSellableItem({'dragon slayer'}, 7402, 15000,'dragon slayer')
shopModule:addSellableItem({'epee'}, 2438, 8000,'epee')
shopModule:addSellableItem({'fire sword'}, 2392, 4000,'fire sword')
shopModule:addSellableItem({'giant sword'}, 2393, 17000,'giant sword')
shopModule:addSellableItem({'haunted blade'}, 7407, 8000,'haunted blade')
shopModule:addSellableItem({'heavy machete'}, 2442, 90,'heavy machete')
shopModule:addSellableItem({'ice rapier'}, 2396, 1000,'ice rapier')	
shopModule:addSellableItem({'mercenary sword'}, 7386, 12000,'mercenary sword')
shopModule:addSellableItem({'mystic blade'}, 7384, 30000,'mystic blade')
shopModule:addSellableItem({'nightmare blade'}, 7418, 35000,'nightmare blade')
shopModule:addSellableItem({'pharoah sword'}, 2446, 23000,'pharoah sword')
shopModule:addSellableItem({'poison dagger'}, 2411, 50,'poison dagger')
shopModule:addSellableItem({'relic sword'}, 7383, 25000,'relic sword')
shopModule:addSellableItem({'sais'}, 11306, 16500,'sais')
shopModule:addSellableItem({'scimitar'}, 2419, 150,'scimitar')
shopModule:addSellableItem({'serpent sword'}, 2409, 900,'serpent sword')
shopModule:addSellableItem({'silver dagger'}, 2402, 500,'silver dagger')
shopModule:addSellableItem({'spike sword'}, 2383, 1000,'spike sword')
shopModule:addSellableItem({'templar scytheblade'}, 3963, 200,'templar scytheblade')
shopModule:addSellableItem({'thaian sword'}, 7391, 16000,'thaian sword')
shopModule:addSellableItem({'twiceslicer'}, 12613, 28000,'twiceslicer')
shopModule:addSellableItem({'twin hooks'}, 11309, 500,'twin hooks')
shopModule:addSellableItem({'two handed sword'}, 2377, 450,'two handed sword')
shopModule:addSellableItem({'wyvern fang'}, 7408, 1500,'wyvern fang')
shopModule:addSellableItem({'zaoan sword'}, 11307, 30000,'zaoan sword')
shopModule:addSellableItem({'magic long sword'}, 2390, 1250000, 'magic long sword')
shopModule:addSellableItem({'the epiphany'}, 8931, 1125000, 'the epiphany')
shopModule:addSellableItem({'shiny blade'}, 18465, 1250000, 'shiny blade')
shopModule:addSellableItem({'blade of corruption'}, 12649, 60000, 'blade of corruption')
shopModule:addSellableItem({'the justice seeker'}, 7405, 40000, 'the justice seeker')
shopModule:addSellableItem({'the avenger'}, 6528, 62500, 'the avenger')
shopModule:addSellableItem({'crystalline sword'}, 18450, 75000, 'crystalline sword')
 
shopModule:addSellableItem({'hailstorm'}, 2183, 3000,'hailstorm rod')
shopModule:addSellableItem({'moonlight'}, 2186, 200,'moonlight rod')
shopModule:addSellableItem({'necrotic'}, 2185, 1000,'necrotic rod')
shopModule:addSellableItem({'northwind'}, 8911, 1500,'northwind rod')
shopModule:addSellableItem({'springsprout'}, 8912, 3600,'springsprout rod')
shopModule:addSellableItem({'terra'}, 2181, 2000,'terra rod')
shopModule:addSellableItem({'underworld'}, 8910, 4400,'underworld rod')
 
shopModule:addSellableItem({'cosmic energy'}, 2189, 2000,'wand of cosmic energy')
shopModule:addSellableItem({'decay'}, 2188, 1000,'wand of decay')
shopModule:addSellableItem({'draconia'}, 8921, 1500,'wand of draconia')
shopModule:addSellableItem({'dragonbreath'}, 2191, 200,'wand of dragonbreath')
shopModule:addSellableItem({'inferno'}, 2187, 3000,'wand of inferno')
shopModule:addSellableItem({'starstorm'}, 8920, 3600,'wand of starstorm')
shopModule:addSellableItem({'voodoo'}, 8922, 4400,'wand of voodoo')
 
shopModule:addSellableItem({'Ruby Necklace'}, 2133, 2000,'Ruby Necklace')
shopModule:addSellableItem({'Beetle Necklace'}, 11374, 1500,'Beetle Necklace')
shopModule:addSellableItem({'Demonbone Amulet'}, 14333, 32000,'demonbone Amulet')
shopModule:addSellableItem({'Golden Amulet'}, 2130, 2000,'Golden Amulet')
shopModule:addSellableItem({'Platinum Amulet'}, 2171, 2500,'Platinum Amulet')
shopModule:addSellableItem({'Amulet of loss'}, 2173, 45000,'Amulet of loss')
shopModule:addSellableItem({'Glacier amulet'}, 7888, 1500,'Glacier amulet')
shopModule:addSellableItem({'Leviathans amulet'}, 10220, 3000,'Leviathans amulet')
shopModule:addSellableItem({'Lightning pendant'}, 7889, 1500,'Lightning pendant')
shopModule:addSellableItem({'Magma amulet'}, 7890, 1500,'Magma amulet')
shopModule:addSellableItem({'Sacred Tree Amulet'}, 10219, 3000,'Sacred Tree Amulet')
shopModule:addSellableItem({'Shockwave Amulet'}, 10221, 3000,'Shockwave Amulet')
shopModule:addSellableItem({'Stone Skin Amulet'}, 2197, 500,'Stone Skin Amulet')
shopModule:addSellableItem({'Terra Amulet'}, 7887, 1500,'Terra Amulet')
shopModule:addSellableItem({'Gill Necklace'}, 18402, 10000, 'Gill Necklace')
shopModule:addSellableItem({'ring of the sky'}, 2123, 12000,'ring of the sky')
shopModule:addSellableItem({'gold ring'}, 2179, 8000,'gold ring')
shopModule:addSellableItem({'death ring'}, 6300, 1000,'death ring')
 
npcHandler:addModule(FocusModule:new())
 
Try:

LUA:
local keywordHandler = KeywordHandler:new() 
local npcHandler = NpcHandler:new(keywordHandler) 
NpcSystem.parseParameters(npcHandler) 
local talkState = {} 
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:addSellableItem({'bandana'}, 5917, 150,'bandana')	
shopModule:addSellableItem({'batwing hat'}, 10016, 8000,'batwing hat')	
shopModule:addSellableItem({'bonelord helmet'}, 3972, 7500,'bonelord helmet')
shopModule:addSellableItem({'brass helmet'}, 2460, 30,'brass helmet')
shopModule:addSellableItem({'charmer tiara'}, 3971, 900,'charmer tiara')
shopModule:addSellableItem({'cobra crown'}, 12630, 50000,'cobra crown')	
shopModule:addSellableItem({'crown helmet'}, 2491, 2500,'crown helmet')
shopModule:addSellableItem({'crusader helmet'}, 2497, 6000,'crusader helmet')	
shopModule:addSellableItem({'dark helmet'}, 2490, 250,'dark helmet')		
shopModule:addSellableItem({'devil helmet'}, 2462, 1000,'devil helmet')
shopModule:addSellableItem({'feather headdress'}, 3970, 850,'feather headdress')
shopModule:addSellableItem({'flower wreath'}, 9927, 500,'flower wreath')
shopModule:addSellableItem({'glacier mask'}, 7902, 2500,'glacier mask')
shopModule:addSellableItem({'helmet of the deep'}, 12541, 5000,'helmet of the deep')
shopModule:addSellableItem({'horseman helmet'}, 3969, 280,'horseman helmet')
shopModule:addSellableItem({'iron helmet'}, 2459, 150,'iron helmet')	
shopModule:addSellableItem({'jade hat'}, 11368, 9000,'jade hat')
shopModule:addSellableItem({'krimhorn helmet'}, 7461, 200,'krimhorn helmet')
shopModule:addSellableItem({'lightning headband'}, 7889, 2500,'lightning headband')
shopModule:addSellableItem({'magma monocle'}, 7900, 2500,'magma monocle')
shopModule:addSellableItem({'mystic turban'}, 2663, 150,'mystic turban')
shopModule:addSellableItem({'pair of earmuffs'}, 7459, 1500,'pair of earmuffs')
shopModule:addSellableItem({'ragnir helmet'}, 7462, 400,'ragnir helmet')
shopModule:addSellableItem({'royal helmet'}, 2498, 30000,'royal helmet')
shopModule:addSellableItem({'skull helmet'}, 5741, 40000,'skull helmet')
shopModule:addSellableItem({'soldier helmet'}, 2481, 16,'soldier helmet')
shopModule:addSellableItem({'steel helmet'}, 2457, 293,'steel helmet')
shopModule:addSellableItem({'strange helmet'}, 2479, 500,'strange helmet')
shopModule:addSellableItem({'terra hood'}, 7903, 2500,'terra hood')
shopModule:addSellableItem({'tribal mask'}, 3967, 250,'tribal mask')
shopModule:addSellableItem({'warrior helmet'}, 2475, 5000,'warrior helmet')	
shopModule:addSellableItem({'zaoan helmet'}, 11302, 45000,'zaoan helmet')
 
shopModule:addSellableItem({'belted cape'}, 8872, 500,'belted cape')
shopModule:addSellableItem({'blue robe'}, 2656, 10000,'blue robe')
shopModule:addSellableItem({'brass armor'}, 2465, 150,'brass armor')
shopModule:addSellableItem({'crown armor'}, 2487, 12000,'crown armor')
shopModule:addSellableItem({'crystalline armor'}, 8878, 16000,'crystalline armor')
shopModule:addSellableItem({'dark armor'}, 2489, 400,'dark armor')
shopModule:addSellableItem({'divine plate'}, 8885, 55000, 1, 'divine plate')
shopModule:addSellableItem({'dragon scale mail'}, 2492, 40000,'dragon scale mail')
shopModule:addSellableItem({'dwarven armor'}, 2503, 30000,'dwarven armor')
shopModule:addSellableItem({'ethno coat'}, 8892, 200,'ethno coat')
shopModule:addSellableItem({'flower dress'}, 9929, 1000,'flower dress')
shopModule:addSellableItem({'frozen plate'}, 8887, 100000, 1, 'frozen plate')
shopModule:addSellableItem({'focus cape'}, 8871, 6000,'focus cape')
shopModule:addSellableItem({'glacier robe'}, 7897, 11000,'glacier robe')
shopModule:addSellableItem({'golden armor'}, 2466, 20000,'golden armor')
shopModule:addSellableItem({'hibiscus dress'}, 8873, 3000,'hibiscus dress')
shopModule:addSellableItem({'knight armor'}, 2476, 5000,'knight armor')
shopModule:addSellableItem({'lavos armor'}, 8877, 16000,'lavos armor')
shopModule:addSellableItem({'leopard armor'}, 3968, 1000,'leopard armor')
shopModule:addSellableItem({'lightning robe'}, 7898, 11000,'lightning robe')
shopModule:addSellableItem({'magic plate armor'}, 2472, 90000,'magic plate armor')
shopModule:addSellableItem({'magma coat'}, 7899, 11000,'magma coat')
shopModule:addSellableItem({'mammoth fur cape'}, 7463, 6000,'mammoth fur cape')
shopModule:addSellableItem({'noble armor'}, 2486, 900,'noble armor')
shopModule:addSellableItem({'paladin armor'}, 8891, 15000,'paladin armor')
shopModule:addSellableItem({'pirate shirt'}, 6095, 500,'pirate shirt')
shopModule:addSellableItem({'plate armor'}, 2463, 400,'plate armor')
shopModule:addSellableItem({'scale armor'}, 2483, 75,'scale armor')	
shopModule:addSellableItem({'skullcracker armor'}, 8889, 18000,'skullcracker armor')
shopModule:addSellableItem({'spellweaver robe'}, 11355, 12000,'spellweaver robe')
shopModule:addSellableItem({'spirit cloak'}, 8870, 350,'spirit cloak')
shopModule:addSellableItem({'terra mantle'}, 7884, 11000,'terra mantle')
shopModule:addSellableItem({'swamplair armor'}, 8880, 16000,'swamplair armor')
shopModule:addSellableItem({'zaoan armor'}, 11301, 14000,'zaoan armor')
shopModule:addSellableItem({'zaoan robe'}, 11356, 12000,'zaoan robe')
shopModule:addSellableItem({'royal scale robe'}, 12643, 100000, 1, 'royal scale robe')
shopModule:addSellableItem({'elite draken mail'}, 12607, 50000,'elite draken mail')
shopModule:addSellableItem({'royal draken mail'}, 12642, 150000, 1, 'royal draken mail')
shopModule:addSellableItem({'windborn colossus armor'}, 8883, 50000, 1, 'windborn colossus armor')
 
shopModule:addSellableItem({'bast skirt'}, 3983, 750,'bast skirt')	
shopModule:addSellableItem({'brass legs'}, 2478, 49,'brass legs')
shopModule:addSellableItem({'crown legs'}, 2488, 12000,'crown legs')
shopModule:addSellableItem({'glacier kilt'}, 7896, 11000,'glacier kilt')
shopModule:addSellableItem({'golden legs'}, 2470, 30000,'golden legs')
shopModule:addSellableItem({'knight legs'}, 2477, 5000,'knight legs')
shopModule:addSellableItem({'leaf legs'}, 9928, 500,'leaf legs')
shopModule:addSellableItem({'lightning legs'}, 7895, 11000,'lightning legs')
shopModule:addSellableItem({'magma legs'}, 7894, 11000,'magma legs')
shopModule:addSellableItem({'mammoth fur shorts'}, 7464, 850,'mammoth fur shorts')
shopModule:addSellableItem({'pirate knee breeches'}, 5918, 200,'pirate knee breeches')
shopModule:addSellableItem({'plate legs'}, 2647, 115,'plate legs')
shopModule:addSellableItem({'terra legs'}, 7885, 11000,'terra legs')
shopModule:addSellableItem({'zaoan legs'}, 11304, 14000,'zaoan legs')
shopModule:addSellableItem({'ornate legs'}, 15412, 2500000,'ornate legs')
shopModule:addSellableItem({'gill legs'}, 18400, 1500000,'gill legs')
shopModule:addSellableItem({'prismatic legs'}, 18405, 1500000,'prismatic legs')
shopModule:addSellableItem({'depth ocrea'}, 15409, 1000000,'depth ocrea')
shopModule:addSellableItem({'grasshopper legs'}, 15490, 15000,'grasshopper legs')
 
shopModule:addSellableItem({'boots of haste'}, 2195, 30000,'boots of haste')
shopModule:addSellableItem({'coconut shoes'}, 9931, 500,'coconut shoes')
shopModule:addSellableItem({'crocodile boots'}, 3982, 1000,'crocodile boots')
shopModule:addSellableItem({'draken boots'}, 12646, 40000,'draken boots')
shopModule:addSellableItem({'fur boots'}, 7457, 2000,'fur boots')
shopModule:addSellableItem({'glacier shoes'}, 7892, 2500,'glacier shoes')
shopModule:addSellableItem({'guardian boots'}, 11240, 35000,'guardian boots')
shopModule:addSellableItem({'lightning boots'}, 7893, 2500,'lightning boots')
shopModule:addSellableItem({'magma boots'}, 7891, 2500,'magma boots')
shopModule:addSellableItem({'pirate boots'}, 5462, 3000,'pirate boots')
shopModule:addSellableItem({'steel boots'}, 2645, 30000,'steel boots')
shopModule:addSellableItem({'terra boots'}, 7886, 2500,'terra boots')
shopModule:addSellableItem({'zaoan shoes'}, 11303, 5000,'zaoan shoes')
shopModule:addSellableItem({'crystal boots'}, 11117, 500000,'crystal boots')
shopModule:addSellableItem({'patched boots'}, 2641, 2000,'patched boots')
shopModule:addSellableItem({'depth calcei'}, 15410, 250000,'depth calcei')
shopModule:addSellableItem({'prismatic boots'}, 18406, 375000,'prismatic boots')
 
shopModule:addSellableItem({'ancient shield'}, 2532, 900,'ancient shield')
shopModule:addSellableItem({'shield of corruption'}, 12644, 500000,'shield of corruption')
shopModule:addSellableItem({'battle shield'}, 2513, 95,'battle shield')
shopModule:addSellableItem({'black shield'}, 2529, 800,'black shield')
shopModule:addSellableItem({'bone shield'}, 2541, 80,'bone shield')
shopModule:addSellableItem({'bonelord shield'}, 2518, 1200,'bonelord shield')
shopModule:addSellableItem({'castle shield'}, 2535, 5000,'castle shield')
shopModule:addSellableItem({'depth scutum'}, 15411, 32000,'depth scutum')
shopModule:addSellableItem({'copper shield'}, 2530, 50,'copper shield')
shopModule:addSellableItem({'crown shield'}, 2519, 8000,'crown shield')
shopModule:addSellableItem({'dark shield'}, 2521, 400,'dark shield')
shopModule:addSellableItem({'demon shield'}, 2520, 30000,'demon shield')
shopModule:addSellableItem({'dragon shield'}, 2516, 4000,'dragon shield')
shopModule:addSellableItem({'dwarven shield'}, 2525, 100,'dwarven shield')
shopModule:addSellableItem({'guardian shield'}, 2515, 2000,'guardian shield')
shopModule:addSellableItem({'mastermind shield'}, 2514, 50000,'mastermind shield')
shopModule:addSellableItem({'medusa shield'}, 2536, 9000,'medusa shield')
shopModule:addSellableItem({'norse shield'}, 7460, 1500,'norse shield')
shopModule:addSellableItem({'phoenix shield'}, 2539, 16000,'phoenix shield')
shopModule:addSellableItem({'salamander shield'}, 3975, 280,'salamander shield')
shopModule:addSellableItem({'scarab shield'}, 2540, 2000,'scarab shield')
shopModule:addSellableItem({'sentinel shield'}, 3974, 120,'sentinel shield')
shopModule:addSellableItem({'tempest shield'}, 2542, 35000,'tempest shield')
shopModule:addSellableItem({'tortoise shield'}, 6131, 150,'tortoise shield')
shopModule:addSellableItem({'tower shield'}, 2528, 8000,'tower shield')
shopModule:addSellableItem({'tusk shield'}, 3973, 850,'tusk shield')
shopModule:addSellableItem({'vampire shield'}, 2534, 15000,'vampire shield')
shopModule:addSellableItem({'prismatic shield'}, 18410, 250000,'prismatic shield')
shopModule:addSellableItem({'ornate shield'}, 154113, 500000,'ornate shield')
shopModule:addSellableItem({'carapace shield'}, 15491, 64000,'carapace shield')
 
shopModule:addSellableItem({'spellbook of enlightenment'}, 8900, 4000,'spellbook of enlightenment')
shopModule:addSellableItem({'spellbook of lost souls'}, 8903, 19000,'spellbook of lost souls')
shopModule:addSellableItem({'spellbook of mind control'}, 8902, 13000,'spellbook of mind control')
shopModule:addSellableItem({'spellbook of warding'}, 8901, 8000,'spellbook of warding')
 
shopModule:addSellableItem({'angelic axe'}, 7436, 5000,'angelic axe')
shopModule:addSellableItem({'barbarian axe'}, 7749, 185,'barbarian axe')
shopModule:addSellableItem({'beastslayer axe'}, 3962, 1500,'beastslayer axe')
shopModule:addSellableItem({'butcher axe'}, 7412, 18000,'butcher axe')
shopModule:addSellableItem({'daramanian waraxe'}, 2440, 1000,'daramanian waraxe')
shopModule:addSellableItem({'double axe'}, 2387, 260,'double axe')
shopModule:addSellableItem({'dragon lance'}, 2414, 9000,'dragon lance')
shopModule:addSellableItem({'drakinata'}, 11305, 10000,'drakinata')
shopModule:addSellableItem({'dreaded clever'}, 7419, 15000,'dreaded clever')
shopModule:addSellableItem({'fire axe'}, 2432, 8000,'fire axe')
shopModule:addSellableItem({'glorious axe'}, 7454, 3000,'glorious axe')
shopModule:addSellableItem({'guardian halberd'}, 2427, 11000,'guardian halberd')
shopModule:addSellableItem({'halberd'}, 2381, 400,'halberd')
shopModule:addSellableItem({'heroic axe'}, 7389, 30000,'heroic axe')
shopModule:addSellableItem({'knight axe'}, 7750, 2000,'knight axe')
shopModule:addSellableItem({'naginata'}, 2426, 2000,'naginata')
shopModule:addSellableItem({'noble axe'}, 7456, 10000,'noble axe')
shopModule:addSellableItem({'obsidian lance'}, 2425, 500,'obsidian lance')
shopModule:addSellableItem({'ornamented axe'}, 7411, 20000,'ornamented axe')
shopModule:addSellableItem({'ripper lance'}, 3964, 500,'ripper lance')
shopModule:addSellableItem({'ruthless axe'}, 6553, 45000,'ruthless axe')
shopModule:addSellableItem({'titan axe'}, 7413, 4000,'titan axe')
shopModule:addSellableItem({'vile axe'}, 7388, 30000,'vile axe')
shopModule:addSellableItem({'war axe'}, 7878, 12000,'war axe')
shopModule:addSellableItem({'zaoan halberd'}, 11323, 500,'zaoan halberd')
shopModule:addSellableItem({'deepling axe'}, 15404, 50000,'deepling axe')
shopModule:addSellableItem({'mythril axe'}, 7455, 62500,'mythril axe')
shopModule:addSellableItem({'hive scythe'}, 15492, 17000,'hive scythe')
shopModule:addSellableItem({'ravenwing'}, 7433, 40000,'ravenwing')
shopModule:addSellableItem({'heavy trident'}, 13838, 2000,'heavy trident')
shopModule:addSellableItem({'warriors axe'}, 15451, 11000,'warriors axe')
shopModule:addSellableItem({'crystalline axe'}, 18451, 1000000,'crystalline axe')
 
shopModule:addSellableItem({'amber staff'}, 7426, 8000,'amber staff')
shopModule:addSellableItem({'banana staff'}, 3966, 1000,'banana staff')
shopModule:addSellableItem({'battle hammer'}, 2417, 120,'battle hammer')
shopModule:addSellableItem({'bonebreaker'}, 7428, 10000,'bonebreaker')
shopModule:addSellableItem({'brutetamer staff'}, 7379, 1500,'brutetamer staff')
shopModule:addSellableItem({'chaos mace'}, 7427, 9000,'chaos mace')
shopModule:addSellableItem({'clerical mace'}, 7754, 170,'clerical mace')
shopModule:addSellableItem({'cranial basher'}, 7756, 30000,'cranial basher')
shopModule:addSellableItem({'daramanian mace'}, 2439, 500,'daramanian mace')
shopModule:addSellableItem({'diamond sceptre'}, 7387, 3000,'diamond sceptre')
shopModule:addSellableItem({'drachaku'}, 11308, 10000,'drachaku')
shopModule:addSellableItem({'dragon hammer'}, 2434, 2000,'dragon hammer')
shopModule:addSellableItem({'dragonbone staff'}, 7430, 3000,'dragonbone staff')
shopModule:addSellableItem({'furry club'}, 7432, 1000,'furry club')
shopModule:addSellableItem({'giant smithhammer'}, 2321, 250,'giant smithhammer')
shopModule:addSellableItem({'hammer of wrath'}, 2444, 30000,'hammer of wrath')
shopModule:addSellableItem({'heavy mace'}, 2452, 50000,'heavy mace')
shopModule:addSellableItem({'jade hammer'}, 7422, 25000,'jade hammer')
shopModule:addSellableItem({'lunar staff'}, 7424, 5000,'lunar staff')	
shopModule:addSellableItem({'mammoth whopper'}, 7381, 300,'mammoth whopper')
shopModule:addSellableItem({'morning star'}, 2394, 100,'morning star')
shopModule:addSellableItem({'onyx flail'}, 7421, 22000,'onyx flail')
shopModule:addSellableItem({'queen sceptre'}, 7410, 20000,'queen sceptre')
shopModule:addSellableItem({'sapphire hammer'}, 7437, 7000,'sapphire hammer')
shopModule:addSellableItem({'shadow sceptre'}, 7451, 10000,'shadow sceptre')
shopModule:addSellableItem({'skull staff'}, 2436, 6000,'skull staff')
shopModule:addSellableItem({'spiked squelcher'}, 7452, 5000,'spiked squelcher')
shopModule:addSellableItem({'taurus mace'}, 7425, 500,'taurus mace')
shopModule:addSellableItem({'war hammer'}, 2391, 1200,'war hammer')
shopModule:addSellableItem({'mycological mace'}, 18452, 2000000, 'mycological mace')
shopModule:addSellableItem({'ornate mace'}, 15414, 500000, 'ornate mace')
shopModule:addSellableItem({'snake gods sceptre'}, 12648, 750000, 'snake gods sceptre')
shopModule:addSellableItem({'deepling squelcher'}, 15647, 7000, 'deepling squelcher')
shopModule:addSellableItem({'deepling staff'}, 15400, 4000, 'deepling staff')
 
shopModule:addSellableItem({'assassin dagger'}, 7404, 20000,'assassin dagger')
shopModule:addSellableItem({'berserker'}, 7403, 40000,'berserker')
shopModule:addSellableItem({'broadsword'}, 2413, 500,'broadsword')
shopModule:addSellableItem({'crystal sword'}, 7449, 600,'crystal sword')
shopModule:addSellableItem({'demonrage sword'}, 7382, 36000,'demonrage sword')
shopModule:addSellableItem({'djinn blade'}, 2451, 15000,'djinn blade')
shopModule:addSellableItem({'dragon slayer'}, 7402, 15000,'dragon slayer')
shopModule:addSellableItem({'epee'}, 2438, 8000,'epee')
shopModule:addSellableItem({'fire sword'}, 2392, 4000,'fire sword')
shopModule:addSellableItem({'giant sword'}, 2393, 17000,'giant sword')
shopModule:addSellableItem({'haunted blade'}, 7407, 8000,'haunted blade')
shopModule:addSellableItem({'heavy machete'}, 2442, 90,'heavy machete')
shopModule:addSellableItem({'ice rapier'}, 2396, 1000,'ice rapier')	
shopModule:addSellableItem({'mercenary sword'}, 7386, 12000,'mercenary sword')
shopModule:addSellableItem({'mystic blade'}, 7384, 30000,'mystic blade')
shopModule:addSellableItem({'nightmare blade'}, 7418, 35000,'nightmare blade')
shopModule:addSellableItem({'pharoah sword'}, 2446, 23000,'pharoah sword')
shopModule:addSellableItem({'poison dagger'}, 2411, 50,'poison dagger')
shopModule:addSellableItem({'relic sword'}, 7383, 25000,'relic sword')
shopModule:addSellableItem({'sais'}, 11306, 16500,'sais')
shopModule:addSellableItem({'scimitar'}, 2419, 150,'scimitar')
shopModule:addSellableItem({'serpent sword'}, 2409, 900,'serpent sword')
shopModule:addSellableItem({'silver dagger'}, 2402, 500,'silver dagger')
shopModule:addSellableItem({'spike sword'}, 2383, 1000,'spike sword')
shopModule:addSellableItem({'templar scytheblade'}, 3963, 200,'templar scytheblade')
shopModule:addSellableItem({'thaian sword'}, 7391, 16000,'thaian sword')
shopModule:addSellableItem({'twiceslicer'}, 12613, 28000,'twiceslicer')
shopModule:addSellableItem({'twin hooks'}, 11309, 500,'twin hooks')
shopModule:addSellableItem({'two handed sword'}, 2377, 450,'two handed sword')
shopModule:addSellableItem({'wyvern fang'}, 7408, 1500,'wyvern fang')
shopModule:addSellableItem({'zaoan sword'}, 11307, 30000,'zaoan sword')
shopModule:addSellableItem({'magic long sword'}, 2390, 1250000, 'magic long sword')
shopModule:addSellableItem({'the epiphany'}, 8931, 1125000, 'the epiphany')
shopModule:addSellableItem({'shiny blade'}, 18465, 1250000, 'shiny blade')
shopModule:addSellableItem({'blade of corruption'}, 12649, 60000, 'blade of corruption')
shopModule:addSellableItem({'the justice seeker'}, 7405, 40000, 'the justice seeker')
shopModule:addSellableItem({'the avenger'}, 6528, 62500, 'the avenger')
shopModule:addSellableItem({'crystalline sword'}, 18450, 75000, 'crystalline sword')
 
shopModule:addSellableItem({'hailstorm'}, 2183, 3000,'hailstorm rod')
shopModule:addSellableItem({'moonlight'}, 2186, 200,'moonlight rod')
shopModule:addSellableItem({'necrotic'}, 2185, 1000,'necrotic rod')
shopModule:addSellableItem({'northwind'}, 8911, 1500,'northwind rod')
shopModule:addSellableItem({'springsprout'}, 8912, 3600,'springsprout rod')
shopModule:addSellableItem({'terra'}, 2181, 2000,'terra rod')
shopModule:addSellableItem({'underworld'}, 8910, 4400,'underworld rod')
 
shopModule:addSellableItem({'cosmic energy'}, 2189, 2000,'wand of cosmic energy')
shopModule:addSellableItem({'decay'}, 2188, 1000,'wand of decay')
shopModule:addSellableItem({'draconia'}, 8921, 1500,'wand of draconia')
shopModule:addSellableItem({'dragonbreath'}, 2191, 200,'wand of dragonbreath')
shopModule:addSellableItem({'inferno'}, 2187, 3000,'wand of inferno')
shopModule:addSellableItem({'starstorm'}, 8920, 3600,'wand of starstorm')
shopModule:addSellableItem({'voodoo'}, 8922, 4400,'wand of voodoo')
 
shopModule:addSellableItem({'Ruby Necklace'}, 2133, 2000,'Ruby Necklace')
shopModule:addSellableItem({'Beetle Necklace'}, 11374, 1500,'Beetle Necklace')
shopModule:addSellableItem({'Demonbone Amulet'}, 14333, 32000,'demonbone Amulet')
shopModule:addSellableItem({'Golden Amulet'}, 2130, 2000,'Golden Amulet')
shopModule:addSellableItem({'Platinum Amulet'}, 2171, 2500,'Platinum Amulet')
shopModule:addSellableItem({'Amulet of loss'}, 2173, 45000,'Amulet of loss')
shopModule:addSellableItem({'Glacier amulet'}, 7888, 1500,'Glacier amulet')
shopModule:addSellableItem({'Leviathans amulet'}, 10220, 3000,'Leviathans amulet')
shopModule:addSellableItem({'Lightning pendant'}, 7889, 1500,'Lightning pendant')
shopModule:addSellableItem({'Magma amulet'}, 7890, 1500,'Magma amulet')
shopModule:addSellableItem({'Sacred Tree Amulet'}, 10219, 3000,'Sacred Tree Amulet')
shopModule:addSellableItem({'Shockwave Amulet'}, 10221, 3000,'Shockwave Amulet')
shopModule:addSellableItem({'Stone Skin Amulet'}, 2197, 500,'Stone Skin Amulet')
shopModule:addSellableItem({'Terra Amulet'}, 7887, 1500,'Terra Amulet')
shopModule:addSellableItem({'Gill Necklace'}, 18402, 10000, 'Gill Necklace')
shopModule:addSellableItem({'ring of the sky'}, 2123, 12000,'ring of the sky')
shopModule:addSellableItem({'gold ring'}, 2179, 8000,'gold ring')
shopModule:addSellableItem({'death ring'}, 6300, 1000,'death ring')
 
npcHandler:addModule(FocusModule:new())

Same :(
 
You have to add spaces before the name. "function ShopModule:addSellableItem(names, itemid, cost, realName)"

Doesn't work
Code:
shopModule:addSellableItem({'pirate boots'}, 5462, 3000,'pirate boots')

Working
Code:
shopModule:addSellableItem({'pirate boots'}, 5462, 3000, 'pirate boots')
 
You have to add spaces before the name. "function ShopModule:addSellableItem(names, itemid, cost, realName)"

Doesn't work
Code:
shopModule:addSellableItem({'pirate boots'}, 5462, 3000,'pirate boots')

Working
Code:
shopModule:addSellableItem({'pirate boots'}, 5462, 3000, 'pirate boots')


Thank you! @Ninja

Actually it didn't work! :S
 
Last edited:
Back
Top