CaveworldFlora.Building_FungiponicsBasin.GetInspectString C# (CSharp) Method

GetInspectString() public method

public GetInspectString ( ) : string
return string
        public override string GetInspectString()
        {
            float temperature = GenTemperature.GetTemperatureForCell(this.Position);
            ThingDef_ClusterPlant clusterPlantDef = this.GetPlantDefToGrow() as ThingDef_ClusterPlant;
            if (temperature < clusterPlantDef.minGrowTemperature)
            {
                return "Cannot grow now: too cold.";
            }
            else if (temperature > clusterPlantDef.maxGrowTemperature)
            {
                return "Cannot grow now: too hot.";
            }
            else
            {
                return "Growing.";
            }
        }
    }
Building_FungiponicsBasin