//==========================================//
//					    //
//	  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
{
	action1 = player addaction ["Immediate", "artillery_ssp\rate_of_fire\rof_Immediate.sqf", [], 1, false, false, "", ""];
	action2 = player addaction ["Fast", "artillery_ssp\rate_of_fire\rof_Fast.sqf", [], 1, false, false, "", ""];
	action3 = player addaction ["Semi-Fast", "artillery_ssp\rate_of_fire\rof_Semi.sqf", [], 1, false, false, "", ""];
	action4 = player addaction ["Slow", "artillery_ssp\rate_of_fire\rof_Slow.sqf", [], 1, false, false, "", ""];
	action5 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
};


if battery_2 then
{
	action1 = player addaction ["Immediate", "artillery_ssp\rate_of_fire\rof_Immediate.sqf", [], 1, false, false, "", ""];
	action2 = player addaction ["Fast", "artillery_ssp\rate_of_fire\rof_Fast.sqf", [], 1, false, false, "", ""];
	action3 = player addaction ["Semi-Fast", "artillery_ssp\rate_of_fire\rof_Semi.sqf", [], 1, false, false, "", ""];
	action4 = player addaction ["Slow", "artillery_ssp\rate_of_fire\rof_Slow.sqf", [], 1, false, false, "", ""];
	action5 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
};


if battery_3 then
{
	action1 = player addaction ["Immediate", "artillery_ssp\rate_of_fire\rof_Immediate.sqf", [], 1, false, false, "", ""];
	action2 = player addaction ["Fast", "artillery_ssp\rate_of_fire\rof_Fast.sqf", [], 1, false, false, "", ""];
	action3 = player addaction ["Semi-Fast", "artillery_ssp\rate_of_fire\rof_Semi.sqf", [], 1, false, false, "", ""];
	action4 = player addaction ["Slow", "artillery_ssp\rate_of_fire\rof_Slow.sqf", [], 1, false, false, "", ""];
	action5 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
};