Hi hanshino,
I was genuinely very happy and pleasantly surprised to see that you created an add-on specifically for The Cave. Thank you for taking the time to build this.
Auto-Dig is a really good idea. It removes some of the repetitive clicking without removing the mining speed, reach limitations, or the consequences of digging, so it still respects the intended gameplay of The Cave.
I looked through version 0.2.0, and the code seems carefully and thoughtfully written. I especially appreciate that you use Factorio’s normal "player.mine_entity" method instead of directly deleting rocks or changing tiles. This should allow The Cave’s normal mining events, caverns, resources, enemies, and other consequences to continue working correctly.
The three different modes, the 1/3-tile tunnel-width option, the enemy protection, and the collapse-stress protection are also very nice additions.
I want you to know that I fully support your add-on, and I have absolutely no problem with you developing and publishing a mod made for The Cave. I’m happy to support it, and if you ever need information about The Cave’s systems or compatibility, you are welcome to contact me.
I only noticed a few small technical points that may be worth improving:
-
In Auto-clear mode, when no reachable rock is found, the mod appears to search the entire reachable area every tick. On a public multiplayer server, especially with several players and upgraded mining reach, this might create unnecessary UPS usage. A small idle delay—perhaps checking every 10–30 ticks when no target is found—could make it safer for large servers.
-
The collapse protection currently relies on "diggy-v1.debug_max_stress", which is an internal testing interface rather than a permanent public API. It could change in a future The Cave update. If the interface becomes unavailable while Cave Collapse is enabled, it may be safer to pause Auto-Dig instead of continuing without protection. I can also look into providing a stable public remote interface for this purpose.
-
The first rock is mined immediately when Auto-Dig starts, and the mining cooldown is applied afterward. The long-term mining rate is similar to manual mining, but the first mining action is faster than normal. If the goal is exact parity with manual mining, you could apply the first mining delay before removing the first rock.
-
The mod currently includes English and Traditional Chinese localization. Adding Russian localization in the future would also be useful because The Cave has Russian-speaking players.
These are only improvement suggestions, not a rejection of the mod. Overall, I think this is a clever and useful add-on, and I’m really glad that The Cave inspired you to create it.
Thank you again for your work and for contributing something useful to The Cave community. I’m looking forward to seeing how the mod develops.