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


if (isNull player) exitwith {};

player removeaction action1;
player removeaction action2;
player removeaction action3;
player removeaction action4;
player removeaction action5;
player removeaction action6;
player removeaction action7;
player removeaction action8;
player removeaction action9;
player removeaction action10;
player removeaction action11;

if battery_1 then
{
	if (weapon1 == "m119") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Illumination", "artillery_ssp\ammo\illum.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["White Phosphorous", "artillery_ssp\ammo\wp.sqf", [], 1, false, false, "", ""];
		action4 = player addaction ["SADARM", "artillery_ssp\ammo\sadarm.sqf", [], 1, false, false, "", ""];
		action5 = player addaction ["Laser", "artillery_ssp\ammo\laser.sqf", [], 1, false, false, "", ""];
		action6 = player addaction ["Smoke", "artillery_ssp\ammo\smoke.sqf", [], 1, false, false, "", ""];
		action7 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
	if (weapon1 == "m252") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Illumination", "artillery_ssp\ammo\illum.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["White Phosphorous", "artillery_ssp\ammo\wp.sqf", [], 1, false, false, "", ""];
		action4 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
	if (weapon1 == "mlrs") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
};


if battery_2 then
{
	if (weapon2 == "m119") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Illumination", "artillery_ssp\ammo\illum.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["White Phosphorous", "artillery_ssp\ammo\wp.sqf", [], 1, false, false, "", ""];
		action4 = player addaction ["SADARM", "artillery_ssp\ammo\sadarm.sqf", [], 1, false, false, "", ""];
		action5 = player addaction ["Laser", "artillery_ssp\ammo\laser.sqf", [], 1, false, false, "", ""];
		action6 = player addaction ["Smoke", "artillery_ssp\ammo\smoke.sqf", [], 1, false, false, "", ""];
		action7 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
	if (weapon2 == "m252") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Illumination", "artillery_ssp\ammo\illum.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["White Phosphorous", "artillery_ssp\ammo\wp.sqf", [], 1, false, false, "", ""];
		action4 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
	if (weapon2 == "mlrs") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
};


if battery_3 then
{
	if (weapon3 == "m119") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Illumination", "artillery_ssp\ammo\illum.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["White Phosphorous", "artillery_ssp\ammo\wp.sqf", [], 1, false, false, "", ""];
		action4 = player addaction ["SADARM", "artillery_ssp\ammo\sadarm.sqf", [], 1, false, false, "", ""];
		action5 = player addaction ["Laser", "artillery_ssp\ammo\laser.sqf", [], 1, false, false, "", ""];
		action6 = player addaction ["Smoke", "artillery_ssp\ammo\smoke.sqf", [], 1, false, false, "", ""];
		action7 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
	if (weapon3 == "m252") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Illumination", "artillery_ssp\ammo\illum.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["White Phosphorous", "artillery_ssp\ammo\wp.sqf", [], 1, false, false, "", ""];
		action4 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
	if (weapon3 == "mlrs") then
	{
		action1 = player addaction ["HE", "artillery_ssp\ammo\he.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	};
};