public static BiPropellantConfig GetBiPropellantConfig(string mixtureTitle)
        {
            List <BiPropellantConfig> biPropConfigs = BiPropConfigs;

            for (int i = 0; i < biPropConfigs.Count; ++i)
            {
                BiPropellantConfig config = biPropConfigs[i];
                if (config.MixtureTitle == mixtureTitle)
                {
                    return(config);
                }
            }
            return(null);
        }
        void LoadStructuralMaterials()
        {
            materials.Clear();

            ConfigNode[] structuralNodes = GameDatabase.Instance.GetConfigNodes("ProcEngStructuralMaterial");

            for (int i = 0; i < structuralNodes.Length; ++i)
            {
                ConfigNode node = structuralNodes[i];
                if (BiPropellantConfig.CheckConfigResourcesExist(node))
                {
                    materials[i] = new StructuralMaterial(node);
                }
            }
        }
        void LoadMixtures()
        {
            //Load BiProps
            ConfigNode[] biPropNodes = GameDatabase.Instance.GetConfigNodes("ProcEngBiPropMixture");

            biPropConfigs = new List <BiPropellantConfig>();
            for (int i = 0; i < biPropNodes.Length; ++i)
            {
                ConfigNode node = biPropNodes[i];
                if (BiPropellantConfig.CheckConfigResourcesExist(node))
                {
                    biPropConfigs[i] = new BiPropellantConfig(node);
                }
            }
        }