mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 18:19:20 +02:00
14 lines
274 B
Lua
14 lines
274 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
item:transform(430, 1)
|
|
item:decay()
|
|
end
|
|
end
|
|
|
|
function onStepOut(creature, item, position, fromPosition)
|
|
if creature:isPlayer() then
|
|
item:transform(431, 1)
|
|
item:decay()
|
|
end
|
|
end
|