UpgradeableFacilityConfigurator: Added SaveFacilitiesAsFlatCosts method.
UpgradeableFacilityConfigurator: Added SaveFacilitiesAsFlatCosts method.

--- a/UpgradeableFacilityConfigurator.cs
+++ b/UpgradeableFacilityConfigurator.cs
@@ -179,6 +179,34 @@
 			}
 		}
 
+		private ConfigNode SaveFacilitiesAsFlatCosts()
+		{
+			ConfigNode root = new ConfigNode();
+
+			foreach (var protoUpgradeable in ScenarioUpgradeableFacilities.protoUpgradeables.Values)
+			{
+				foreach (var facRef in protoUpgradeable.facilityRefs)
+				{
+					ConfigNode facilityNode = root.AddNode(FACILITY_DEF);
+
+					facilityNode.AddValue(FACILITY_ID, facRef.id);
+
+					var levels = this.GetObjectUpgradeLevels(facRef);
+
+					for (int i = 0; i < levels.Length; i++)
+					{
+						var facLevel = levels[i];
+
+						ConfigNode levelNode = facilityNode.AddNode(FACILITY_LEVEL);
+
+						levelNode.AddValue(LEVEL_COST, facLevel.levelCost);
+					}
+				}
+			}
+
+			return root;
+		}
+
 		public class ConfigurableFacilityDef
 		{
 			private List<ConfigurableLevelDef> levelDefs;