mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-28 07:36:50 +01:00
finish shaman outfit quest
This commit is contained in:
@@ -89,7 +89,10 @@
|
||||
<action actionid="17525" script="meriana_quest/tortoise_egg.lua" />
|
||||
<action fromaid="17528" toaid="17530" script="meriana_quest/pirate_map.lua" />
|
||||
|
||||
<!-- Liberty Bay Misc -->
|
||||
<!-- Port Hope -->
|
||||
<action actionid="17569" script="port_hope/hydra_egg_quest.lua"/>
|
||||
|
||||
<!-- Liberty Bay -->
|
||||
<action fromid="6087" toid="6090" script="liberty_bay/cult_hymn.lua"/>
|
||||
<action actionid="33216" script="liberty_bay/cult_piano_teleport.lua"/>
|
||||
|
||||
|
||||
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