-- See LICENSE for terms

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

local ChoGGi_Funcs = ChoGGi_Funcs
local what_game = ChoGGi.what_game
local T = T
local Translate = ChoGGi_Funcs.Common.Translate
local Actions = ChoGGi.Temp.Actions
local c = #Actions

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

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

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

c = c + 1
Actions[c] = {ActionName = T(302535920001348--[[Restart]]),
	ActionId = ".Keys.ConsoleRestart",
	OnAction = ChoGGi_Funcs.Menus.ConsoleRestart,
	ActionShortcut = "Ctrl-Alt-R",
	ActionBindable = true,
}

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