Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ functions ]]--
- function harvest()
- turtle.forward()
- turtle.digDown()
- turtle.suckDown()
- turtle.select (2)
- turtle.placeDown()
- end
- function straight()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- harvest()
- end
- function turn()
- harvest()
- harvest()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.digDown()
- turtle.suckDown()
- turtle.select (2)
- turtle.placeDown()
- harvest()
- turtle.turnLeft()
- harvest()
- turtle.turnLeft()
- harvest()
- turtle.turnRight()
- end
- function curve()
- harvest()
- turtle.turnRight()
- harvest()
- turtle.turnLeft()
- harvest()
- turtle.turnLeft()
- harvest()
- turtle.turnRight()
- end
- turtle.select (1)
- if turtle.getItemCount(1) < 5 then
- turtle.suckUp()
- if turtle.getItemCount(1) < 5 then
- rs.setOutput("left", true)
- repeat
- turtle.suckUp()
- sleep(5)
- turtle.getItemCount(1)
- until turtle.getItemCount(1) > 45
- shell.run("wheat")
- end
- end
- rs.setOutput("left",false)
- if turtle.getFuelLevel() < 65 then
- turtle.refuel(1)
- end
- turtle.forward()
- straight()
- turtle.turnRight()
- turn()
- curve()
- curve()rn()
- curve()
- curve()
- curve()
- curve()
- curve()
- curve()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- for variable = 3,7 do
- turtle.select(variable)
- turtle.dropDown()
- term.clear()
- term.setCursorPos(1,1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement