Ejemplo n.º 1
0
 private float ComputeMaxPowerOutput()
 {
     return(CheckIsWorking() && SourceComp.ProductionEnabledByType(MyResourceDistributorComponent.ElectricityId) ? BlockDefinition.MaxPowerOutput : 0f);
 }