Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function forwardBy(n)
- for i=1,n do
- turtle.forward()
- end
- end
- function collectItems()
- forwardBy(8)
- turtle.turnRight()
- forwardBy(1)
- turtle.turnRight()
- forwardBy(7)
- turtle.turnLeft()
- forwardBy(1)
- turtle.turnLeft()
- forwardBy(7)
- turtle.turnRight()
- forwardBy(1)
- turtle.turnRight()
- forwardBy(7)
- turtle.turnLeft()
- forwardBy(1)
- turtle.turnLeft()
- forwardBy(7)
- turtle.turnRight()
- forwardBy(1)
- turtle.turnRight()
- forwardBy(7)
- turtle.turnLeft()
- forwardBy(1)
- turtle.turnLeft()
- forwardBy(7)
- turtle.turnRight()
- forwardBy(1)
- turtle.turnRight()
- forwardBy(8)
- turtle.turnRight()
- forwardBy(7)
- turtle.turnRight()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement