StringBuffer desc = new StringBuffer(type.getDesc());
StringBuffer desc; switch (getMineType()) { case 0: desc = new StringBuffer(Messages.getString("Mounted.ConventionalMine")); break; case 1: desc = new StringBuffer(Messages.getString("Mounted.VibraBombMine")); break; case 2: desc = new StringBuffer(Messages.getString("Mounted.CommandDetonatedMine")); break; case -1: default: desc = new StringBuffer(type.getDesc()); }
    public String getDesc() {        StringBuffer desc = new StringBuffer(type.getDesc());        if (destroyed) {            desc.insert(0, "*");        } else if (useless) {            desc.insert(0, "x ");        } else if (usedThisRound) {            desc.insert(0, "+");        } else if (jammed) {            desc.insert(0, "j ");        } else if (fired) {            desc.insert(0, "x ");        }        if (rearMounted) {            desc.append(" (R)");        }        if (type instanceof AmmoType &&            location != Entity.LOC_NONE) {            desc.append(" (");            desc.append(shotsLeft);            desc.append(")");        }        return desc.toString();    }