Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- orientation= true
- slot=1
- turtle.select(1)
- for i=5, do
- for i=1, 14 do
- -- if theres stuff in front, dig it out, otherwise move
- while turtle.detect() do
- turtle.dig()
- end
- turtle.digDown()
- if turtle.getInventoryCount==0 then
- slot= slot +1
- turtle.select(slot)
- end
- turtle.placeDown()
- turtle.forward()
- end
- -- if it's going turn right, if its coming turn left
- if orientation then
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- orientation= !orientation
- else
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- orientation= !orientation
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement