SHARE
TWEET

Untitled

a guest Aug 25th, 2019 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. height = 8
  2. function line(l)
  3. for i=1,l,1 do
  4.    
  5.     turtle.dig()
  6.     turtle.forward()
  7.     turtle.digDown()
  8.    
  9. end
  10. end
  11.  
  12. function move(d)
  13.  
  14. for i=1,d,1 do
  15.  
  16. turtle.forward()
  17. end
  18. end
  19.  
  20. function turn()
  21. turtle.turnLeft()
  22. turtle.turnLeft()
  23. end
  24.  
  25. function space()
  26. turtle.up()
  27. move(3)
  28. turtle.digDown()
  29. turtle.down()
  30. end
  31.  
  32. line(4) --T
  33. turtle.turnRight()
  34. line(height)
  35. turn()
  36. move(height)
  37. turtle.turnRight()
  38. line(4)
  39.  
  40. space()
  41.  
  42. turtle.turnRight() --I
  43. line(height)
  44. move(height)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top