Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local dirFullCellChest = ""
- local drive = peripheral.wrap("bottom")
- while true do
- for j = 1,10 do
- item = drive.getStackInSlot(j, false)
- if item ~= nil then
- print(j.." - "..item.display_name)
- cell = item.me_cell
- types = cell.freeTypes
- bypes = cell.freeBytes
- print("t="..types.." | b="..bytes)
- if types == 0 or bytes == 0 then
- drive.pushItem(dirFullCellChest, j, 1, j)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement