function onUse(cid, item, fromPosition, itemEx, toPosition)
questItem = 2488
if getPlayerStorageValue(cid, item.actionid + 100) < 1 then
doPlayerAddItem(cid, questItem, 1)
doPlayerSendTextMessage(cid, 22, "You have found a pair of crown legs!")
setPlayerStorageValue(cid, item.actionid + 100, 1)
else
doPlayerSendCancel(cid, "The chest is empty.")
end
return TRUE
end