EAT_ToolsMain = {
	private["_EXECdate","_EXECcloud","_EXECfog"];

	_EXECdate = 'EAT_clientToServer = ["Date",player,[%1,%2],dayz_authKey]; publicVariableServer "EAT_clientToServer"';
	_EXECcloud = 'EAT_clientToServer = ["Cloud",player,[%1,5],dayz_authKey]; publicVariableServer "EAT_clientToServer"';
	_EXECfog = 'EAT_clientToServer = ["Fog",player,[%1,5],dayz_authKey]; publicVariableServer "EAT_clientToServer"';


	// Main menu
	if(isNil "EAT_mainMenu") then {
		EAT_mainMenu = [["",true],["-- Epoch Admin Tools (Level: Admin) --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_mainMenu = EAT_mainMenu + [["Admin Menu >>", [], "#USER:EAT_adminMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_mainMenu = EAT_mainMenu + [["Vehicle Menu >>",[],"#USER:EAT_vehicleMenu",-5,[["expression",""]],"1","1"]];
		EAT_mainMenu = EAT_mainMenu + [["Crate Menu >>",[],"#USER:EAT_crateMenu",-5,[["expression",""]],"1","1"]];
		EAT_mainMenu = EAT_mainMenu + [["Epoch Menu >>", [], "#USER:EAT_epochMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_mainMenu = EAT_mainMenu + [["Weapon/Item Kits >>", [], "#USER:EAT_weaponMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_mainMenu = EAT_mainMenu + [["Teleport Menu >>",[],"#USER:EAT_teleportMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_mainMenu = EAT_mainMenu + [["Skin Change Menu >>", [], "#USER:EAT_skinMenu", -5, [["expression", ""]], "1", "1"]];
		if(EAT_wtChanger)then{EAT_mainMenu = EAT_mainMenu + [["Weather/Time Menu >>", [], "#USER:EAT_weatherTimeMenu", -5, [["expression", ""]], "1", "1"]];};
		EAT_mainMenu = EAT_mainMenu + [["", [], "", -5, [["expression", ""]], "1", "0"], ["Exit", [20], "", -5, [["expression", ""]], "1", "1"]];

	// Admin only menu
		EAT_adminMenu = [["",true]];
		EAT_adminMenu = EAT_adminMenu + [["-- Administrator's Menu --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_adminMenu = EAT_adminMenu + [["Admin Mode (F4 for options)",[],"", -5,[["expression","[] spawn EAT_AdminModeToggle;"]],"1","1"]];
		EAT_adminMenu = EAT_adminMenu + [["Point to Repair",[],"", -5,[["expression","call EAT_Repair;"]], "1", "1"]];
		EAT_adminMenu = EAT_adminMenu + [["Point to Delete",[],"", -5,[["expression","[] spawn EAT_DeleteObj;"]],"1","1"]];
		EAT_adminMenu = EAT_adminMenu + [["Spectate player (F6 to cancel)",[],"", -5,[["expression","[] spawn EAT_Spectate;"]], "1", "1"]];
		EAT_adminMenu = EAT_adminMenu + [["Zombie Spawner", [], "", -5, [["expression","[] spawn EAT_SpawnZombie;"]], "1", "1"]];
		EAT_adminMenu = EAT_adminMenu + [["AI spawner", [], "", -5, [["expression","[] spawn EAT_AISpawn;"]], "1", "1"]];
		EAT_adminMenu = EAT_adminMenu + [["Heal Players",[],"", -5, [["expression","[] spawn EAT_HealPlayer;"]], "1", "1"]];
		EAT_adminMenu = EAT_adminMenu + [["Send Server Message",[],"", -5,[["expression","[] spawn EAT_SendMessage;"]],"1","1"]];
		EAT_adminMenu = EAT_adminMenu + [["Humanity Menu >>",[],"#USER:EAT_humanityMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_adminMenu = EAT_adminMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_adminMenu = EAT_adminMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// Main vehicle selection menu
		EAT_vehicleMenu = [["",true]];
		EAT_vehicleMenu = EAT_vehicleMenu + [["-- Vehicle Menu --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_vehicleMenu = EAT_vehicleMenu + [["Graphical Vehicle Menu", [],"", -5, [["expression", "[] spawn EAT_AddVehDialog;"]], "1", "1"]];
		EAT_vehicleMenu = EAT_vehicleMenu + [["Eject Players", [],"", -5, [["expression", "call EAT_Eject;"]], "1", "1"]];
		EAT_vehicleMenu = EAT_vehicleMenu + [["Vehicle Tools >>", [], "#USER:EAT_vehicleTools", -5, [["expression", ""]], "1", "1"]];
		EAT_vehicleMenu = EAT_vehicleMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_vehicleMenu = EAT_vehicleMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// Different tools for working with vehicles
		EAT_vehicleTools = [["",true]];
		EAT_vehicleTools = EAT_vehicleTools + [["-- Vehicle Tools --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_vehicleTools = EAT_vehicleTools + [["Vehicle Locater",[],"",-5,[["expression", "call EAT_locateVeh;"]], "1", "1"]];
		EAT_vehicleTools = EAT_vehicleTools + [["Recover Vehicle Key",[],"",-5,[["expression", "call EAT_RecoverKey;"]], "1", "1"]];
		EAT_vehicleTools = EAT_vehicleTools + [["Point to Repair", [],"", -5, [["expression", "call EAT_Repair;"]], "1", "1"]];
		EAT_vehicleTools = EAT_vehicleTools + [["Point to Delete",[],"",-5,[["expression","[] spawn EAT_DeleteObj;"]],"1","1"]];
		EAT_vehicleTools = EAT_vehicleTools + [["Flip Vehicle", [],"", -5, [["expression", "call EAT_flipVeh;"]], "1", "1"]];
		EAT_vehicleTools = EAT_vehicleTools + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_vehicleTools = EAT_vehicleTools + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	//Main menu to handle humanity changing
		EAT_humanityMenu = [["",true]];
		EAT_humanityMenu = EAT_humanityMenu + [["-- Humanity Change Menu --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_humanityMenu = EAT_humanityMenu + [["Add to self or target", [],"", -5, [["expression", '["add"] spawn EAT_Humanity;']], "1", "1"]];
		EAT_humanityMenu = EAT_humanityMenu + [["Remove from self or target", [],"", -5, [["expression", '["remove"] spawn EAT_Humanity;']], "1", "1"]];
		EAT_humanityMenu = EAT_humanityMenu + [["Reset to 2500", [],"", -5, [["expression", '["reset"] spawn EAT_Humanity;']], "1", "1"]];
		EAT_humanityMenu = EAT_humanityMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_humanityMenu = EAT_humanityMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// Menu for teleport options
		//	teleport to place Example: ["Name",[],"", -5, [["expression", '[x,y,z] execVM "admintools\tools\Teleport\teleportToLocation.sqf"']], "1", "1"]];
		EAT_teleportMenu = [["",true]];
		EAT_teleportMenu = EAT_teleportMenu + [["-- Teleport Menu --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_teleportMenu = EAT_teleportMenu + [["Teleport (T Key)",[],"", -5,[["expression", "[] spawn EAT_TeleportToggle;"]], "1", "1"]];
	//	EAT_teleportMenu = EAT_teleportMenu + [["Teleport To Me",[],"", -5, [["expression", "[] spawn EAT_TPtoMe;"]], "1", "1"]];
		EAT_teleportMenu = EAT_teleportMenu + [["Teleport To Player",[],"", -5, [["expression", "[] spawn EAT_TpToPlayer;"]], "1", "1"]];
	//	EAT_teleportMenu = EAT_teleportMenu + [["Return Player to Last Pos",[],"", -5, [["expression", "[] spawn EAT_ReturnPlayerTP;"]], "1", "1"]];
		EAT_teleportMenu = EAT_teleportMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_teleportMenu = EAT_teleportMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// Menu for changing skins.
	// Entry Format:["Entry Name",[],"",-5,[["expression",'["Skin_class_name"] execVM "admintools\tools\skinChanger.sqf"']],"1","1"]];
		EAT_skinMenu = [["",true]];
		EAT_skinMenu = EAT_skinMenu + [["-- Skin Menu (Page 1)", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_skinMenu = EAT_skinMenu + [["Survivor",[],"",-5,[["expression",'["Survivor2_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu = EAT_skinMenu + [["Hero",[],"",-5,[["expression",'["Survivor3_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu = EAT_skinMenu + [["Bandit",[],"",-5,[["expression",'["Bandit1_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu = EAT_skinMenu + [["Soldier",[],"",-5,[["expression",'["Soldier1_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu = EAT_skinMenu + [["Ghillie",[],"",-5,[["expression",'["Sniper1_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu = EAT_skinMenu + [["Special Forces",[],"",-5,[["expression",'["CZ_Special_Forces_GL_DES_EP1_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu = EAT_skinMenu + [["Apocalyptic Rifleman",[],"",-5,[["expression",'["Apo_Rifleman_03_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu = EAT_skinMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_skinMenu = EAT_skinMenu + [["Next page >", [], "#USER:EAT_skinMenu2", -5, [["expression", ""]], "1", "1"]];

	// Menu2 for changing skins.
		EAT_skinMenu2 = [["",true]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["-- Skin Menu (Page 2)", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Camo",[],"",-5,[["expression",'["Camo1_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Stalker",[],"",-5,[["expression",'["gsc_eco_stalker_mask_neutralW_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Officer",[],"",-5,[["expression",'["Rocket_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Alejandria",[],"",-5,[["expression",'["SurvivorWcombat_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Savannah",[],"",-5,[["expression",'["SurvivorWdesert_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Melly",[],"",-5,[["expression",'["SurvivorWpink_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Bandit Jane",[],"",-5,[["expression",'["BanditW2_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["Invisible",[],"",-5,[["expression",'["Survivor1_DZ"] spawn EAT_SkinChanger;']],"1","1"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_skinMenu2 = EAT_skinMenu2 + [["< Back", [], "#USER:EAT_skinMenu", -5, [["expression", ""]], "1", "1"]];

	// Weapon menu select
		EAT_weaponMenu = [["",true]];
		EAT_weaponMenu = EAT_weaponMenu + [["-- Weapons Menu --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_weaponMenu = EAT_weaponMenu + [["Admin/Mod Loadouts >>",[],"#USER:EAT_adminLoadoutsMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_weaponMenu = EAT_weaponMenu + [["Primary Weapons Menu >>",[],"#USER:EAT_primaryWeaponMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_weaponMenu = EAT_weaponMenu + [["Secondary Weapons Menu >>",[],"#USER:EAT_secondaryWeaponMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_weaponMenu = EAT_weaponMenu + [["Gear/Items Menu >>",[],"#USER:EAT_gearMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_weaponMenu = EAT_weaponMenu + [["Delete all gear", [],"", -5, [["expression","call EAT_RemoveGear;"]], "1", "1"]];
		EAT_weaponMenu = EAT_weaponMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_weaponMenu = EAT_weaponMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

		// Main weapons like the M4
		// Entry Format:["Name", [],"", -5, [["expression", format[_EXECweapons,"Gun_Calss_Name","Ammo_Class_Name","Explosive_Round_Class_Name"]]], "1", "1"]];
		// If there is no explosive 203 round then put "nil" in place of "Explosive_Round_Class_Name"
		EAT_primaryWeaponMenu = [["",true]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["-- Primary Weapons --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["P90 Holo SD", [],"", -5, [["expression",'["P90_Holo_SD_DZ","50Rnd_57x28_P90SD"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["Blue SteyrAug A3 Holo GL", [],"", -5, [["expression",'["SteyrAug_A3_Holo_GL_Blue_DZ","30Rnd_556x45_Aug","1Rnd_HE_M203"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["MK14 Sniper SD", [],"", -5, [["expression",'["MK14_Sniper_SD_DZ","20Rnd_762x51_DMRSD"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["CheyTac SD", [],"", -5, [["expression",'["M200_CheyTac_SD_DZ","5Rnd_408_CheyTac_SD"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["FN FAL", [],"", -5, [["expression",'["FNFAL_CCO_DZ","20Rnd_762x51_FNFAL"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["Mk 48", [],"", -5, [["expression",'["Mk48_CCO_DZ","100Rnd_762x51_M240"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["DMR_DZ", [],"", -5, [["expression",'["DMR_DZ","20Rnd_762x51_DMR"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["AS50", [],"", -5, [["expression",'["BAF_AS50_scoped","5Rnd_127x99_AS50"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [[".338 LAPUA", [],"", -5, [["expression",'["L115A3_2_DZ","5Rnd_86x70_L115A1"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["Anzio 20", [],"", -5, [["expression",'["Anzio_20_DZ","3rnd_Anzio_20x102mm"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_primaryWeaponMenu = EAT_primaryWeaponMenu + [["Secondary Weapons", [], "#USER:EAT_secondaryWeaponMenu", -5, [["expression", ""]], "1", "1"]];

	// Sidearm weapons like the Makarov
		EAT_secondaryWeaponMenu = [["",true]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["-- Secondary Weapons --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["PDW SD", [],"", -5, [["expression",'["UZI_SD_EP1","30Rnd_9x19_UZI_SD"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["Desert Eagle", [],"", -5, [["expression",'["DesertEagle_DZ","7Rnd_50AE_Deagle"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["Colt Anaconda", [],"", -5, [["expression",'["Colt_Anaconda_DZ","6Rnd_44Magnum"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["M9 SD Camo", [],"", -5, [["expression",'["M9_Camo_SD_DZ","15Rnd_9x19_M9SD"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["CZ 75 Phantom SD", [],"", -5, [["expression",'["CZ75SP_SD_DZ","18Rnd_9x19_PhantomSD"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["Silver P99 SD", [],"", -5, [["expression",'["P99_Silver_SD_DZ","15Rnd_10x22_p99_sd"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["Beretta 93R", [],"", -5, [["expression",'["M93R_DZ","20Rnd_9x19_M93R"] call EAT_AddWeapon;']], "1", "1"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_secondaryWeaponMenu = EAT_secondaryWeaponMenu + [["Gear/Items", [], "#USER:EAT_gearMenu", -5, [["expression", ""]], "1", "1"]];

	// Menu for spawning items to the admin like bags and tools
		EAT_gearMenu = [["",true]];
		EAT_gearMenu = EAT_gearMenu + [["-- Gear Menu --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_gearMenu = EAT_gearMenu + [["ToolBelt gear", [],"", -5, [["expression","call EAT_AddTools;"]], "1", "1"]];
		EAT_gearMenu = EAT_gearMenu + [["Medical gear", [],"", -5, [["expression","call EAT_AddMeds;"]], "1", "1"]];
		EAT_gearMenu = EAT_gearMenu + [["Alice Pack", [],"", -5, [["expression",'["ALICE_Pack_DZE2"] call EAT_AddBackPack;']], "1", "1"]];
		EAT_gearMenu = EAT_gearMenu + [["Coyote Pack", [],"", -5, [["expression",'["CoyoteBackpack_DZE2"] call EAT_AddBackPack;']], "1", "1"]];
		EAT_gearMenu = EAT_gearMenu + [["Large Gun Bag", [],"", -5, [["expression",'["LargeGunBag_DZE2"] call EAT_AddBackPack;']], "1", "1"]];
		EAT_gearMenu = EAT_gearMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_gearMenu = EAT_gearMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// Main crate menu
		EAT_crateMenu = [["",true]];
		EAT_crateMenu = EAT_crateMenu + [["-- Crate Menu --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_crateMenu = EAT_crateMenu + [["Crate Menu >>",[],"#USER:EAT_crateMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_crateMenu = EAT_crateMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_crateMenu = EAT_crateMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// This menu selects a crate type to send to the server to spawn
		// Entry Format: ["name",[],"",-5,[["expression",format[_EXECcrates,"cratetype"]]],"1","1"]];
		EAT_crateMenu = [["",true]];
		EAT_crateMenu = EAT_crateMenu + [["-- Crates --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_crateMenu = EAT_crateMenu + [["Epoch Weapons Crate",[],"",-5,[["expression",'["EpochWeapons"] spawn EAT_SpawnCrate;']],"1","1"]];
		if(EAT_isOverpoch)then{EAT_crateMenu = EAT_crateMenu + [["Overwatch Weapons Crate",[],"",-5,[["expression",'["OverwatchWeapons"] spawn EAT_SpawnCrate;']],"1","1"]];};
		EAT_crateMenu = EAT_crateMenu + [["Items Crate",[],"",-5,[["expression",'["Items"] spawn EAT_SpawnCrate;']],"1","1"]];
		EAT_crateMenu = EAT_crateMenu + [["Building Crate Menu >>",[],"#USER:EAT_BuildingCrateMenu", -5, [["expression", ""]], "1", "1"]];
		EAT_crateMenu = EAT_crateMenu + [["All Backpacks",[],"",-5,[["expression",'["Backpack"] spawn EAT_SpawnCrate;']],"1","1"]];
		EAT_crateMenu = EAT_crateMenu + [["Rocket Launchers",[],"",-5,[["expression",'["RocketLaunchers"] spawn EAT_SpawnCrate;']],"1","1"]];
		EAT_crateMenu = EAT_crateMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_crateMenu = EAT_crateMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];
		
		EAT_BuildingCrateMenu =
		[
			["",true],
			["-- Building Crate Menu --", [], "", -5, [["expression", ""]], "1", "0"],
			["Admin Building Kit",[],"",-5,[["expression",'["AllItemsBuilding"] spawn EAT_SpawnCrate;']],"1","1"],
			["Small Cinder Kit",[],"",-5,[["expression",'["smallCinderBuildingKit"] spawn EAT_SpawnCrate;']],"1","1"],
			["Medium Cinder Kit",[],"",-5,[["expression",'["mediumCinderBuildingKit"] spawn EAT_SpawnCrate;']],"1","1"],
			["Large Cinder Kit",[],"",-5,[["expression",'["largeCinderBuildingKit"] spawn EAT_SpawnCrate;']],"1","1"],
			["Small Wood Kit",[],"",-5,[["expression",'["smallWoodBuildingKit"] spawn EAT_SpawnCrate;']],"1","1"],
			["Medium Wood Kit",[],"",-5,[["expression",'["mediumWoodBuildingKit"] spawn EAT_SpawnCrate;']],"1","1"],
			["Large Wood Kit",[],"",-5,[["expression",'["largeWoodBuildingKit"] spawn EAT_SpawnCrate;']],"1","1"],
			["Vanilla Build Kit",[],"",-5,[["expression",'["VanillaBuildKit"] spawn EAT_SpawnCrate;']],"1","1"],
			["", [], "", -5, [["expression", ""]], "1", "0"],
			["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]
		];
		
		EAT_adminLoadoutsMenu =
		[
			["",true],
			["-- Admin Loadout Menu --", [], "", -5, [["expression", ""]], "1", "0"],
			["P90 Holo SD",[],"",-5,[["expression", "['P90_Holo_SD_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["Blue SteyrAug A3 Holo GL",[],"",-5,[["expression", "['SteyrAug_A3_Holo_GL_Blue_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["DMR",[],"",-5,[["expression", "['DMR_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["MK14 Sniper SD",[],"",-5,[["expression", "['MK14_Sniper_SD_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["Mk48 CCO",[],"",-5,[["expression", "['Mk48_CCO_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["CheyTac SD",[],"",-5,[["expression", "['M200_CheyTac_SD_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["AS50",[],"",-5,[["expression", "['BAF_AS50_scoped_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["FN FAL CCO",[],"",-5,[["expression", "['FNFAL_CCO_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["Anzio 20",[],"",-5,[["expression", "['Anzio_20_DZ','M9_Camo_SD_DZ'] call EAT_Loadouts;"]],"1","1"],
			["", [], "", -5, [["expression", ""]], "1", "0"],
			["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]
		];

	// Menu for changing time and weather
		EAT_weatherTimeMenu = [["",true]];
		EAT_weatherTimeMenu = EAT_weatherTimeMenu + [["-- Weather/Time Menu --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_weatherTimeMenu = EAT_weatherTimeMenu + [["Day Menu >>",[],"#USER:EAT_dayMenu",-5,[["expression",""]], "1", "1"]];
		EAT_weatherTimeMenu = EAT_weatherTimeMenu + [["Full-Moon Nights Menu >>",[],"#USER:EAT_fullMoonNight",-5,[["expression",""]], "1", "1"]];
		EAT_weatherTimeMenu = EAT_weatherTimeMenu + [["No-Moon Nights Menu >>",[],"#USER:EAT_noMoonNight",-5,[["expression",""]], "1", "1"]];
		EAT_weatherTimeMenu = EAT_weatherTimeMenu + [["Weather Menu >>",[],"#USER:EAT_weatherMenu",-5,[["expression",""]], "1", "1"]];
		EAT_weatherTimeMenu = EAT_weatherTimeMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_weatherTimeMenu = EAT_weatherTimeMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

		// Dark nights
		EAT_noMoonNight = [["",true]];
		EAT_noMoonNight = EAT_noMoonNight + [["-- No moon night --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_noMoonNight = EAT_noMoonNight + [["8pm",[],"",-5,[["expression",format[_EXECdate,19, 20]]],"1","1"]];
		EAT_noMoonNight = EAT_noMoonNight + [["10pm",[],"",-5,[["expression",format[_EXECdate,19, 22]]],"1","1"]];
		EAT_noMoonNight = EAT_noMoonNight + [["Midnight",[],"",-5,[["expression",format[_EXECdate,19, 0]]],"1","1"]];
		EAT_noMoonNight = EAT_noMoonNight + [["2am",[],"",-5,[["expression",format[_EXECdate,19, 2]]],"1","1"]];
		EAT_noMoonNight = EAT_noMoonNight + [["4am",[],"",-5,[["expression",format[_EXECdate,19, 4]]],"1","1"]];
		EAT_noMoonNight = EAT_noMoonNight + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_noMoonNight = EAT_noMoonNight + [["< Back", [], "#USER:EAT_weatherTimeMenu", -5, [["expression", ""]], "1", "1"]];

		// Normal nights
		EAT_fullMoonNight = [["",true]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["-- Full moon night --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["8pm",[],"",-5,[["expression",format[_EXECdate,4,20]]],"1","1"]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["10pm",[],"",-5,[["expression",format[_EXECdate,4,22]]],"1","1"]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["Midnight",[],"",-5,[["expression",format[_EXECdate,4,4]]],"1","1"]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["2am",[],"",-5,[["expression",format[_EXECdate,4,2]]],"1","1"]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["4am",[],"",-5,[["expression",format[_EXECdate,4,4]]],"1","1"]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_fullMoonNight = EAT_fullMoonNight + [["< Back", [], "#USER:EAT_weatherTimeMenu", -5, [["expression", ""]], "1", "1"]];
		
		// Day time
		EAT_dayMenu = [["",true]];
		EAT_dayMenu = EAT_dayMenu + [["-- Set Day Time --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_dayMenu = EAT_dayMenu + [["5am",[],"",-5,[["expression",format[_EXECdate,4,5]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["7am",[],"",-5,[["expression",format[_EXECdate,4,7]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["9am",[],"",-5,[["expression",format[_EXECdate,4,9]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["11am",[],"",-5,[["expression",format[_EXECdate,6,4,11]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["Noon",[],"",-5,[["expression",format[_EXECdate,4,12]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["1pm",[],"",-5,[["expression",format[_EXECdate,4,13]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["3pm",[],"",-5,[["expression",format[_EXECdate,4,15]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["5pm",[],"",-5,[["expression",format[_EXECdate,4,17]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["7pm",[],"",-5,[["expression",format[_EXECdate,4,19]]],"1","1"]];
		EAT_dayMenu = EAT_dayMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_dayMenu = EAT_dayMenu + [["< Back", [], "#USER:EAT_weatherTimeMenu", -5, [["expression", ""]], "1", "1"]];

		// Weather change menu
		EAT_weatherMenu = [["",true]];
		EAT_weatherMenu = EAT_weatherMenu + [["-- Set Weather --",[],"",-5,[["expression",""]],"1","0"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Clear Sky",[],"",-5,[["expression",format[_EXECcloud,0]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Slightly Cloudy",[],"",-5,[["expression",format[_EXECcloud,0.25]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Cloudy",[],"",-5,[["expression",format[_EXECcloud,0.5]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Very Cloudy",[],"",-5,[["expression",format[_EXECcloud,0.75]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Overcast",[],"",-5,[["expression",format[_EXECcloud,1]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_weatherMenu = EAT_weatherMenu + [["-- Set Fog --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Off",[],"",-5,[["expression",format[_EXECfog,0]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Thin",[],"",-5,[["expression",format[_EXECfog,0.25]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Medium",[],"",-5,[["expression",format[_EXECfog,0.5]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Thick",[],"",-5,[["expression",format[_EXECfog,0.75]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["Maximum",[],"",-5,[["expression",format[_EXECfog,1]]],"1","1"]];
		EAT_weatherMenu = EAT_weatherMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_weatherMenu = EAT_weatherMenu + [["< Back", [], "#USER:EAT_weatherTimeMenu", -5, [["expression", ""]], "1", "1"]];

	// Menu that deals with epoch specific items like locks and safes
		EAT_epochMenu = [["",true]];
		EAT_epochMenu = EAT_epochMenu + [["-- Epoch Only Menu --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_epochMenu = EAT_epochMenu + [["Admin Build Menu >> ",[],"#USER:EAT_buildMenu", -5,[["expression",""]],"1","1"]];
		EAT_epochMenu = EAT_epochMenu + [["Base Manager Menu >>", [], "", -5, [["expression","[] spawn EAT_BaseManager;"]], "1", "1"]];
		EAT_epochMenu = EAT_epochMenu + [["Cursor Target Menu >>",[],"#USER:EAT_pointMenu", -5,[["expression",""]],"1","1"]];
		EAT_epochMenu = EAT_epochMenu + [["Get current position",[],"",-5,[["expression","[player] call EAT_GetPosition;"]],"1","1"]];
		EAT_epochMenu = EAT_epochMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_epochMenu = EAT_epochMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// Menu that deals with cursor target items like locks and safes "call EAT_DeleteObj;"
		EAT_pointMenu = [["",true]];
		EAT_pointMenu = EAT_pointMenu + [["-- Cursor Target Menu --", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_pointMenu = EAT_pointMenu + [["Point to get position",[],"",-5,[["expression","[cursorTarget] call EAT_GetPosition;"]],"1","1"]];
		EAT_pointMenu = EAT_pointMenu + [["Point to display code",[],"",-5,[["expression","call EAT_DisplayCode;"]],"1","1"]];
		EAT_pointMenu = EAT_pointMenu + [["Point to make new key",[],"",-5,[["expression","call EAT_RecoverKey;"]],"1","1"]];
		EAT_pointMenu = EAT_pointMenu + [["Point to lock object",[],"",-5,[["expression","[] spawn EAT_Lock;"]],"1","1"]];
		EAT_pointMenu = EAT_pointMenu + [["Point to unlock object",[],"",-5,[["expression","[] spawn EAT_Unlock;"]],"1","1"]];
		EAT_pointMenu = EAT_pointMenu + [["Point to Delete Item",[],"", -5,[["expression","[] spawn EAT_DeleteObj;"]],"1","1"]];
		EAT_pointMenu = EAT_pointMenu + [["", [], "", -5, [["expression", ""]], "1", "0"]];
		EAT_pointMenu = EAT_pointMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];

	// Base menu for Admin Build functions
		EAT_buildMenu = [["",true]];
		EAT_buildMenu = EAT_buildMenu + [["-- Admin Build Menu --", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_buildMenu = EAT_buildMenu + [["Rebuild last item",[],"", -5,[["expression",'["rebuild",false,true] spawn EAT_AdminBuild;']],"1","1"]];
		EAT_buildMenu = EAT_buildMenu + [["Building GUI", [],"", -5, [["expression", "[] spawn EAT_BuildingDialog;"]], "1", "1"]];
		EAT_buildMenu = EAT_buildMenu + [["Point To Upgrade",[],"", -5,[["expression","call EAT_Upgrade;"]],"1","1"]];
		EAT_buildMenu = EAT_buildMenu + [["Point To Downgrade",[],"", -5,[["expression","call EAT_DownGrade;"]],"1","1"]];
		EAT_buildMenu = EAT_buildMenu + [["Maintain Base",[],"", -5,[["expression","call EAT_MaintainArea;"]],"1","1"]];
		EAT_buildMenu = EAT_buildMenu + [["", [], "", -5,[["expression", ""]], "1", "0"]];
		EAT_buildMenu = EAT_buildMenu + [["Main Menu", [20], "#USER:EAT_mainMenu", -5, [["expression", ""]], "1", "1"]];
	};
	showCommandingMenu "#USER:EAT_mainMenu";
};