String[] modes = { "1-shot", "2-shot", "3-shot", "4-shot" }; weapon.setModes( modes );
    public static WeaponType createCLLightTAG() {        WeaponType weapon = new WeaponType();                weapon.techLevel = TechConstants.T_CLAN_LEVEL_2;        weapon.name = "Clan Light TAG";        weapon.setInternalName("CLLightTAG");        weapon.addLookupName("Clan Light TAG");        weapon.tonnage = 0.5f;        weapon.criticals = 1;        weapon.hittable = true;        weapon.spreadable = false;        weapon.flags |= F_TAG | F_NO_FIRES;        weapon.heat = 0;        weapon.damage = 0;        weapon.ammoType = AmmoType.T_NA;        weapon.minimumRange = WEAPON_NA;        weapon.shortRange = 3;        weapon.mediumRange = 6;        weapon.longRange = 9;        weapon.extremeRange = 9;        weapon.bv = 0;        weapon.cost = 40000;        return weapon;    }