StringBuffer sMech = new StringBuffer( mech.getShortName() ); if ( !isInf ) { sMech.append( "    " ) .append( Math.round(mech.getWeight()) ) .append(" tons   " ); } if (mech.isClan()) { sMech.append( " Clan\n" ); } else { sMech.append( " Inner Sphere\n" ); } sMech.append( "Movement: " ) .append( mech.getWalkMP() ) .append( "/" ) .append( mech.getRunMP() ) .append( "/" ) .append( mech.getJumpMP() ) .append( "    " ); if ( isMech ) { Mech aMech = (Mech) mech; sMech.append( "Engine: " ) .append( aMech.engineRating() ); if (aMech.hasXL()) { sMech.append( " XL" ); } sMech.append( "   Heat Sinks: " ) .append( aMech.heatSinks() ); if (aMech.getHeatCapacity() > aMech.heatSinks()) { sMech.append( " [" ) .append( aMech.getHeatCapacity() ) .append( "]" ); } } sMech.append( formatArmor() ) .append( formatWeapons() ) .append( formatAmmo() ) .append( formatMisc() ); return sMech.toString();
return getMechReadoutBasic() + "\n" + getMechReadoutLoadout();
    public String getMechReadout() {        StringBuffer sMech = new StringBuffer( mech.getShortName() );        if ( !isInf ) {            sMech.append( "    " )                .append( Math.round(mech.getWeight()) )                .append(" tons   " );        }        if (mech.isClan()) {            sMech.append( " Clan\n" );        } else {            sMech.append( " Inner Sphere\n" );        }        sMech.append( "Movement: " )            .append( mech.getWalkMP() )            .append( "/" )            .append( mech.getRunMP() )            .append( "/" )            .append( mech.getJumpMP() )            .append( "    " );        if ( isMech ) {            Mech aMech = (Mech) mech;            sMech.append( "Engine: " )                .append( aMech.engineRating() );            if (aMech.hasXL()) {                sMech.append( " XL" );            }            sMech.append( "   Heat Sinks: " )                .append( aMech.heatSinks() );            if (aMech.getHeatCapacity() > aMech.heatSinks()) {                sMech.append( " [" )                    .append( aMech.getHeatCapacity() )                    .append( "]" );            }        }        sMech.append( formatArmor() )            .append( formatWeapons() )            .append( formatAmmo() )            .append( formatMisc() );        return sMech.toString();    }