mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 17:49:20 +02:00
13 lines
441 B
Lua
13 lines
441 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
doRelocate(item:getPosition(),{x = 33194, y = 32853, z = 08})
|
|
creature:getPlayer():setTown(Town("Ankrahmun"))
|
|
Game.sendMagicEffect({x = 33194, y = 32853, z = 08}, 13)
|
|
end
|
|
end
|
|
|
|
function onAddItem(item, tileitem, position)
|
|
doRelocate(item:getPosition(),{x = 33195, y = 32851, z = 06})
|
|
Game.sendMagicEffect({x = 33195, y = 32851, z = 06}, 14)
|
|
end
|