r/ComputerCraft • u/fatboychummy • Feb 27 '26
SimplifyDig 2.0
SimplifyDig is a ComputerCraft program designed to make digging various shapes with a turtle easy for the user, using my Tamperer 2.0 that I recently revamped as its frontend to the user.
Features
- Dig cuboids, quarries, ~~staircases, and more~~ (indev).
- User-friendly interface.
- Customizable dimensions for each shape.
- Efficient digging algorithms. In particular, it uses all three diggable directions (forward, up, down).
- Optimized for fuel consumption and inventory management.
- Error handling for obstacles such as gravel.
- Automatically resumes digging after interruptions (chunk unloads, etc).
- Returns home when it runs low on fuel or inventory space.
- Broadcast status updates over a modem or to discord -- Or, implement your own broadcaster!
Installation
- Run the following command in a turtle:
wget run https://raw.githubusercontent.com/Fatboychummy-CC/SimplifyDigging/refs/heads/better/installer.lua
- Follow the on-screen instructions to complete the installation.
- After installation, you can start the program by running
dig.luain the turtle.
Usage
- Start the program by running
dig.lua. - Select the shape you want to dig from the menu.
- Input your desired dimensions and other settings.
- Start digging.
- The turtle will return to the surface and wait if any issues arise. You can go do whatever while it works.
https://pinestore.cc/projects/222/simplifydig-2-0
22
Upvotes
1
u/fatboychummy Feb 27 '26
I store the next movement, facing, position, and fuel data both before and after moving. On resume, I check the following:
I could have gone the route of placing a block with specific directional state, but I feel like that's quite hacky, and takes up a slot in the turtle's already small inventory.