hubeb

3

May 7th, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. local height = 38
  2. while height > 0 do
  3. print (height)
  4. turtle.dig()
  5. print ("dug forwards")
  6. turtle.turnRight()
  7. print ("turned right")
  8. turtle.dig()
  9. print ("dug forwards")
  10. turtle.turnLeft()
  11. print ("turned left")
  12. turtle.forward()
  13. print ("moved forward")
  14. turtle.turnRight()
  15. print ("turned right")
  16. turtle.turnLeft()
  17. print ("turned left")
  18. turtle.back()
  19. print ("moved back")
  20. turtle.digDown()
  21. print ("dug down")
  22. turtle.down()
  23. print ("moved down")
  24. height = height - 1
  25. print (height)
  26. end
Advertisement
Add Comment
Please, Sign In to add comment