internal static float TonnageChanges(MechDef mechDef) { var engineCoreRef = mechDef.GetEngineCoreRef(); if (engineCoreRef == null) { return(0); } return(engineCoreRef.TonnageChanges); }