public void removeExperimentData()
 {
     part.mass -= expData.getMass();
     setExperiment(ExperimentData.getNullObject());
 }
 /// <summary>Overridden from IPartMassModifier</summary>
 public float GetModuleMass(float defaultMass, ModifierStagingSituation sit)
 {
     return((expData != null)? expData.getMass() : 0f);
 }
 /// <summary>
 /// Gets the mass of the equipment plus installed experiments.
 /// </summary>
 /// <returns>The mass.</returns>
 public float getMass()
 {
     return(mass + ((exp != null)? exp.getMass() : 0f));
 }
 public void removeExperimentData()
 {
     lab.part.mass -= exp.getMass();
     exp            = null;
 }