-- See LICENSE for terms

if ChoGGi.what_game ~= "Mars" then
	return
end

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

c = c + 1
Actions[c] = {ActionName = T(745--[[Shuttles]]),
	ActionMenubar = "ECM.ECM",
	ActionId = ".Shuttles",
	ActionIcon = "CommonAssets/UI/Menu/folder.tga",
	OnActionEffect = "popup",
}

c = c + 1
Actions[c] = {ActionName = T(302535920000535--[[Set ShuttleHub Shuttle Capacity]]),
	ActionMenubar = "ECM.ECM.Shuttles",
	ActionId = ".Set ShuttleHub Shuttle Capacity",
	ActionIcon = "CommonAssets/UI/Menu/ShowAll.tga",
	RolloverText = function()
		return SettingState(
			"ChoGGi.UserSettings.BuildingSettings.ShuttleHub.shuttles",
			T(302535920000536--[[Change amount of shuttles per shuttlehub.]])
		)
	end,
	OnAction = ChoGGi_Funcs.Menus.SetShuttleHubShuttleCapacity,
}

c = c + 1
Actions[c] = {ActionName = T(302535920000930--[[Set Cargo Shuttle Capacity]]),
	ActionMenubar = "ECM.ECM.Shuttles",
	ActionId = ".Set Cargo Shuttle Capacity",
	ActionIcon = "CommonAssets/UI/Menu/scale_gizmo.tga",
	RolloverText = function()
		return SettingState(
			ChoGGi.UserSettings.StorageShuttle,
			T(302535920000538--[[Change capacity of shuttles.]])
		)
	end,
	OnAction = ChoGGi_Funcs.Menus.SetShuttleCapacity,
}

c = c + 1
Actions[c] = {ActionName = T(302535920000932--[[Set Cargo Shuttle Speed]]),
	ActionMenubar = "ECM.ECM.Shuttles",
	ActionId = ".Set Cargo Shuttle Speed",
	ActionIcon = "CommonAssets/UI/Menu/move_gizmo.tga",
	RolloverText = function()
		return SettingState(
			ChoGGi.UserSettings.SpeedShuttle,
			T(302535920000540--[[Change speed of shuttles.]])
		)
	end,
	OnAction = ChoGGi_Funcs.Menus.SetShuttleSpeed,
}
