class CfgPatches {
	class UO_UK85_W {
		weapons[] = {"UO_L1A1"};
		requiredVersion = 1.020000;
		requiredAddons[] = {"CAData", "ace_c_weapon", "CACharacters", "CAWeapons", "CASounds"};
	};
};

class cfgWeapons {
	class M16A2;
	class FN_FAL: M16A2 {
		class Single;
	};
	class UO_L1A1: FN_FAL {
		ace_sys_weapons_side[] = {"BIS_BAF"};
		model = "\uo_uk85_w\vil_l1a1.p3d";
		displayName = "L1A1";
		picture = "\p85_wpn3d\ico\l1a1.paa";
		modes[] = {"Single"};
		magazines[] = {"UO_20Rnd_762x51_L1A1","UO_20Rnd_762x51_T_L1A1"};
		class Single: Single {
			recoil = "ACE_762x51_FAL_Recoil";
			recoilProne = "ACE_762x51_Rifle_RecoilProne";
		};
	};
};

class cfgMagazines {
	class 20Rnd_762x51_FNFAL;
	class UO_20Rnd_762x51_L1A1: 20Rnd_762x51_FNFAL {
		displayname = "20Rnd. L1A1";
		descriptionshort = "Caliber: 7.62x51mm NATO<br/>Rounds: 20<br/>Used in: L1A1";
	};
	class UO_20Rnd_762x51_T_L1A1: UO_20Rnd_762x51_L1A1 {
		displayname = "20Rnd. L1A1 Tracer";
		ammo = "ACE_B_762x51_T";
		displaynameshort = "Tracer";
		tracersevery = 1;
	};
};