******* M A D E BY E T H A N *******
******* ******* ******* ******* ******
******* ******* ******* ******* ******
******* ******* ******* ******* ******
-- CONFIG
item1 = 10454
item2 = 13130
item3 = 12662
item4 = 2169
item5 = 7890
-- END CONFIG
function onUse(cid, item, frompos, item2, topos)
if item.itemuid == 3500 then
if getPlayerItemById(cid, 2553)
local playerpos = getCreaturePosition
doRemoveItem(item.itemid, 2553)
doPlayerAddItem(item.itemid, 10454)
doPlayerSendMagicEffect(playerpos, 12)
doPlayerSendTextMessage(cid,16,"You have found a Crystal !")
else
doPlayerSendTextMessage(cid,16,"You haven\'t got Pickaxe !")
end
end
end