// 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)]; }
// 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)]); }
// ========================================================================== // # 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)]); }