-- See LICENSE for terms

-- shortcut keys without a menu item (maybe Menus isn't the best folder for this)

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

c = c + 1
Actions[c] = {ActionName = Strings[302535920000734--[[Clear Log--]]],
	ActionId = ".Keys.ClearConsoleLog",
	OnAction = cls,
	ActionShortcut = "F9",
	ActionBindable = true,
}

c = c + 1
Actions[c] = {ActionName = Translate(174--[[Color Modifier--]]) .. " " .. Strings[302535920001346--[[Random Colour--]]],
	ActionId = ".Keys.ObjectColourRandom",
	OnAction = ChoGGi.ComFuncs.ObjectColourRandom,
	ActionShortcut = "Shift-F6",
	ActionBindable = true,
}

c = c + 1
Actions[c] = {ActionName = Translate(174--[[Color Modifier--]]) .. " " .. Strings[302535920000025--[[Default Colour--]]],
	ActionId = ".Keys.ObjectColourDefault",
	OnAction = ChoGGi.ComFuncs.ObjectColourDefault,
	ActionShortcut = "Ctrl-F6",
	ActionBindable = true,
}

c = c + 1
Actions[c] = {ActionName = Strings[302535920001347--[[Show Console--]]],
	ActionId = ".Keys.ShowConsole",
	OnAction = ChoGGi.ComFuncs.ToggleConsole,
	ActionShortcut = "Enter",
	ActionShortcut2 = "~",
	ActionBindable = true,
}
c = c + 1
Actions[c] = {ActionName = Strings[302535920001348--[[Restart--]]],
	ActionId = ".Keys.ConsoleRestart",
	OnAction = ChoGGi.MenuFuncs.ConsoleRestart,
	ActionShortcut = "Ctrl-Alt-R",
	ActionBindable = true,
}

-- goes to placement mode with SelectedObj or last built object
c = c + 1
Actions[c] = {ActionName = Strings[302535920001350--[[Place Last Selected/Constructed Building--]]],
	ActionId = ".Keys.PlaceLastSelectedConstructedBld",
	OnAction = ChoGGi.ComFuncs.PlaceLastSelectedConstructedBld,
	ActionShortcut = "Ctrl-Space",
	ActionBindable = true,
}

c = c + 1
Actions[c] = {ActionName = Strings[302535920000069--[[Examine--]]] .. " " .. Strings[302535920001103--[[Objects--]]] .. " " .. Translate(1000448--[[Shift--]]),
	ActionId = ".Keys.Examine Objects Shift",
	OnAction = ChoGGi.MenuFuncs.ExamineObjectRadius,
	radius_amount = 2500,
	ActionShortcut = "Shift-F4",
	ActionBindable = true,
}

c = c + 1
Actions[c] = {ActionName = Strings[302535920000069--[[Examine--]]] .. " " .. Strings[302535920001103--[[Objects--]]] .. " " .. Translate(1000449--[[Ctrl--]]),
	ActionId = ".Keys.Examine Objects Ctrl",
	OnAction = ChoGGi.MenuFuncs.ExamineObjectRadius,
	radius_amount = 10000,
	ActionShortcut = "Ctrl-F4",
	ActionBindable = true,
}
