private static bool PrefixRequireEngineer(ModuleWheelDamage __instance)
 {
     if (FlightGlobals.ActiveVessel.VesselValues.RepairSkill.value < 0)
     {
         ScreenMessages.PostScreenMessage(Localizer.Format("#BSS_LOC_scrmsg_reqengg"));
     }
     else
     {
         __instance.SetDamaged(false);
     }
     return(false);
 }
 private static bool PrefixOverrideLvlReq(ModuleWheelDamage __instance)
 {
     if (FlightGlobals.ActiveVessel.VesselValues.RepairSkill.value < lvlReq)
     {
         // #autoLOC_214609 and #autoLOC_246904 are identical
         // bet that the smaller 214609 is for ModuleParachute, use 246904 here
         ScreenMessages.PostScreenMessage(Localizer.Format("#autoLOC_246904", lvlReq.ToString()));
     }
     else
     {
         __instance.SetDamaged(false);
     }
     return(false);
 }
        public void RepairWheel()
        {
            if (wheelDamage == null)
            {
                return;
            }
            if (wheelDamage.isDamaged == false)
            {
                return;
            }

            //Make sure that the active vessel has a robonaut.
            if (FlightGlobals.ActiveVessel.FindPartModuleImplementing <ModuleRobonaut>() == null)
            {
                ScreenMessages.PostScreenMessage(ModuleRobonaut.NoRobonautMsg, ModuleRobonaut.MessageDuration, ScreenMessageStyle.UPPER_CENTER);
                FlightLogger.fetch.LogEvent(ModuleRobonaut.NoRobonautMsg);
                return;
            }

            //Trigger the wheel repair event.
            wheelDamage.SetDamaged(false);
        }