• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

NPC Ultimate Armors Dealer

ziggy46802

Active Member
Joined
Aug 19, 2012
Messages
418
Reaction score
27
Here is the ultimate armors dealer. All of the prices for selling to him are from tibia.wikia.com so they should be correct, but the buy prices I usually just took the sell price and multiplied it by four to make it buyable, but at a semi-ridiculous price. The idea of this npc is to make it so certain rare legs can exist on a new server before they are looted from extremely hard monsters. It also sets a "ceiling" (like if the buy price is 4000, then you cant sell it to players for more than 4000) and a "floor" (the sell price to the npc would be 1000 in this instance so that, if sold to another player, it would be above 1000 but below the ridiculousness of 4000).

A lot of the items have weird prices and such, so make sure you check them and agree with them before going ahead and using it (for example, I made amazon armor something you can buy since I plan on making a rare version of amazons drop it very rarely, but thats just me personally, you may want to remove it from the buyable list).

He sells 71 armors and was made for 9.60, he sells just about every single armor that exists, except ones that are unobtainable or were only used in a test server and such.

legs.lua
Lua:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

-- OTServ event handling functions start
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
function onPlayerEndTrade(cid)				npcHandler:onPlayerEndTrade(cid)			end
function onPlayerCloseChannel(cid)			npcHandler:onPlayerCloseChannel(cid)		end
-- OTServ event handling functions end

local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)

-------------------For sale-------------------

--0
shopModule:addBuyableItem({'flower dress'}, 9929, 4000,'flower dress')
shopModule:addBuyableItem({'hibiscus dress'}, 8873, 12000, 'hibiscus dress')
shopModule:addBuyableItem({'simple dress'}, 2657, 200, 'simple dress')

--1
shopModule:addBuyableItem({'jacket'}, 2650, 10, 'jacket')
shopModule:addBuyableItem({'green tunic'}, 2652, 100, 'green tunic')
shopModule:addBuyableItem({'cape'}, 2654, 9, 'cape')
shopModule:addBuyableItem({'coat'}, 2651, 8, 'coat')
shopModule:addBuyableItem({'red robe'}, 2655, 40000, 'red robe')

--2
shopModule:addBuyableItem({'doublet'}, 2485, 16, 'doublet')

--3
shopModule:addBuyableItem({'pirate shirt'}, 6095, 2000, 'pirate shirt')

--4
shopModule:addBuyableItem({'leather armor'}, 2467, 25, 'leather armor')

--5
shopModule:addBuyableItem({'studded armor'}, 2484, 90, 'studded armor')

--6
shopModule:addBuyableItem({'chain armor'}, 2464, 200, 'chain armor')
shopModule:addBuyableItem({'magicians robe'}, 8819, 450, 'magicians robe')

--7
shopModule:addBuyableItem({'ethno coat'}, 8892, 750, 'ethno coat')
shopModule:addBuyableItem({'rangers cloak'}, 2660, 550, 'rangers cloak')

--8
shopModule:addBuyableItem({'brass armor'}, 2465, 450, 'brass armor')
shopModule:addBuyableItem({'spirit cloak'}, 8870, 1000, 'spirit cloak')

--9
shopModule:addBuyableItem({'leopard armor'}, 3968, 4000, 'leopard armor')
shopModule:addBuyableItem({'focus cape'}, 8871, 24000, 'focus cape')
shopModule:addBuyableItem({'scale armor'}, 2483, 260, 'scale armor')

--10
shopModule:addBuyableItem({'belted cape'}, 8872, 1300, 'belted cape')
shopModule:addBuyableItem({'dark armor'}, 2489, 1500, 'dark armor')
shopModule:addBuyableItem({'dwarven armor'}, 2503, 500000, 'dwarven armor')
shopModule:addBuyableItem({'plate armor'}, 2463, 1200, 'plate armor')
shopModule:addBuyableItem({'mammoth fur cape'}, 7463, 24000, 'mammoth fur cape')

