function starport_code(value) {
  let rtext = ``;
  switch (value.toUpperCase()) {
  case 'A':
    rtext =
        `Excellent Quality. Refined fuel and annual maintenance overhaul available. Shipyard capable of constructing starships and non-starships present.`;
    break;
  case 'B':
    rtext =
        `Good Quality. Refined fuel and annual maintenance overhaul available. Shipyard capable of constructing non-starships present.`;
    break;
  case 'C':
    rtext =
        `Routine Quality. Only unrefined fuel available. Reasonable repair facilities present.`;
    break;
  case 'D':
    rtext =
        `Poor Quality. Only unrefined fuel available. No repair facilities present.`;
    break;
  case 'E':
    rtext =
        `Frontier Installation. Essentially a marked spot of bedrock with no fuel, facilities, or bases present.`;
    break;
  case 'X':
    rtext = `No Starport. No provision is made for any ship landings.`;
    break;
  default:
    rtext = `Unknown`;
  }
  return (rtext);
}
// Lookup starport description (letter values that are not hex)
Lookup starport description (letter values that are not hex)
Lookup starport description ( letter values that are not hex )
function starport_code(value) {
  let rtext = ``;
  switch (value.toUpperCase()) {
  case 'A':
    rtext =
        `Excellent Quality. Refined fuel and annual maintenance overhaul available. Shipyard capable of constructing starships and non-starships present.`;
    break;
  case 'B':
    rtext =
        `Good Quality. Refined fuel and annual maintenance overhaul available. Shipyard capable of constructing non-starships present.`;
    break;
  case 'C':
    rtext =
        `Routine Quality. Only unrefined fuel available. Reasonable repair facilities present.`;
    break;
  case 'D':
    rtext =
        `Poor Quality. Only unrefined fuel available. No repair facilities present.`;
    break;
  case 'E':
    rtext =
        `Frontier Installation. Essentially a marked spot of bedrock with no fuel, facilities, or bases present.`;
    break;
  case 'X':
    rtext = `No Starport. No provision is made for any ship landings.`;
    break;
  default:
    rtext = `Unknown`;
  }
  return (rtext);
}
function starport_code ( value ) { let rtext = ` ` ; switch ( value . toUpperCase ( ) ) { case 'A' : rtext = ` ` ; break ; case 'B' : rtext = ` ` ; break ; case 'C' : rtext = ` ` ; break ; case 'D' : rtext = ` ` ; break ; case 'E' : rtext = ` ` ; break ; case 'X' : rtext = ` ` ; break ; default : rtext = ` ` ; } return ( rtext ) ; }
Lookup starport description (letter values that are not hex)
Lookup starport description ( letter values that are not hex )