Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- z=0
- y=0
- function up()
- while turtle.up() == false do
- turtle.digUp()
- turtle.attackUp()
- end
- end
- while 1 do
- turtle.select(1)
- turtle.turnRight()
- turtle.suck(64-turtle.getItemCount())
- turtle.turnRight()
- turtle.select(2)
- turtle.suck(64-turtle.getItemCount())
- turtle.turnRight()
- turtle.select(3)
- turtle.suck(64-turtle.getItemCount())
- turtle.refuel(1)
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.select(1)
- turtle.place()
- turtle.select(2)
- turtle.place()
- turtle.place()
- turtle.place()
- turtle.up()
- repeat
- if turtle.detect() == false then
- turtle.down()
- if turtle.place() == false then
- sleep(300)
- end
- turtle.up()
- end
- if turtle.detect() == true then
- y=1
- end
- until y==1
- y=0
- turtle.down()
- while turtle.detect() == true do
- turtle.dig()
- up()
- z=z+1
- end
- for c=1,z do
- turtle.down()
- end
- z=0
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- turtle.select(4)
- turtle.dropUp()
- turtle.select(5)
- turtle.dropUp()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement