public override void CompTick()
        {
            base.CompTick();
            var gainedEnergy = DesiredPowerOutput;

            AddEnergy(gainedEnergy * CompPower.WattsToWattDaysPerTick);
            if (compGlowerExtended.compGlower != null)
            {
                DrawPower(Mathf.Min(Props.selfCharging * CompPower.WattsToWattDaysPerTick, storedEnergy));
            }
            if (compGlowerExtended != null)
            {
                var localHour = GenLocalDate.HourOfDay(this.parent.Map);
                if (localHour >= 8 && localHour <= 19)
                {
                    if (compGlowerExtended.compGlower != null)
                    {
                        compGlowerExtended.RemoveGlower();
                    }
                }
                else
                {
                    if (storedEnergy <= 0)
                    {
                        if (compGlowerExtended.compGlower != null)
                        {
                            compGlowerExtended.RemoveGlower();
                        }
                    }
                    else if (compGlowerExtended.compGlower == null)
                    {
                        compGlowerExtended.UpdateGlower(compGlowerExtended.currentColorInd);
                    }
                }
            }
        }
        public override void CompTick()
        {
            base.CompTick();
            var gainedEnergy = DesiredPowerOutput;

            AddEnergy(gainedEnergy * CompPower.WattsToWattDaysPerTick);
            DrawPower(Mathf.Min(Props.selfCharging * CompPower.WattsToWattDaysPerTick, storedEnergy));
            if (compGlowerExtended != null)
            {
                if (storedEnergy <= 0)
                {
                    if (compGlowerExtended.compGlower != null)
                    {
                        compGlowerExtended.RemoveGlower();
                    }
                }
                else if (compGlowerExtended.compGlower == null)
                {
                    compGlowerExtended.UpdateGlower(compGlowerExtended.currentColorInd);
                }
            }
        }