private static void stageChildren(Part p, int stage)
{
// Sepratrons should be children
foreach (Part child in p.children) {
if ((AutoAsparagus.stagesepratrons) && (child.name.ToLower ().Contains ("sepmotor"))) {
ASPConsoleStuff.printPart ("..setting child Sepratron to stage " + stage.ToString (), child);
setPartStage (child, stage);
}
if ((AutoAsparagus.stageParachutes) && (child.name.ToLower ().Contains ("parachute"))) {
ASPConsoleStuff.printPart ("..setting child Parachute to stage " + stage.ToString (), child);
setPartStage (child, stage);
}
}
}