2019-01-16 17:16:38 -05: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