rules54

xray

Jan 28th, 2014
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.75 KB | None | 0 0
  1. for i=1, 3 do
  2.   turtle.suck()
  3. end
  4. local function dig()
  5.   turtle.dig()
  6.   turtle.digDown()
  7. end
  8. dig()
  9. turtle.down()
  10. dig()
  11. turtle.forward() dig()
  12. turtle.forward() turtle.digDown()
  13. turtle.back()
  14. turtle.place() turtle.down()
  15. turtle.place() turtle.up() turtle.select(2)
  16. turtle.placeDown() turtle.up()
  17. turtle.placeDown() turtle.forward()
  18. turtle.forward()
  19. turtle.select(4) turtle.digDown()
  20. turtle.down()
  21.  
  22. for k,v in pairs(rs.getSides()) do
  23.   rs.setOutput(v, true)
  24. end
  25. turtle.turnRight() turtle.turnRight()
  26.  
  27. os.pullEvent("key")
  28.  
  29. turtle.select(1)
  30. turtle.dig() turtle.forward()
  31. for i=1, 2 do
  32.   dig()
  33.   turtle.forward()
  34. end
  35. turtle.digDown()
  36. turtle.select(3) turtle.placeUp()
  37. for i=1,2 do
  38.   turtle.select(i)
  39.   turtle.dropUp()
  40. end
  41. turtle.digUp()
Advertisement
Add Comment
Please, Sign In to add comment