Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- size = 0
- turtle.refuel()
- print("Refueled turtle!")
- function digPlanting()
- turtle.turnLeft()
- turtle.dig()
- turtle.turnRight()
- turtle.turnRight()
- turtle.dig()
- turtle.turnLeft()
- end
- function back()
- turtle.turnRight()
- turtle.turnRight()
- count = 0
- while count < 16 do
- turtle.forward()
- count = count + 1
- end
- end
- while size < 16 do
- turtle.forward()
- digPlanting()
- size = size + 1
- end
- if size == 16 then
- back()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement