2019-01-16 17:16:38 -05:00

8 lines
261 B
Lua

function onAddItem(item, tileitem, position)
if (item:getType():isMovable() and Tile(position):getThingCount() == 2) or
(tileitem:getId() >= 4874 and tileitem:getId() <= 4880) then
item:getPosition():sendMagicEffect(9)
item:remove()
end
return true
end