Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=10
- b=10
- c=50
- function sss()
- for i=1,a-1 do
- if turtle.getFuelLevel()<=64 then
- turtle.select(16)
- turtle.refuel(1)
- end
- mmm()
- end
- end
- function unload()
- for i=2,15 do
- turtle.select(i)
- turtle.dropDown(64)
- end
- end
- function mmm()
- uuu=false
- if turtle.detect() then uuu=true end
- s=1
- while turtle.detect() do
- turtle.dig()
- turtle.digUp()
- turtle.up()
- s=s+1
- end
- for z=1,s-1 do
- turtle.digDown()
- turtle.down()
- end
- turtle.select(1)
- turtle.placeDown()
- turtle.forward()
- turtle.suckDown()
- if uuu then
- turtle.digDown()
- end
- turtle.placeDown()
- end
- while true do
- unload()
- turtle.forward()
- turtle.suckDown()
- turtle.forward()
- turtle.suckDown()
- for n=1,b/2 do
- sss()
- turtle.turnLeft()
- turtle.forward()
- turtle.suckDown()
- turtle.turnLeft()
- sss()
- turtle.turnRight()
- turtle.forward()
- turtle.suckDown()
- turtle.turnRight()
- end
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.suckDown()
- turtle.forward()
- turtle.suckDown()
- turtle.turnLeft()
- for i=1,b do
- turtle.forward()
- turtle.suckDown()
- end
- turtle.turnLeft()
- unload()
- sleep(c)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement