mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 18:19:20 +02:00
11 lines
333 B
Lua
11 lines
333 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() and creature:getPlayer():getStorageValue(8) == 0 then
|
|
creature:getPlayer():setStorageValue(8, 1)
|
|
end
|
|
Game.sendMagicEffect(item:getPosition(), 15)
|
|
end
|
|
|
|
function onAddItem(item, tileitem, position)
|
|
Game.sendMagicEffect(item:getPosition(), 15)
|
|
end
|