Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Copyright by Sebastian M. Simon (bastisimon) , 2015
- -- config vars
- lengh = 5 -- + 1 Turtle self
- -- funtionen
- function head()
- shell.run("clear")
- print("--------------------------------------")
- print("")
- print("Row-Farmer is running...")
- print("")
- print("--------------------------------------")
- end
- function work()
- turtle.refuel()
- turtle.up()
- i = 0
- turtle.select(15)
- turtle.equipLeft()
- while (i < 5) do
- turtle.turnLeft()
- turtle.attack()
- turtle.turnRight()
- turtle.turnRight()
- turtle.attack()
- turtle.turnLeft()
- turtle.forward()
- i = (i + 1)
- end
- i = 0
- end
- head()
- print("press enter to start")
- input = read()
- if(input == "") then
- work()
- else
- print("Only Press enter to start...")
- sleep(5)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement