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

7 lines
199 B
Lua

function onAddItem(item, tileitem, position)
if item:getType():isMovable() and Tile(position):getThingCount() == 2 then
item:getPosition():sendMagicEffect(16)
item:remove()
end
return true
end