mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-05 19:49:20 +02:00
8 lines
256 B
Lua
8 lines
256 B
Lua
function onUse(player, item, fromPosition, target, toPosition)
|
|
if player:getStorageValue(287) == 1 then
|
|
player:setStorageValue(287, 2)
|
|
Game.createItem(3233, 1, player:getPosition())
|
|
Game.sendMagicEffect(item:getPosition(), 2)
|
|
end
|
|
return true
|
|
end |