sb.append(cs.isDestroyed() ? "*" : "").append(cs.isBreached() ? "x" : "").append(m.getDesc());
sb.append(cs.isHit() ? "*" : "").append(cs.isDestroyed() ? "*" : "").append(cs.isBreached() ? "x" : "").append(m.getDesc());
    private static String formatCrits(Entity e) {        StringBuffer sb = new StringBuffer();        for (int x = 0; x < e.locations(); x++) {            sb.append(StringUtil.makeLength(e.getLocationName(x), 12)).append(": ");            int nCount = 0;            for (int y = 0; y < e.getNumberOfCriticals(x); y++) {                CriticalSlot cs = e.getCritical(x, y);                if (cs == null) continue;                nCount++;                if (nCount == 7) {                    sb.append( CommonConstants.NL );                    sb.append("              ");                }                else if (nCount > 1) {                    sb.append(",");                }                if (cs.getType() == CriticalSlot.TYPE_SYSTEM) {                    if (cs.isHit() || cs.isDestroyed() || cs.isMissing()) {                        sb.append("*");                    }                    if (e instanceof Mech) {                        sb.append(((Mech)e).getSystemName(cs.getIndex()));                    } else if ( e instanceof Protomech ) {                        sb.append( Protomech.systemNames[cs.getIndex()] );                    }                }                else if (cs.getType() == CriticalSlot.TYPE_EQUIPMENT) {                    Mounted m = e.getEquipment(cs.getIndex());                    sb.append(cs.isDestroyed() ? "*" : "").append(cs.isBreached() ? "x" : "").append(m.getDesc()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$                }            }            sb.append( CommonConstants.NL );        }        return sb.toString();    }