Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function farm()
- for i=1,5 do
- -- turtle.digDown("left")
- turtle.placeDown()
- turtle.forward()
- end
- end
- function left()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- end
- function right()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- end
- function dump()
- turtle.select(2)
- turtle.dropDown()
- turtle.select(1)
- end
- function again()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- for i=1,6 do
- turtle.forward()
- end
- turtle.turnLeft()
- turtle.turnLeft()
- end
- --Main program
- turtle.forward()
- farm()
- right()
- farm()
- left()
- farm()
- --dump()
- again()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement