Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("+-------------------------------------+")
- print("| Please place fuel in the lower- |")
- print("| right slot. |")
- print("+-------------------------------------+")
- sleep(0.5)
- print("How big of a square do you want? ")
- sqrSize = read()
- function plcColumn()
- for i = 1, sqrSize do
- turtle.forward()
- turtle.placeDown()
- end
- end
- --Even Column Placement
- function aa()
- turtle.placeDown()
- plcColumn()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- --Odd Column Placement
- function ab()
- turtle.placeDown()
- plcColumn()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- if sqrSize / 2 == true
- isOdd = false
- else
- isOdd = true
- end
- print(isOdd)
Advertisement
Add Comment
Please, Sign In to add comment