-- See LICENSE for terms

--~ 	local Translate = ChoGGi.ComFuncs.Translate
local Strings = ChoGGi.Strings
local Actions = ChoGGi.Temp.Actions
local c = #Actions

c = c + 1
Actions[c] = {ActionName = Strings[302535920000031--[[Find Nearest Resource--]]],
	ActionMenubar = "ECM.ECM",
	ActionId = ".Find Nearest Resource",
	ActionIcon = "CommonAssets/UI/Menu/EV_OpenFirst.tga",
	RolloverText = Strings[302535920000554--[[Select an object and click this to display a list of resources (Shows nearest resource to object).--]]],
	OnAction = ChoGGi.ComFuncs.FindNearestResource,
}

c = c + 1
Actions[c] = {ActionName = Strings[302535920000333--[[Building Info--]]],
	ActionMenubar = "ECM.ECM",
	ActionId = ".Building Info",
	ActionIcon = "CommonAssets/UI/Menu/ExportImageSequence.tga",
	RolloverText = Strings[302535920000345--[[Shows info about building in text above it.--]]],
	OnAction = ChoGGi.MenuFuncs.BuildingInfo_Toggle,
}

c = c + 1
Actions[c] = {ActionName = Strings[302535920001307--[[Grid Info--]]],
	ActionMenubar = "ECM.ECM",
	ActionId = ".Grid Info",
	ActionIcon = "CommonAssets/UI/Menu/ExportImageSequence.tga",
	RolloverText = Strings[302535920001477--[["List objects in grids (air, electricity, and water)."--]]],
	OnAction = ChoGGi.MenuFuncs.BuildGridList,
}

--~ c = c + 1
--~ Actions[c] = {ActionName = Strings[302535920000555--[[Monitor Info--]]],
--~ 	ActionMenubar = "ECM.ECM",
--~ 	ActionId = ".Monitor Info",
--~ 	ActionIcon = "CommonAssets/UI/Menu/EV_OpenFirst.tga",
--~ 	RolloverText = Strings[302535920000556--[[Shows a list of updated information about your city.--]]],
--~ 	OnAction = ChoGGi.MenuFuncs.MonitorInfo,
--~ }

c = c + 1
Actions[c] = {ActionName = Strings[302535920000469--[[Close Dialogs--]]],
	ActionMenubar = "ECM.ECM",
	ActionId = ".Close Dialogs",
	ActionIcon = "CommonAssets/UI/Menu/remove_water.tga",
	RolloverText = Strings[302535920000470--[[Close any dialogs opened by ECM (Examine, Object Editor, Change Colours, etc...)--]]],
	OnAction = ChoGGi.ComFuncs.CloseDialogsECM,
	ActionSortKey = "99",
}
