public static TraderType ToTraderType(this StationFacility fac)
 {
     if (fac < StationFacility.TraderUnknown)
     {
         return(TraderType.NoTrader);
     }
     else
     {
         return((TraderType)fac);
     }
 }
 /// <summary>
 /// Check wether a station has a facility
 /// </summary>
 /// <param name="facility">Facility to check for</param>
 /// <returns>True, if the facility is present</returns>
 public bool HasFacility(StationFacility facility)
 {
     return(Facilities.Contains(facility));
 }