local config = {
infernalId = 6529,
soulId = 5944,
text = "You have found 25 infernal bolts"
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == config.soulId then
doRemoveItem(item.uid, 1)
doPlayerAddItem(cid, config.infernalId, 25)
doPlayerSendTextMessage(cid, 25, config.text)
else
doPlayerSendCancel(cid, "Sorry, not possible")
end
return TRUE
end