mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 17:49:20 +02:00
14 lines
371 B
Lua
14 lines
371 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() and creature:getPlayer():isKnight() and Game.isItemThere({x = 32673, y = 32094, z = 08}, 3264) 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
|