This is an old revision of the document!
Notable Turtle Programs
Quarries
https://www.computercraft.info/forums2/index.php?/topic/5681-variable-size-quarry-now-with-super-ore-quarry%e2%84%a2/ https://pastebin.com/rpXRAZs4
See this article for more info
https://github.com/Starkus/quarry
updated fork = https://github.com/Baynar/quarry
Strip Mines
https://www.computercraft.info/forums2/index.php?/topic/29683-ore-collecting-miner-a-very-advanced-mining-program/ https://pastebin.com/gkz5sgZ8
This one lays torches but requires two scripts, a setup and a mine program. It's much more complicated and not worth the time IMO.
Farming
From ChatGPT
-- This turtle will plant and harvest a 20 by 20 area -- First, define the size of the area local area_width = 20 local area_length = 20 -- Next, move the turtle to the starting position -- (assume that the turtle is facing the correct direction) turtle.forward() -- Now, loop through the rows for i=1,area_length do -- Plant seeds on this row for j=1,area_width do turtle.placeDown() turtle.forward() end -- Move the turtle back to the beginning of the row for j=1,area_width do turtle.back() end -- Move the turtle to the next row turtle.turnRight() turtle.forward() turtle.turnRight() end -- Now, the turtle is at the end of the last row -- Move it back to the starting position for i=1,area_length do turtle.back() end turtle.turnLeft() for i=1,area_width do turtle.back() end turtle.turnLeft() -- The turtle is now back at the starting position turtle.sleep(600) -- sleep for 10 minutes -- Loop through the rows again to harvest the crops for i=1,area_length do -- Harvest the crops on this row for j=1,area_width do turtle.digDown() turtle.forward() end -- Move the turtle back to the beginning of the row for j=1,area_width do turtle.back() end -- Move the turtle to the next row turtle.turnRight() turtle.forward() turtle.turnRight() end -- Now, the turtle is at the end of the last row -- Move it back to the starting position for i=1,area_length do turtle.back() end turtle.turnLeft() for i=1,area_width do turtle.back() end turtle.turnLeft() -- Done!
This script will plant seeds in a 20 by 20 area and then return to the starting position to harvest the crops. Note that this script assumes that the turtle has enough seeds and fuel to complete the task, and that it is facing the correct direction when it starts.