mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 10:09:20 +02:00
9 lines
306 B
Lua
9 lines
306 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
doRelocate(item:getPosition(),{x = 33212, y = 31671, z = 13})
|
|
item:getPosition():sendMagicEffect(11)
|
|
Game.sendMagicEffect({x = 33212, y = 31671, z = 13}, 11)
|
|
creature:getPlayer():setStorageValue(203,1)
|
|
end
|
|
end
|