public static bool IsIgnoreDamage(this MechComponentDef def) { return(def.HasCustomFlag("ignore_damage")); }