mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 10:09:20 +02:00
14 lines
402 B
Lua
14 lines
402 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
if Game.isItemThere({x = 33368, y = 31756, z = 11}, 355) then
|
|
Game.transformItemOnMap({x = 33368, y = 31756, z = 11}, 355, 386)
|
|
end
|
|
end
|
|
end
|
|
|
|
function onStepOut(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
Game.transformItemOnMap({x = 33368, y = 31756, z = 11}, 386, 355)
|
|
end
|
|
end
|