internal static void AdjustTooltip(TooltipPrefab_Equipment tooltip, MechLabPanel panel, MechComponentDef mechComponentDef) { if (!mechComponentDef.IsEndoSteel()) { return; } int count; var tonnage = WeightSavings(panel.activeMechDef, out count); tooltip.bonusesText.text = string.Format("- {0} ton, {1} / {2}", tonnage, count, Control.settings.EndoSteelRequiredCriticals); }