public override string GetInfo()
        {
            float  uf6_rate_per_day    = resourceRate * 86400;
            float  up_uf6_rate_per_day = upgradedResourceRate * 86400;
            string info_str            = originalName + "\nCore Temperature: " + ReactorTemp.ToString("0") + "K\nTotal Power: " + ThermalPower.ToString("0") + "MW\nUF4 Max Consumption Rate: " + uf6_rate_per_day.ToString("0.00000") + " l/day\n[Upgrade Information]\nUpgraded Core Temperature:" + upgradedReactorTemp.ToString("0") + "K\nUpgraded Power: " + upgradedThermalPower.ToString("0") + "MW\nUpgraded UF4 Consumption: " + up_uf6_rate_per_day.ToString("0.00000") + "l/day";

            //return String.Format(originalName + "\nCore Temperature: {0}K\n Total Power: {1}MW\n UF4 Max Consumption Rate: {2}l/day\n -Upgrade Information-\n Upgraded Core Temperate: {3}K\n Upgraded Power: {4}MW\n Upgraded UF4 Consumption: {5}l/day", ReactorTemp, ThermalPower, uf6_rate_per_day, upgradedReactorTemp, upgradedThermalPower, up_uf6_rate_per_day);
            return(info_str);
        }
Beispiel #2
0
 public override string GetInfo()
 {
     return("Core Temperature: " + ReactorTemp.ToString("0") + " K\n Thermal Power: " + (ThermalPower * 1000).ToString("0.0") + " KW");
 }
Beispiel #3
0
        public override string GetInfo()
        {
            antimatter_rate     = resourceRate * GameConstants.antimatter_initiated_antimatter_cons_constant * 86400 * 1000000;
            d_he3_rate          = resourceRate * GameConstants.antimatter_initiated_d_he3_cons_constant * 86400;
            un_rate             = resourceRate * GameConstants.antimatter_initiated_uf4_cons_constant * 86400;
            upgraded_d_he3_rate = upgradedResourceRate * GameConstants.antimatter_initiated_upgraded_d_he3_cons_constant * 86400;
            upgraded_amat_rate  = upgradedResourceRate * GameConstants.antimatter_initiated_antimatter_cons_constant * 86400 * 1000000;

            string basic   = String.Format(" \n" + originalName + "\nCore Temperature: " + ReactorTemp.ToString("0") + "K\n Total Power: " + ThermalPower.ToString("0") + "MW\n D/He-3 Max Consumption Rate: " + d_he3_rate.ToString("0.00") + "Kg/day\n UN Max Consumption Rate: " + un_rate.ToString("0.00000000") + "m^3 /day\n Antimatter Max Consumption Rate:" + antimatter_rate.ToString("0.00") + "ng/day");
            string upgrade = String.Format("\n -Upgrade Information - \n" + upgradedName + "\nCore Temperature: " + upgradedReactorTemp.ToString("0") + "K\n Total Power: " + upgradedThermalPower.ToString("0") + "MW\n D/He-3 Max Consumption Rate: " + upgraded_d_he3_rate.ToString("0.00") + "Kg/day\n UF4 Max Consumption Rate: " + un_rate.ToString("0.00000000") + "m^3 /day\n Antimatter Max Consumption Rate:" + upgraded_amat_rate.ToString("0.00") + "ng/day");

            return(basic + upgrade);
            //return String.Format(originalName + "\nCore Temperature: {0}K\n Total Power: {1}MW\n Tokomak Power Consumption: {6}MW\n D/He-3 Max Consumption Rate: {2}Kg/day\n -Upgrade Information-\n Upgraded Core Temperate: {3}K\n Upgraded Power: {4}MW\n Upgraded D/T Consumption: {5}Kg/day", ReactorTemp, ThermalPower, deut_rate_per_day, upgradedReactorTemp, upgradedThermalPower, up_deut_rate_per_day, powerRequirements);
        }