proc/get_work(W as turf in mined_walls)
if(W in mined_walls)
usr<<"tried to step"
usr<<"finished pathing,started mining"
When this proc is executed, mob moves south once. I try to make mob to move to the wall and then mine. If you want, feel free to make a code from scratch, I already don't remember how many times I edited it while trying to make it work, too bad I couldn't fix it.
EDIT: Damn it, forgot to name topic, now fixed.