mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 06:34:55 +02:00
finish shaman outfit quest
This commit is contained in:
11
data/actions/scripts/port_hope/hydra_egg_quest.lua
Normal file
11
data/actions/scripts/port_hope/hydra_egg_quest.lua
Normal 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
|
Reference in New Issue
Block a user