mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 17:49:20 +02:00
8 lines
350 B
Lua
8 lines
350 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() and Game.isItemThere({x = 32255, y = 31837, z = 09},2026) then
|
|
Game.sendMagicEffect({x = 32255, y = 31837, z = 09}, 3)
|
|
Game.removeItemOnMap({x = 32255, y = 31837, z = 09}, 2026)
|
|
doRelocate({x = 32255, y = 31837, z = 10},{x = 32255, y = 31837, z = 09})
|
|
end
|
|
end
|