finish shaman outfit quest

This commit is contained in:
ErikasKontenis
2019-12-29 12:32:21 +02:00
parent d9d6bc5819
commit 07a91bff15
6 changed files with 82 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if player:getStorageValue(17569) ~= 1 then
player:setStorageValue(17569, 1)
player:sendTextMessage(MESSAGE_INFO_DESCR, "You have found a hydra egg.")
player:addItem(4839, 1)
else
player:sendTextMessage(MESSAGE_INFO_DESCR, "The " .. item:getName() .. " is empty.")
end
return true
end