KerbalKore / CWPT

Cold War Progression
GNU General Public License v3.0
1 stars 4 forks source link

Electricity #11

Closed KerbalKore closed 4 years ago

KerbalKore commented 4 years ago

Electric systems in this game are in desperate need of a revamp. This is from the RO git. It would convert the EC/s into KW. Should we adapt it to work in stock/this and make it an Extra?

@PART[*]:HAS[@MODULE[*]:HAS[@RESOURCE[ElectricCharge]]]:FOR[zzzElectricityUnits]
{
    @MODULE,*:HAS[@RESOURCE[ElectricCharge]]
    {
        @RESOURCE[ElectricCharge]
        {
            %varyTime = False
            %useSI = True
            %displayUnitMult = 1000
            %unitName = Watts
        }
    }
}

@PART[*]:HAS[@MODULE[ModuleGenerator]]:FOR[zzzElectricityUnits]
{
    @MODULE[ModuleGenerator],*
    {
        @INPUT_RESOURCE[ElectricCharge]
        {
            %varyTime = False
            %useSI = True
            %displayUnitMult = 1000
            %unitName = Watts
        }

        @OUTPUT_RESOURCE[ElectricCharge]
        {
            %varyTime = False
            %useSI = True
            %displayUnitMult = 1000
            %unitName = Watts
        }
    }
}
DeltaDizzy commented 4 years ago

No. CWPT is only a tech tree. RIS might have something like that, but not this.

KerbalKore commented 4 years ago

Alright. im gonna keep the "electric revamp" idea in the back of my mind for now.