First real program, and I bet there are alot better versions out there then this.
But meh sharing it anyways.
Hope some people enjoy this.
Mines 27 stacks (Normal chest) then places the cobble every stack into a chest placed to the left of the turtle
Requires:
Make sure you have rednet open on all the mining turtle
All Mining turtles IDs must be bunched together 1-10 no 1-3, 5-7, 9-10 (Though it is do able with a bit of editing)
Main Computer
Start
local stop = false local num = X while stop == false do if num == Y then stop = true else rednet.send(num,"Mine",true) num = num + 1 end end print("Done!")Change
num = X to the first turtle ID #
num == Y to the last turtle ID #
Turtles
Wait
x,y,z=rednet.receive() if y == "Mine" then shell.run("Mine") end print("Started")
Mine
local stor = 0 local bool = false local kill = 0 while bool == false do if kill == 27 then bool = true else if stor == 64 then turtle.turnLeft() turtle.drop(64) turtle.turnRight() stor = turtle.getItemCount(1) kill = kill + 1 else turtle.dig() stor = turtle.getItemCount(1) end end end print("Finished!")