Quetzi

Quarry turtle

May 17th, 2013
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. while true do
  2.   os.pullEvent("redstone")
  3.   if rs.getInput("right") == true then
  4.     rs.setOutput("left",true)
  5.     sleep(0.2)
  6.     rs.setOutput("left",false)
  7.     turtle.select(1)
  8.     turtle.place()
  9.     sleep(7)
  10.     turtle.dig()  
  11.   end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment