Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local v = 1
- local y = 0
- local x = 0
- function placesat()
- turtle.placeDown()
- turtle.forward()
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- turtle.forward()
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- turtle.forward()
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- turtle.forward()
- turtle.placeDown()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- x = 0
- end
- function landing()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.down()
- turtle.down()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- repeat
- turtle.down()
- v = v - 1
- until v < 2
- end
- print ("Enter your current elevation [Y] and press enter to begin.")
- y = read()
- repeat
- turtle.up()
- v = v + 1
- until v > (128 - y)
- placesat()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- placesat()
- turtle.turnLeft()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- turtle.turnRight()
- placesat()
- turtle.turnLeft()
- turtle.turnLeft()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- turtle.turnRight()
- turtle.turnRight()
- placesat()
- turtle.turnLeft()
- turtle.turnLeft()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- turtle.turnRight()
- turtle.turnRight()
- placesat()
- turtle.turnRight()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- turtle.turnLeft()
- placesat()
- turtle.turnRight()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- turtle.turnLeft()
- placesat()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- placesat()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- placesat()
- turtle.turnLeft()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- x = 0
- turtle.turnLeft()
- repeat
- turtle.forward()
- x = x + 1
- until x > 31
- x = 0
- turtle.turnRight()
- turtle.turnRight()
- landing()
Add Comment
Please, Sign In to add comment