Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local inv = peripheral.wrap("right")
- local suck = turtle.suckUp
- local drop = inv.drop
- function fillSlot(slot)
- if turtle.getItemCount(1) == 0 then
- suck
- end
- return drop(slot, 1)
- end
- local space = false
- while true do
- local dropped = fillSlot(1) or
- fillSlot(2) or
- fillSlot(3)
- if not dropped then
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment