Fantastic script. I've been really enjoying it. There are just a few notes that I have that I'd like to bring to your attention:
When I have all the southern tunnels chosen and the script is pathing to the south-western section it detects the veins that do not require the rockfalls to be broken even when I do not have this section chosen. Also, it seems to break rockfalls on the south-eastern path but then get confused; it seems to miss the vein sometimes then run back to a path in the main area a couple of times. It isn't too big of a deal, but it certainly looks bot-y.
Also, I know you're adding some features soon (I read in the thread), but I have a short wishlist for this script:
1) Pick up hammer from box when fixing struts so we don't have to carry around a hammer.
2) Choose one or two struts to fix, or make this random. This breaks up the pattern a little. Also, the script shouldn't fix struts if the paydirt is being cleaned already.
3) Collect ore every other time you deposit paydirt. I.e. Deposit paydirt -> go mine -> Deposit paydirt -> collect twice -> repeat
4) Always have ore being cleaned. I.e. Deposit paydirt -> go mine while it is cleaned -> deposit paydirt -> collect once -> repeat
I realize the 3rd and 4th on the list can be complicated, but this is imperative for going for a high mining level. Nobody who mines in the upper levels collects ores every time they drop off paydirt, and if they do it's because they have ore already cleaned. It would be awesome if you just had a counter for the number of times you deposited paydirt, then make sure there is always one "load" pending and ready to be collected. For instance: deposit paydirt = 1 pending, then mine, and if nothing shows up in the sack you know nobody fixed the struts while you were gone and in order to deposit the load you must drop one paydirt, get a hammer, and fix it. Then you can deposit the paydirt and collect one load of ore and put it in the bank.
Just some ideas. I hope this helps some. I'm loving your scripts Let me know if you would like some clarification, as this might be convoluted.