public bool Accept(HallOfFameEntry x) { ProtoCrewMember kerbal = x.GetKerbal(); if (kerbal == null) { return(false); } if (kerbal.rosterStatus == ProtoCrewMember.RosterStatus.Dead && !showDead) { return(false); } if (kerbal.rosterStatus == ProtoCrewMember.RosterStatus.Missing && !showDead) { return(false); } if (kerbal.rosterStatus == ProtoCrewMember.RosterStatus.Assigned && !showAssigned) { return(false); } if (kerbal.rosterStatus == ProtoCrewMember.RosterStatus.Available && !showAvailable) { return(false); } // if (showFlightOnly && FlightGlobals.ActiveVessel != null && !kerbal.InCrewOfActiveFlight()) { return(false); } // if (x.GetRibbons().Count == 0 && !showUndecorated) { return(false); } return(true); }