} else if (sType.equals("BattleArmor")) {
loader = new BLKBattleArmorFile(bb);
} else if (sType.equals("ProtoMech")) {
loader = new BLKProtoFile(bb);
} else if (sType.equals("Mech")) {
loader = new BLKMechFile(bb);
} else if (sType.equals("VTOL")) {
loader = new BLKVTOLFile(bb);
} else if (sType.equals("GunEmplacement")) {
loader = new BLKGunEmplacementFile(bb);
} else if (sType.equals("SupportTank")){
loader = new BLKSupportTankFile(bb);
} else if (sType.equals("LargeSupportTank")){
loader = new BLKLargeSupportTankFile(bb);
} else if (sType.equals("SupportVTOL")){
loader = new BLKSupportVTOLFile(bb);
} else if (sType.equals("Aero")) {
loader = new BLKAeroFile(bb);
} else if (sType.equals("ConvFighter")) {
loader = new BLKConvFighterFile(bb);
} else if (sType.equals("SmallCraft")) {
loader = new BLKSmallCraftFile(bb);
} else if (sType.equals("Dropship")) {
loader = new BLKDropshipFile(bb);
} else if (sType.equals("Jumpship")) {
loader = new BLKJumpshipFile(bb);
} else if (sType.equals("Warship")) {
loader = new BLKWarshipFile(bb);
} else if (sType.equals("SpaceStation")) {
loader = new BLKSpaceStationFile(bb);
} else {
throw new EntityLoadingException("Unknown UnitType: "
+ sType);
}
} else {
loader = new BLKMechFile(bb);
}
} else if (lowerName.endsWith(".dbm")) {
throw new EntityLoadingException(
"In order to use mechs from The Drawing Board with MegaMek, you must save your mech as an XML file (look in the 'File' menu of TDB.) Then use the resulting '.xml' file instead of the '.dbm' file. Note that only version 2.0.23 or later of TDB is compatible with MegaMek.");
} else {