private double GetGerminationDate()
{
// Only a percentage of the potential growth points will be able to grow fruits successfully
double plantGrowthSlowdown = 1.0 / PlantHealth();
double fruitSpawnReduction = (plantGrowthSlowdown + 0.25) / 1.25; //Nerf fruit count if plant is unhealthy, e.g. 40% less fruit if plant growth rate is 50%; up to 10% bonus if healthy
double randomNo = Api.World.Rand.NextDouble() / successfulGrowthChance * fruitSpawnReduction;
return randomNo > 1 ? Double.MaxValue : Api.World.Calendar.TotalDays + randomNo * maxGerminationDays;
}