Guest User

Untitled

a guest
Nov 17th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.70 KB | None | 0 0
  1. function roof()
  2.  for a=1,4 do
  3.  turtle.forward()
  4.  turtle.placeDown()
  5.  end
  6. end
  7.  
  8. function roof3()
  9.  for c=1,3 do
  10.  turtle.forward()
  11.  turtle.placeDown()
  12.  end
  13. end
  14.  
  15. function roof2()
  16.  for d=1,2 do
  17.  turtle.forward()
  18.  turtle.placeDown()
  19.  end
  20. end
  21.  
  22. print("Bauvorgang wird ausgeführt")
  23.  
  24. turtle.forward()
  25. turtle.turnRight()
  26.  
  27. for b=1,5 do
  28.  turtle.forward()
  29.  turtle.placeDown()
  30. end
  31.  
  32. turtle.turnLeft()
  33.  
  34. roof()
  35.  
  36. turtle.turnLeft()
  37.  
  38. roof()
  39.  
  40. turtle.turnLeft()
  41.  
  42. roof3()
  43.  
  44. turtle.turnLeft()
  45.  
  46. roof3()
  47.  
  48. turtle.turnLeft()
  49.  
  50. roof2()
  51.  
  52. turtle.turnLeft()
  53.  
  54. roof2()
  55.  
  56. turtle.turnLeft()
  57.  
  58. turtle.forward()
  59.  
  60. turtle.placeDown()
  61.  
  62. turtle.turnLeft()  
  63.  
  64. turtle.forward()
  65.  
  66. turtle.placeDown()
Add Comment
Please, Sign In to add comment