weapon.setInternalName(weapon.name);
weapon.setInternalName("BAPlasmaRifle");
    public static WeaponType createBAPlasmaRifle() {        WeaponType weapon = new WeaponType();        weapon.techLevel = TechConstants.T_IS_LEVEL_2;        weapon.name = "Plasma Rifle";        weapon.setInternalName(weapon.name);        weapon.addLookupName("BA-Plasma Rifle");        weapon.heat = 0;        weapon.damage = DAMAGE_VARIABLE;        weapon.rackSize = 2;        weapon.ammoType = AmmoType.T_NA;        weapon.minimumRange = WEAPON_NA;        weapon.shortRange = 2;        weapon.mediumRange = 4;        weapon.longRange = 6;        weapon.extremeRange = 8;        weapon.tonnage = 0.0f;        weapon.criticals = 0;        weapon.flags |= F_PLASMA | F_BATTLEARMOR | F_DIRECT_FIRE | F_ENERGY;        weapon.bv = 0;        return weapon;    }