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); } } }