Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Create Path
- -- Author:Adan
- -- 1- Create Path will dig,
- -- 2- turn Right, dig, Place#1
- -- 3- turn Left *2, dig,Place#1
- -- 4- turn Right, Foward
- -- 5- turn Right *2, Place#1
- -- 6- turn Right *2
- -- repeat
- print ("Starting Create Path")
- -- Lenght of the path
- for i = 1, 15 do
- -- 1
- turtle.dig()
- --2
- turtle.turnRight()
- turtle.dig()
- turtle.place()
- --3
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.dig()
- turtle.place()
- --4
- turtle.turnRight()
- turtle.forward()
- --5
- turtle.turnRight()
- turtle.turnRight()
- turtle.place()
- --6
- turtle.turnRight()
- turtle.turnRight()
- turtle.digUp()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement