//==========================================;
//					    ;
//	  Do not edit this file		    ;
//					    ;
//==========================================;

if (isNull player) exitwith {};

if battery_1 then
{
	if resupply_script_b1 then
	{
		hintsilent format ["%1 - Resupply Currently in Progress",bat_menu1];
	}//close proccess
	else
	{
		if ammo_resupply then
		{
			if (weapon1 == "m119") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM, %4 LASER, %5 SADARM, %6 SMOKE - Resupply is Expected", b1_he_ammo_current, b1_wp_ammo_current, b1_illum_ammo_current, b1_laser_ammo_current, b1_sadarm_ammo_current, b1_smoke_ammo_current, supply_counter_minutes, bat_menu1];
			};
			if (weapon1 == "m252") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM - Resupply is Expected", b1_he_ammo_current, b1_wp_ammo_current, b1_illum_ammo_current, b1_laser_ammo_current, b1_sadarm_ammo_current, b1_smoke_ammo_current, supply_counter_minutes, bat_menu1];
			};
			if (weapon1 == "mlrs") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, - Resupply is Expected", b1_he_ammo_current, b1_wp_ammo_current, b1_illum_ammo_current, b1_laser_ammo_current, b1_sadarm_ammo_current, b1_smoke_ammo_current, supply_counter_minutes, bat_menu1];
			};
		}//close supply
		else
		{
			if (weapon1 == "m119") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM, %4 LASER, %5 SADARM, %6 SMOKE - No Resupply Expected", b1_he_ammo_current, b1_wp_ammo_current, b1_illum_ammo_current, b1_laser_ammo_current, b1_sadarm_ammo_current, b1_smoke_ammo_current, bat_menu1];
			};
			if (weapon1 == "m252") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM - No Resupply Expected", b1_he_ammo_current, b1_wp_ammo_current, b1_illum_ammo_current, b1_laser_ammo_current, b1_sadarm_ammo_current, b1_smoke_ammo_current, bat_menu1];
			};
			if (weapon1 == "mlrs") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE - No Resupply Expected", b1_he_ammo_current, b1_wp_ammo_current, b1_illum_ammo_current, b1_laser_ammo_current, b1_sadarm_ammo_current, b1_smoke_ammo_current, bat_menu1];
			};
		};//close 2nd else
	};//close 1st else
};//close battery

//===========================================================

if battery_2 then
{
	if resupply_script_b2 then
	{
		hintsilent format ["%1 - Resupply Currently in Progress",bat_menu2];
	}//close proccess
	else
	{
		if ammo_resupply then
		{
			if (weapon2 == "m119") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM, %4 LASER, %5 SADARM, %6 SMOKE - Resupply is Expected", b2_he_ammo_current, b2_wp_ammo_current, b2_illum_ammo_current, b2_laser_ammo_current, b2_sadarm_ammo_current, b2_smoke_ammo_current, supply_counter_minutes, bat_menu2];
			};
			if (weapon2 == "m252") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM - Resupply is Expected", b2_he_ammo_current, b2_wp_ammo_current, b2_illum_ammo_current, b2_laser_ammo_current, b2_sadarm_ammo_current, b2_smoke_ammo_current, supply_counter_minutes, bat_menu2];
			};
			if (weapon2 == "mlrs") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, - Resupply is Expected", b2_he_ammo_current, b2_wp_ammo_current, b2_illum_ammo_current, b2_laser_ammo_current, b2_sadarm_ammo_current, b2_smoke_ammo_current, supply_counter_minutes, bat_menu2];
			};
		}//close supply
		else
		{
			if (weapon2 == "m119") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM, %4 LASER, %5 SADARM, %6 SMOKE - No Resupply Expected", b2_he_ammo_current, b2_wp_ammo_current, b2_illum_ammo_current, b2_laser_ammo_current, b2_sadarm_ammo_current, b2_smoke_ammo_current, bat_menu2];
			};
			if (weapon2 == "m252") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM - No Resupply Expected", b2_he_ammo_current, b2_wp_ammo_current, b2_illum_ammo_current, b2_laser_ammo_current, b2_sadarm_ammo_current, b2_smoke_ammo_current, bat_menu2];
			};
			if (weapon2 == "mlrs") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE - No Resupply Expected", b2_he_ammo_current, b2_wp_ammo_current, b2_illum_ammo_current, b2_laser_ammo_current, b2_sadarm_ammo_current, b2_smoke_ammo_current, bat_menu2];
			};
		};//close 2nd else
	};//close 1st else
};//close battery

//==========================================================

if battery_3 then
{
	if resupply_script_b3 then
	{
		hintsilent format ["%1 - Resupply Currently in Progress",bat_menu3];
	}//close proccess
	else
	{
		if ammo_resupply then
		{
			if (weapon3 == "m119") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM, %4 LASER, %5 SADARM, %6 SMOKE - Resupply is Expected", b3_he_ammo_current, b3_wp_ammo_current, b3_illum_ammo_current, b3_laser_ammo_current, b3_sadarm_ammo_current, b3_smoke_ammo_current, supply_counter_minutes, bat_menu3];
			};
			if (weapon3 == "m252") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM - Resupply is Expected", b3_he_ammo_current, b3_wp_ammo_current, b3_illum_ammo_current, b3_laser_ammo_current, b3_sadarm_ammo_current, b3_smoke_ammo_current, supply_counter_minutes, bat_menu3];
			};
			if (weapon3 == "mlrs") then
			{
				hintsilent format ["%8 - Our Current Ammo is: %1 HE, - Resupply is Expected", b3_he_ammo_current, b3_wp_ammo_current, b3_illum_ammo_current, b3_laser_ammo_current, b3_sadarm_ammo_current, b3_smoke_ammo_current, supply_counter_minutes, bat_menu3];
			};
		}//close supply
		else
		{
			if (weapon3 == "m119") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM, %4 LASER, %5 SADARM, %6 SMOKE - No Resupply Expected", b3_he_ammo_current, b3_wp_ammo_current, b3_illum_ammo_current, b3_laser_ammo_current, b3_sadarm_ammo_current, b3_smoke_ammo_current, bat_menu3];
			};
			if (weapon3 == "m252") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE, %2 WP, %3 ILLUM - No Resupply Expected", b3_he_ammo_current, b3_wp_ammo_current, b3_illum_ammo_current, b3_laser_ammo_current, b3_sadarm_ammo_current, b3_smoke_ammo_current, bat_menu3];
			};
			if (weapon3 == "mlrs") then
			{
				hintsilent format ["%7 - Our Current Ammo is: %1 HE - No Resupply Expected", b3_he_ammo_current, b3_wp_ammo_current, b3_illum_ammo_current, b3_laser_ammo_current, b3_sadarm_ammo_current, b3_smoke_ammo_current, bat_menu3];
			};
		};//close 2nd else
	};//close 1st else
};//close battery