--11
shopModule:addBuyableItem({'dark lords cape'}, 8865, 44000, 'dark lords cape')
shopModule:addBuyableItem({'noble armor'}, 2486, 8000, 'noble armor')
shopModule:addBuyableItem({'blue robe'}, 2656, 40000, 'blue robe')
shopModule:addBuyableItem({'magma coat'}, 7899, 44000, 'magma coat')
shopModule:addBuyableItem({'glacier robe'}, 7897, 44000, 'glacier robe')
shopModule:addBuyableItem({'lightning robe'}, 7898, 44000, 'lightning robe')
shopModule:addBuyableItem({'terra mantle'}, 7884, 44000, 'terra mantle')
shopModule:addBuyableItem({'zaoan robe'}, 11356, 50000, 'zaoan robe')
shopModule:addBuyableItem({'spellweavers robe'}, 11355, 88000, 'spellweavers robe')

--12
shopModule:addBuyableItem({'knight armor'}, 2476, 20000, 'knight armor')
shopModule:addBuyableItem({'greenwood coat'}, 8869, 200000, 'greenwood coat')
shopModule:addBuyableItem({'dragon robe'}, 8867, 200000, 'dragon robe')
shopModule:addBuyableItem({'paladin armor'}, 8891, 60000, 'paladin armor')
shopModule:addBuyableItem({'gill coat'}, 18399, 1000000, 'gill coat')
shopModule:addBuyableItem({'calopteryx cape'}, 15489, 60000, 'calopteryx cape')
shopModule:addBuyableItem({'dragon robe'}, 8867, 200000, 'dragon robe')
shopModule:addBuyableItem({'robe of the ice queen'}, 8866, 200000, 'robe of the ice queen')
shopModule:addBuyableItem({'robe of the underworld'}, 8890, 400000, 'robe of the underworld')
shopModule:addBuyableItem({'royal scale robe'}, 12643, 600000, 'royal scale robe')
shopModule:addBuyableItem({'velvet mantle'}, 8868, 400000, 'velvet mantle')

--13
shopModule:addBuyableItem({'lavos armor'}, 8877, 400000, 'lavos armor')
shopModule:addBuyableItem({'frozen plate'}, 8887, 400000, 'frozen plate')
shopModule:addBuyableItem({'divine plate'}, 8885, 220000, 'divine plate')
shopModule:addBuyableItem({'crown armor'}, 2487, 48000, 'crown armor')
shopModule:addBuyableItem({'amazon armor'}, 2500, 200000, 'amazon armor')
shopModule:addBuyableItem({'crystalline armor'}, 8878, 80000, 'crystalline armor')
shopModule:addBuyableItem({'swamplair armor'}, 8880, 64000, 'swamplair armor')
shopModule:addBuyableItem({'voltage armor'}, 8879, 400000, 'voltage armor')
shopModule:addBuyableItem({'zaoan armor'}, 11301, 56000, 'zaoan armor')
shopModule:addBuyableItem({'molten plate'}, 8886, 500000, 'molten plate')


--14
shopModule:addBuyableItem({'golden armor'}, 2466, 80000, 'golden armor')
shopModule:addBuyableItem({'skullcracker armor'}, 8889, 72000, 'skullcracker armor')


--15
shopModule:addBuyableItem({'windborn colossus armor'}, 8883, 200000, 'windborn colossus armor')
shopModule:addBuyableItem({'dragon scale mail'}, 2492, 160000, 'dragon scale mail')
shopModule:addBuyableItem({'master archer\'s armor'}, 8888, 500000, 'master archer\'s armor')
shopModule:addBuyableItem({'fireborn giant armor'}, 8881, 1000000, 'fireborn giant armor')
shopModule:addBuyableItem({'earthborn titan armor'}, 8882, 1000000, 'earthborn titan armor')
shopModule:addBuyableItem({'prismatic armor'}, 18404, 1500000, 'prismatic armor')
shopModule:addBuyableItem({'oceanborn leviathan armor'}, 8884, 1000000, 'oceanborn leviathan armor')

