Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function HowMany()
- print ("How Many Double Rows Do You Want?") -- Asks How Many Lines
- repeat
- LinesNeeded = tonumber(read())
- until LinesNeeded > 0
- end
- function RepeatLine1()
- i = 1
- repeat
- turtle.placeDown()
- turtle.forward()
- i = i + 1
- until i == 13
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- i = 1
- repeat
- turtle.placeDown()
- turtle.forward()
- i = i + 1
- until i == 13
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function DoStuff()
- HowMany()
- repeat
- RepeatLine1()
- LinesNeeded = LinesNeeded - 1
- until LinesNeeded == 0
- end
- DoStuff()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement