Improved digging controller. Collected resources are now added to inventory. (#39, #34, #31)