Added mineral cost to planting buildings
Removal of unused function
Changed minerals to update per second instead of per tick