Digging works
Cliff detection logic