Exemple #1
0
 // deduce efficiency from technological level
 public static double DeduceEfficiency()
 {
   double[] value = {0.5, 0.6, 0.7, 0.8, 0.9};
   return value[Lib.CountTech(scrubber_efficiency.techs)];
 }
Exemple #2
0
 // get ecc level from tech
 static public double ECC()
 {
     double[] value = { 0.15, 0.33, 0.66, 1.0 };
     return(value[Lib.CountTech(signal_processing.techs)]);
 }
Exemple #3
0
        // ==========================================================================
        // # QUALITY
        // ==========================================================================


        // deduce quality from technological level
        public static double DeduceQuality()
        {
            double[] value = { 1.0, 2.0, 3.0, 4.0, 5.0 };
            return(value[Lib.CountTech(manufacturing_quality.techs)]);
        }