public override void PostExposeData()
        {
            base.PostExposeData();
            Scribe_Values.Look(ref storedEnergy, "storedPower", 0f);
            CompProperties_OutDoorLamp props = Props;

            if (storedEnergy > props.storedEnergyMax)
            {
                storedEnergy = props.storedEnergyMax;
            }
        }
        public override string CompInspectStringExtra()
        {
            CompProperties_OutDoorLamp props = Props;
            string t = "PowerBatteryStored".Translate() + ": " + storedEnergy.ToString("F0") + " / " + props.storedEnergyMax.ToString("F0") + " Wd";

            t += "\n" + "PowerBatteryEfficiency".Translate() + ": " + (props.efficiency * 100f).ToString("F0") + "%";
            if (storedEnergy > 0f)
            {
                t += "\n" + "SelfDischarging".Translate() + ": " + Props.selfCharging.ToString("F0") + " W";
            }
            return(t);
        }