Based on 0.8.3, added resource harvesting