mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 17:49:20 +02:00
16 lines
412 B
Lua
16 lines
412 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
item:transform(430, 1)
|
|
item:decay()
|
|
Game.transformItemOnMap({x = 32225, y = 32282, z = 09}, 429, 438)
|
|
end
|
|
end
|
|
|
|
function onStepOut(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
item:transform(431, 1)
|
|
item:decay()
|
|
Game.transformItemOnMap({x = 32225, y = 32282, z = 09}, 438, 429)
|
|
end
|
|
end
|