Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- peripheral.wrap("right")
- local tArgs = {...}
- function buckkit()
- turtle.select(1)
- for i = 1, 15 do
- if turtle.detectDown() == true then
- turtle.forward()
- else
- turtle.placeDown()
- turtle.forward()
- end
- end
- end
- function cleanup()
- turtle.select(16)
- turtle.placeDown()
- for i = 1,15 do
- turtle.select(i)
- turtle.dropDown()
- end
- sleep(20)
- turtle.select(1)
- turtle.suckDown()
- turtle.select(16)
- turtle.digDown()
- end
- if tArgs[1] == nil then tArgs[1] = 1 end
- for i = 1,tArgs[1] do
- buckkit()
- cleanup()
- end
Advertisement
Add Comment
Please, Sign In to add comment