Or just use
local item_exceptions = {2152, 2160, 5792, 5793, 5794, 5795, 5796, 5797, 1618, 2589, 2137}
function onAddItem(item, tile, pos)
if not isInArray(item_exceptions, item.itemid) then
doTeleportThing(item.uid, {x = pos.x + 1, y = pos.y, z = pos.z})
end
return true
end
This is mostly...