public override string CompInspectStringExtra() { CompProperties_WaterTank props = this.Props; string text = string.Concat(new string[] { "PowerBatteryStored".Translate(), ": ", this.storedWater.ToString("F0"), " / ", props.storedWaterMax.ToString("F0"), " L" }); string text2 = text; text = string.Concat(new string[] { text2, "\n", "PowerBatteryEfficiency".Translate(), ": ", (props.efficiency * 100f).ToString("F0"), "%" }); if (this.storedWater > 0f) { text2 = text; text = string.Concat(new string[] { text2, "\n", "Estate_WaterLeakRate".Translate(), ": ", LeakRate.ToString("F0"), "%" }); } return(text + "\n" + base.CompInspectStringExtra()); }