weapon.flags |= F_DIRECT_FIRE | F_INFANTRY | F_NO_FIRES;
weapon.flags |= F_DIRECT_FIRE | F_INFANTRY | F_NO_FIRES | F_BALLISTIC;
    public static WeaponType createInfRifle() {        WeaponType weapon = new WeaponType();        weapon.name = "Infantry Rifle";        weapon.setInternalName(weapon.name);        weapon.addLookupName("InfantryRifle");        weapon.heat = 0;        weapon.damage = DAMAGE_VARIABLE;        weapon.ammoType = AmmoType.T_AC;        weapon.minimumRange = WEAPON_NA;        weapon.shortRange = 1;        weapon.mediumRange = 2;        weapon.longRange = 2; // No long range.        weapon.extremeRange = 2; // No Extreme Range        weapon.tonnage = 0.0f;        weapon.criticals = 0;        weapon.flags |= F_DIRECT_FIRE | F_INFANTRY | F_NO_FIRES;        weapon.bv = 4; // ???        return weapon;    }