/** * Overall crew description, using the name of the first crew member in the case of multi-crew cockpits. */ public String getDesc() { return getDesc(0); }
public static String formatPilotCompact(Crew pilot, boolean blindDrop) { String value = ""; if (blindDrop) { value += Messages.getString("ChatLounge.Unknown"); } else { value += pilot.getDesc(); } value += " (" + pilot.getSkillsAsString() + ")"; if (pilot.countOptions() > 0) { value += " (" + pilot.countOptions() + Messages.getString("ChatLounge.abilities") + ")"; } return value; }
public static String formatPilotTooltip(Crew pilot, boolean command, boolean init, boolean tough) { value += "<b>" + pilot.getDesc() + "</b><br>"; if (pilot.getNickname().length() > 0) { value += "<i>" + pilot.getNickname() + "</i><br>";
value += "<b>No " + pilot.getCrewType().getRoleName(i) + "</b>"; } else { value += "<b>" + pilot.getDesc(i) + "</b> (" + pilot.getCrewType().getRoleName(i) + "): "; value += pilot.getSkillsAsString(i); value += "<b>" + Messages.getString("ChatLounge.Unknown") + "</b><br/>"; } else { value += "<b>" + pilot.getDesc() + "</b><br/>";
String pilotString = c.getDesc(c.getCurrentPilotIndex()) + " ("; pilotString += c.getGunnery() + "/" + c.getPiloting(); int crewAdvCount = c.countOptions(PilotOptions.LVL3_ADVANTAGES);