--16
shopModule:addBuyableItem({'demon armor'}, 2494, 300000, 'demon armor')
shopModule:addBuyableItem({'yalahari armor'}, 9776, 200000, 'yalahari armor')
shopModule:addBuyableItem({'depth lorica'}, 15407, 1500000, 'depth lorica')
shopModule:addBuyableItem({'ornate chestplate'}, 15406, 2000000, 'ornate chestplate')
shopModule:addBuyableItem({'royal draken mail'}, 12642, 1000000, 'royal draken mail')

--17
shopModule:addBuyableItem({'magic plate armor'}, 2472, 360000, 'magic plate armor')


-------------------Sell to him-------------------

--0
shopModule:addSellableItem({'flower dress'}, 9929, 1000,'flower dress')
shopModule:addSellableItem({'hibiscus dress'}, 8873, 3000, 'hibiscus dress')
shopModule:addSellableItem({'simple dress'}, 2657, 50, 'simple dress')

--1
shopModule:addSellableItem({'jacket'}, 2650, 1, 'jacket')
shopModule:addSellableItem({'green tunic'}, 2652, 25, 'green tunic')
shopModule:addSellableItem({'cape'}, 2654, 3, 'cape')
shopModule:addSellableItem({'coat'}, 2651, 1,  'coat')
shopModule:addSellableItem({'red robe'}, 2655, 10000, 'red robe')

--2
shopModule:addSellableItem({'doublet'}, 2485, 3, 'doublet')

--3
shopModule:addSellableItem({'pirate shirt'}, 6095, 500, 'pirate shirt')

--4
shopModule:addSellableItem({'leather armor'}, 2467, 12, 'leather armor')

--5
shopModule:addSellableItem({'studded armor'}, 2484, 20, 'studded armor')

--6
shopModule:addSellableItem({'chain armor'}, 2464, 70, 'chain armor')
shopModule:addSellableItem({'magicians robe'}, 8819, 150, 'magicians robe')

--7
shopModule:addSellableItem({'ethno coat'}, 8892, 200, 'ethno coat')
shopModule:addSellableItem({'rangers cloak'}, 2660, 150, 'rangers cloak')

--8
shopModule:addSellableItem({'brass armor'}, 2465, 150, 'brass armor')
shopModule:addSellableItem({'spirit cloak'}, 8870, 350, 'spirit cloak')

--9
shopModule:addSellableItem({'leopard armor'}, 3968, 1000, 'leopard armor')
shopModule:addSellableItem({'focus cape'}, 8871, 6000, 'focus cape')
shopModule:addSellableItem({'scale armor'}, 2483, 75, 'scale armor')

--10
shopModule:addSellableItem({'belted cape'}, 8872, 500, 'belted cape')
shopModule:addSellableItem({'dark armor'}, 2489, 400, 'dark armor')
shopModule:addSellableItem({'dwarven armor'}, 2503, 30000, 'dwarven armor')
shopModule:addSellableItem({'plate armor'}, 2463, 400, 'plate armor')
shopModule:addSellableItem({'mammoth fur cape'}, 7463, 6000, 'mammoth fur cape')

--11
shopModule:addSellableItem({'dark lords cape'}, 8865, 11000, 'dark lords cape')
shopModule:addSellableItem({'noble armor'}, 2486, 900, 'noble armor')
shopModule:addSellableItem({'blue robe'}, 2656, 10000, 'blue robe')
shopModule:addSellableItem({'magma coat'}, 7899, 11000, 'magma coat')
shopModule:addSellableItem({'glacier robe'}, 7897, 11000, 'glacier robe')
shopModule:addSellableItem({'lightning robe'}, 7898, 11000, 'lightning robe')
shopModule:addSellableItem({'terra mantle'}, 7884, 11000, 'terra mantle')
shopModule:addSellableItem({'zaoan robe'}, 11356, 12000, 'zaoan robe')
shopModule:addSellableItem({'spellweavers robe'}, 11355, 22000, 'spellweavers robe')

