Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local c = peripheral.wrap("left")
- local a = peripheral.wrap("bottom")
- local beans = {}
- function scanSlot(slot)
- c.pushItem("south", slot,1)
- turtle.dropDown()
- data = a.getAspects()
- -- for i,j in pairs(data) do
- print(data)
- -- end
- turtle.suckDown()
- c.pullItemIntoSlot("south", 1, 1,slot)
- end
- for i = 1,5 do
- scanSlot(i)
- end
Advertisement
Add Comment
Please, Sign In to add comment