public String listQuestsStates(final Player player){
  final StringBuilder sb=new StringBuilder();
  sb.append("\r\n#'Open Quests': ");
  for (  final IQuest quest : quests) {
    if (quest.isStarted(player) && !quest.isCompleted(player)) {
      sb.append("\r\n" + quest.getName() + " ("+ quest.getSlotName()+ "): "+ player.getQuest(quest.getSlotName()));
    }
  }
  sb.append("\n#'Completed Quests': ");
  for (  final IQuest quest : quests) {
    if (quest.isCompleted(player)) {
      sb.append("\r\n" + quest.getName() + " ("+ quest.getSlotName()+ "): "+ player.getQuest(quest.getSlotName()));
    }
  }
  return sb.toString();
}

public String listQuestsStates ( final Player player ) { final StringBuilder sb = new StringBuilder ( ) ; sb . append ( "\r\n#'Open Quests': " ) ; for ( final IQuest quest : quests ) { if ( quest . isStarted ( player ) && ! quest . isCompleted ( player ) ) { sb . append ( "\r\n" + quest . getName ( ) + " (" + quest . getSlotName ( ) + "): " + player . getQuest ( quest . getSlotName ( ) ) ) ; } } sb . append ( "\n#'Completed Quests': " ) ; for ( final IQuest quest : quests ) { if ( quest . isCompleted ( player ) ) { sb . append ( "\r\n" + quest . getName ( ) + " (" + quest . getSlotName ( ) + "): " + player . getQuest ( quest . getSlotName ( ) ) ) ; } } return sb . toString ( ) ; }
dumps the internal quest states for the specified player . this is used for the inspectaction .