--12
shopModule:addSellableItem({'knight armor'}, 2476, 5000, 'knight armor')
shopModule:addSellableItem({'greenwood coat'}, 8869, 50000, 'greenwood coat')
shopModule:addSellableItem({'dragon robe'}, 8867, 50000, 'dragon robe')
shopModule:addSellableItem({'paladin armor'}, 8891, 15000, 'paladin armor')
shopModule:addSellableItem({'royal scale robe'}, 12643, 100000, 'royal scale robe')
shopModule:addSellableItem({'gill coat'}, 18399, 250000, 'gill coat')
shopModule:addSellableItem({'calopteryx cape'}, 15489, 15000, 'calopteryx cape')
shopModule:addSellableItem({'dragon robe'}, 8867, 50000, 'dragon robe')
shopModule:addSellableItem({'robe of the ice queen'}, 8866, 50000, 'robe of the ice queen')
shopModule:addSellableItem({'robe of the underworld'}, 8890, 100000, 'robe of the underworld')
shopModule:addSellableItem({'royal scale robe'}, 12643, 150000, 'royal scale robe')
shopModule:addSellableItem({'velvet mantle'}, 8868, 100000, 'velvet mantle')

--13
shopModule:addSellableItem({'lavos armor'}, 8877, 100000, 'lavos armor')
shopModule:addSellableItem({'frozen plate'}, 8887, 100000, 'frozen plate')
shopModule:addSellableItem({'divine plate'}, 8885, 55000, 'divine plate')
shopModule:addSellableItem({'crown armor'}, 2487, 12000, 'crown armor')
shopModule:addSellableItem({'amazon armor'}, 2500, 50000, 'amazon armor')
shopModule:addSellableItem({'crystalline armor'}, 8878, 20000, 'crystalline armor')
shopModule:addSellableItem({'swamplair armor'}, 8880, 16000, 'swamplair armor')
shopModule:addSellableItem({'voltage armor'}, 8879, 100000, 'voltage armor')
shopModule:addSellableItem({'zaoan armor'}, 11301, 14000, 'zaoan armor')
shopModule:addSellableItem({'molten plate'}, 8886, 125000, 'molten plate')

--14
shopModule:addSellableItem({'golden armor'}, 2466, 20000, 'golden armor')
shopModule:addSellableItem({'skullcracker armor'}, 8889, 18000, 'skullcracker armor')

--15
shopModule:addSellableItem({'windborn colossus armor'}, 8883, 50000, 'windborn colossus armor')
shopModule:addSellableItem({'elite draken mail'}, 12607, 50000, 'elite draken mail')
shopModule:addSellableItem({'dragon scale mail'}, 2492, 40000, 'dragon scale mail')
shopModule:addSellableItem({'master archer\'s armor'}, 8888, 125000, 'master archer\'s armor')
shopModule:addSellableItem({'fireborn giant armor'}, 8881, 250000, 'fireborn giant armor')
shopModule:addSellableItem({'earthborn titan armor'}, 8882, 250000, 'earthborn titan armor')
shopModule:addSellableItem({'prismatic armor'}, 18404, 375000, 'prismatic armor')
shopModule:addSellableItem({'oceanborn leviathan armor'}, 8884, 250000, 'oceanborn leviathan armor')


--16
shopModule:addSellableItem({'demon armor'}, 2494, 75000, 'demon armor')
shopModule:addSellableItem({'royal draken mail'}, 12642, 150000, 'royal draken mail')
shopModule:addSellableItem({'yalahari armor'}, 9776, 50000, 'yalahari armor')
shopModule:addSellableItem({'depth lorica'}, 15407, 125000, 'depth lorica')
shopModule:addSellableItem({'ornate chestplate'}, 15406, 500000, 'ornate chestplate')
shopModule:addSellableItem({'royal draken mail'}, 12642, 250000, 'royal draken mail')

--17
shopModule:addSellableItem({'magic plate armor'}, 2472, 90000, 'magic plate armor')


npcHandler:addModule(FocusModule:new())

I've rereleased all of these NPC's, updating them from 8.6 to 9.6 and now all their is to go is helmets.

I hope some of you get a use out of this, it took a lot of work and helps new servers establish weapons.

And if this helped you at all, rep++ would be nice.
 
Last edited:
Need to take out the 1's at the end of each line since they dont work in newer servers, but will do all that when I revamp all my ultimate NPCs with the new 9.6 items

Also added in LUA tags so it is easier to see
 
Back
Top