protected String listCatagories(CatalogKind whatKind)
	{
		StringBuilder list = new StringBuilder("");
		List<CatalogKind> types = new ArrayList<CatalogKind>();
		if((whatKind==CatalogKind.OBJECT)||(whatKind==CatalogKind.MOB))
			types.add(CatalogKind.MOB);
		if((whatKind==CatalogKind.OBJECT)||(whatKind==CatalogKind.MOB))
			types.add(CatalogKind.ITEM);
		for(CatalogKind kind : types)
		{
			list.append(L("\n\r^H"+CMStrings.capitalizeAndLower(kind.name()).trim()+" categories:"));
			list.append("\n\r"+CMStrings.repeat('-',78)+"^?\n\r");
			List<String> cats;
			switch(kind)
			{
			case MOB:
				cats=Arrays.asList(CMLib.catalog().getMobCatalogCatagories());
				break;
			case ITEM:
			default:
				cats=Arrays.asList(CMLib.catalog().getItemCatalogCatagories());
				break;
			}
			for(String c : cats)
				list.append(c+"\n\r");
			list.append("\n\r");
		}
		return list.toString();
	}