Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function placeTurtles(turtles, spacing)
- slot = 1
- for i = 1, turtles do
- for i = 1, spacing + depth do
- turtle.digDown()
- turtle.down()
- end
- turtle.dig()
- --replace following code with advanced search through turtle to find a computercraft turtle
- if slot >= 16 then
- return "out of bounds"
- else
- turtle.select(slot)
- turtle.place()
- end
- end
- id, workerstatus = rednet.receive() --this process should have a large time limit for worst case scenario.
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement