You, sir, are amazing.
Can this be turned on only for certain creatures/races? I was thinking having goblins not able to dig, but allowing trolls to.
Also, is there is difference between digging through rock and digging soil? (If you wanted to be extra nifty, calculate the digging speed from the density of the material - for the first time, the densities would finally see some use.)