Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ppf()
- i=1
- while true do
- if turtle.getItemCount(i) ~=0 then
- turtle.select(i)
- turtle.place()
- break
- else
- i=i+1
- turtle.select(i)
- turtle.place()
- end
- if turtle.detect() then break
- end
- end
- end
- function ppup()
- c=1
- while true do
- if turtle.getItemCount(c) ~=0 then
- turtle.select(c)
- turtle.placeUp()
- break
- else
- c=c+1
- turtle.select(c)
- turtle.placeUp()
- end
- if turtle.detectUp() then break
- end
- end
- end
- function ppdw()
- d=1
- while true do
- if turtle.getItemCount(d) ~=0 then
- turtle.select(d)
- turtle.placeDown()
- break
- else
- d=d+1
- turtle.select(d)
- turtle.placeDown()
- end
- if turtle.detectDown() then break
- end
- end
- end
- turtle.forward()
- turtle.turnRight()
- ppup()
- ppdw()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- ppf()
- turtle.turnRight()
- turtle.turnRight()
- ppup()
- ppdw()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- ppf()
- turtle.turnRight()
- turtle.turnRight()
- ppup()
- ppdw()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- ppf()
- turtle.turnRight()
- turtle.turnRight()
- turtle.turnLeft()
- ppup()
- ppdw()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- ppf()
- turtle.turnRight()
- turtle.turnRight()
- ppup()
- ppdw()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- ppf()
- turtle.turnRight()
- turtle.turnRight()
- ppup()
- ppdw()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- ppf()
- turtle.turnRight()
- turtle.turnRight()
- turtle.turnRight()
- ppup()
- ppdw()
- turtle.forward()
- turtle.turnRight()
- turtle.turnRight()
- ppf()
- turtle.turnRight()
- turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement