2025-02-26 13:42:34 +01:00

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