denesik

t1

Sep 12th, 2013
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. function u(col)
  2.   for i=1,col do
  3.     turtle.digUp()
  4.     turtle.up()
  5.     turtle.placeDown()
  6.   end
  7. end
  8.  
  9. function f(col)
  10.   for i=1,col-1 do
  11.     turtle.placeDown()
  12.     turtle.dig()
  13.     turtle.forward()
  14.    
  15.   end
  16. end
  17.  
  18. u(3)
  19. f(2)
  20. u(4)
  21. f(2)
  22. u(5)
  23. f(2)
  24. u(1)
  25. f(2)
  26. u(1)
  27. f(2)
  28. u(5)
  29. f(2)
  30. u(5)
  31. f(7)
  32. u(4)
  33. f(2)
  34. u(5)
  35. f(2)
  36. u(6)
  37. f(2)
  38. u(7)
  39. f(2)
  40. u(7)
  41. f(2)
  42. u(7)
Advertisement
Add Comment
Please, Sign In to add comment