public string getResourceNames()
{
String total = "";
foreach (PartResource resource in part.Resources)
{
if (total != "")
total += "\n";
total += resource.resourceName + ": " + resource.maxAmount.ToString("0.##");
//NK Add Solid Fuel
if (resource.resourceName == "SolidFuel")
{
if (stretchSRB)
{
total += "\nThrust: " + Math.Round(((ModuleEngines)part.Modules["ModuleEngines"]).maxThrust, 2);
total += "kN (Burn time: " + Math.Round(burnTime, 2) + "s, heat " + Math.Round(((ModuleEngines)part.Modules["ModuleEngines"]).heatProduction, 2) + ")";
}
}
}
return total;
}