class CfgWeapons {
	class CannonCore {
		class player;
		class close;
		class short;
		class medium;
		class far;
	};

	class mortar_82mm: CannonCore {};

	class TBD_M119_WEAPON: mortar_82mm {
		displayName = "M119 howitzer";
		magazines[] = {
			QUOTE(TBD_MORTARS_105mm_ROUND_HE_CHARGE_MAG_1), QUOTE(TBD_MORTARS_105mm_ROUND_HE_CHARGE_MAG_2), QUOTE(TBD_MORTARS_105mm_ROUND_HE_CHARGE_MAG_3), QUOTE(TBD_MORTARS_105mm_ROUND_HE_CHARGE_MAG_4), QUOTE(TBD_MORTARS_105mm_ROUND_HE_CHARGE_MAG_5), QUOTE(TBD_MORTARS_105mm_ROUND_HE_CHARGE_MAG_6), QUOTE(TBD_MORTARS_105mm_ROUND_HE_CHARGE_MAG_7),
			QUOTE(TBD_MORTARS_105mm_ROUND_LASER_CHARGE_MAG_1), QUOTE(TBD_MORTARS_105mm_ROUND_LASER_CHARGE_MAG_2), QUOTE(TBD_MORTARS_105mm_ROUND_LASER_CHARGE_MAG_3), QUOTE(TBD_MORTARS_105mm_ROUND_LASER_CHARGE_MAG_4), QUOTE(TBD_MORTARS_105mm_ROUND_LASER_CHARGE_MAG_5), QUOTE(TBD_MORTARS_105mm_ROUND_LASER_CHARGE_MAG_6), QUOTE(TBD_MORTARS_105mm_ROUND_LASER_CHARGE_MAG_7),
			QUOTE(TBD_MORTARS_105mm_ROUND_SMOKE_CHARGE_MAG_1), QUOTE(TBD_MORTARS_105mm_ROUND_SMOKE_CHARGE_MAG_2), QUOTE(TBD_MORTARS_105mm_ROUND_SMOKE_CHARGE_MAG_3), QUOTE(TBD_MORTARS_105mm_ROUND_SMOKE_CHARGE_MAG_4), QUOTE(TBD_MORTARS_105mm_ROUND_SMOKE_CHARGE_MAG_5), QUOTE(TBD_MORTARS_105mm_ROUND_SMOKE_CHARGE_MAG_6), QUOTE(TBD_MORTARS_105mm_ROUND_SMOKE_CHARGE_MAG_7),
			QUOTE(TBD_MORTARS_105mm_ROUND_DPICM_CHARGE_MAG_1), QUOTE(TBD_MORTARS_105mm_ROUND_DPICM_CHARGE_MAG_2), QUOTE(TBD_MORTARS_105mm_ROUND_DPICM_CHARGE_MAG_3), QUOTE(TBD_MORTARS_105mm_ROUND_DPICM_CHARGE_MAG_4), QUOTE(TBD_MORTARS_105mm_ROUND_DPICM_CHARGE_MAG_5), QUOTE(TBD_MORTARS_105mm_ROUND_DPICM_CHARGE_MAG_6), QUOTE(TBD_MORTARS_105mm_ROUND_DPICM_CHARGE_MAG_7)
		};
		modes[] = {"Single"};
		reloadSound[] = {QPATHTOF(TBD_M119\sounds\reload.ogg), 3, 1, 50};
		reloadMagazineSound[] = {QPATHTOF(TBD_M119\sounds\reload.ogg), 3, 1, 50};
		magazineReloadTime = 0.5;

		class Single: Mode_SemiAuto {
			displayName="105mm howitzer";
			sounds[]= {"StandardSound"};
			class StandardSound {
				soundSetShot[] = {QUOTE(TBD_M119_SHOT_SOUNDSET)};
			};
			reloadSound[] = {QPATHTOF(TBD_M119\sounds\reload.ogg), 3, 1, 50};
			reloadTime = 0.35;
			artilleryDispersion = 1.9;
			artilleryCharge = 1;
			aiRateOfFire = 1;
			aiRateOfFireDistance = 10;
			minRange = 0;
			minRangeProbab = 0.0099999998;
			midRange = 1;
			midRangeProbab = 0.0099999998;
			maxRange = 2;
			maxRangeProbab = 0.0099999998;
		};
	};
};
