mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-28 07:36:50 +01:00
finish Access to Meriana part
This commit is contained in:
@@ -174,6 +174,7 @@
|
||||
<action itemid="4872" script="misc/ice_pick.lua" />
|
||||
<action itemid="3456" script="misc/pick.lua" />
|
||||
<action itemid="3457" script="misc/shovel.lua" />
|
||||
<action itemid="3452" script="misc/rake.lua" />
|
||||
<action itemid="5710" script="misc/shovel.lua" />
|
||||
<action itemid="3483" allowfaruse="1" script="misc/fishing_rod.lua" />
|
||||
<action itemid="5865" script="misc/juice_squeezer.lua" />
|
||||
|
||||
12
data/actions/scripts/misc/rake.lua
Normal file
12
data/actions/scripts/misc/rake.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
|
||||
-- The Shattered Isles Parrot ring
|
||||
if target.itemid == 6094 then
|
||||
if player:getStorageValue(17502) == 1 and player:getStorageValue(17503) ~= 1 then
|
||||
toPosition:sendMagicEffect(CONST_ME_POFF)
|
||||
Game.createItem(6093, 1, Position(32422, 32770, 1))
|
||||
player:say("You have found a ring.", TALKTYPE_MONSTER_SAY)
|
||||
player:setStorageValue(17503, 1)
|
||||
end
|
||||
end
|
||||
return true
|
||||
end
|
||||
Reference in New Issue
Block a user