Advertisement
DRAWNBOX

Non Finished Paste

Jul 16th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. function HowMany()
  2.     print ("How Many Double Rows Do You Want?") -- Asks How Many Lines
  3.     repeat
  4.     LinesNeeded = tonumber(read())
  5.     until LinesNeeded > 0
  6. end
  7. function RepeatLine1()
  8.     i = 1
  9.     repeat
  10.         turtle.placeDown()
  11.         turtle.forward()
  12.         i = i + 1
  13.     until i == 13
  14.     turtle.placeDown()
  15.     turtle.turnRight()
  16.     turtle.forward()
  17.     turtle.turnRight()
  18.     i = 1
  19.     repeat
  20.         turtle.placeDown()
  21.         turtle.forward()
  22.         i = i + 1
  23.     until i == 13
  24.     turtle.placeDown()
  25.     turtle.turnLeft()
  26.     turtle.forward()
  27.     turtle.turnLeft()
  28. end
  29.  
  30. function DoStuff()
  31.     HowMany()
  32.     repeat
  33.         RepeatLine1()
  34.         LinesNeeded = LinesNeeded - 1
  35.     until LinesNeeded == 0
  36. end
  37. DoStuff()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement