﻿-- chunkname: @scripts/settings/achievements/achievement_mission_groups.lua

local AchievementMissionGroups = {}
local path = "content/ui/textures/icons/achievements/"

AchievementMissionGroups.missions = {
	{
		local_variable = "loc_mission_name_km_station",
		name = "km_station",
		zone = "transit",
		category = {
			default = "endeavours_transit",
			puzzle = "exploration_transit",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0003",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0003",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0004",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement02",
		},
	},
	{
		local_variable = "loc_mission_name_lm_rails",
		name = "lm_rails",
		zone = "transit",
		category = {
			default = "endeavours_transit",
			puzzle = "exploration_transit",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0001",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0001",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0002",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement01",
		},
	},
	{
		local_variable = "loc_mission_name_cm_habs",
		name = "cm_habs",
		zone = "transit",
		category = {
			default = "endeavours_transit",
			puzzle = "exploration_transit",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0005",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0002",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0006",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement03",
		},
	},
	{
		local_variable = "loc_mission_name_dm_rise",
		name = "dm_rise",
		zone = "transit",
		category = {
			default = "endeavours_transit",
			puzzle = "exploration_transit",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0007",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0004",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0008",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement04",
		},
	},
	{
		local_variable = "loc_mission_name_dm_stockpile",
		name = "dm_stockpile",
		zone = "watertown",
		category = {
			default = "endeavours_watertown",
			puzzle = "exploration_watertown",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0015",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0012",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0016",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement08",
		},
	},
	{
		local_variable = "loc_mission_name_hm_cartel",
		name = "hm_cartel",
		zone = "watertown",
		category = {
			default = "endeavours_watertown",
			puzzle = "exploration_watertown",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0017",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0011",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0018",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement09",
		},
	},
	{
		local_variable = "loc_mission_name_km_enforcer",
		name = "km_enforcer",
		zone = "watertown",
		category = {
			default = "endeavours_watertown",
			puzzle = "exploration_watertown",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0019",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0013",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0020",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement10",
		},
	},
	{
		local_variable = "loc_mission_name_lm_cooling",
		name = "lm_cooling",
		zone = "tank_foundry",
		category = {
			default = "endeavours_foundry",
			puzzle = "exploration_foundry",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0013",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0006",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0014",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement07",
		},
	},
	{
		local_variable = "loc_mission_name_fm_cargo",
		name = "fm_cargo",
		zone = "tank_foundry",
		category = {
			default = "endeavours_foundry",
			puzzle = "exploration_foundry",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0009",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0007",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0010",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement05",
		},
	},
	{
		local_variable = "loc_mission_name_dm_forge",
		name = "dm_forge",
		zone = "tank_foundry",
		category = {
			default = "endeavours_foundry",
			puzzle = "exploration_foundry",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0011",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0005",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0012",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement06",
		},
	},
	{
		local_variable = "loc_mission_name_lm_scavenge",
		name = "lm_scavenge",
		zone = "dust",
		category = {
			default = "endeavours_dust",
			puzzle = "exploration_dust",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0021",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0010",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0022",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement11",
		},
	},
	{
		local_variable = "loc_mission_name_hm_strain",
		name = "hm_strain",
		zone = "dust",
		category = {
			default = "endeavours_dust",
			puzzle = "exploration_dust",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0025",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0009",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0026",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement14",
		},
	},
	{
		local_variable = "loc_mission_name_dm_propaganda",
		name = "dm_propaganda",
		zone = "dust",
		category = {
			default = "endeavours_dust",
			puzzle = "exploration_dust",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0023",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0008",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0024",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement12",
		},
	},
	{
		local_variable = "loc_mission_name_fm_resurgence",
		name = "fm_resurgence",
		zone = "throneside",
		category = {
			default = "endeavours_throneside",
			puzzle = "exploration_throneside",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0027",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0014",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0028",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement15",
		},
	},
	{
		local_variable = "loc_mission_name_cm_archives",
		name = "cm_archives",
		zone = "throneside",
		category = {
			default = "endeavours_throneside",
			puzzle = "exploration_throneside",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0031",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0016",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0032",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement17",
		},
	},
	{
		local_variable = "loc_mission_name_hm_complex",
		name = "hm_complex",
		zone = "throneside",
		category = {
			default = "endeavours_throneside",
			puzzle = "exploration_throneside",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0029",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0015",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0030",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement16",
		},
	},
	{
		local_variable = "loc_mission_name_fm_armoury",
		name = "fm_armoury",
		zone = "entertainment",
		category = {
			default = "endeavours_entertainment",
			puzzle = "exploration_entertainment",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0033",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0017",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0034",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement18",
		},
	},
	{
		local_variable = "loc_mission_name_cm_raid",
		name = "cm_raid",
		zone = "entertainment",
		category = {
			default = "endeavours_entertainment",
			puzzle = "exploration_entertainment",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0035",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0018",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0036",
			challange = path .. "default",
			havoc = path .. "havoc_achievements/havoc_mission_achievement19",
		},
	},
	{
		local_variable = "loc_mission_name_km_heresy",
		name = "km_heresy",
		category = {
			default = "endeavours_entertainment",
			puzzle = "exploration_entertainment",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_0041",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0020",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0039",
			challange = path .. "default",
		},
	},
	{
		local_variable = "loc_mission_name_core_research",
		name = "core_research",
		category = {
			default = "endeavours_void",
			puzzle = "exploration_void",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_difficulty_0037",
			collectible = path .. "mission_achievements/missions_achievement_puzzle_0019",
			auric = path .. "mission_achievements/missions_achievement_difficulty_0038",
			challange = path .. "default",
		},
	},
	{
		local_variable = "loc_mission_name_op_train",
		name = "op_train",
		category = {
			default = "endeavours_operations",
			puzzle = "exploration_operations",
		},
		icon = {
			mission_default = path .. "mission_achievements/missions_achievement_0040",
			auric = path .. "mission_achievements/missions_achievement_0039",
		},
	},
	{
		local_variable = "loc_mission_name_psykhanium",
		name = "psykhanium",
		category = {
			default = "endeavours_psykhanium",
			puzzle = "exploration_psykhanium",
		},
		icon = {},
	},
}
AchievementMissionGroups.level_overview_meta = {
	{
		category = "endeavours",
		local_variable = "loc_zone_name_transit_short",
		name = "transit",
		icon = path .. "default",
		meta_tables = {
			lookup_table_01 = {
				"level_km_station_mission_1",
				"level_lm_rails_mission_1",
				"level_cm_habs_mission_1",
				"level_dm_rise_mission_1",
			},
			lookup_table_02 = {
				"level_km_station_mission_2",
				"level_lm_rails_mission_2",
				"level_cm_habs_mission_2",
				"level_dm_rise_mission_2",
			},
			lookup_table_03 = {
				"level_km_station_mission_3",
				"level_lm_rails_mission_3",
				"level_cm_habs_mission_3",
				"level_dm_rise_mission_3",
			},
			lookup_table_04 = {
				"level_km_station_mission_4",
				"level_lm_rails_mission_4",
				"level_cm_habs_mission_4",
				"level_dm_rise_mission_4",
			},
			lookup_table_05 = {
				"level_km_station_mission_5",
				"level_lm_rails_mission_5",
				"level_cm_habs_mission_5",
				"level_dm_rise_mission_5",
			},
		},
	},
	{
		category = "endeavours",
		local_variable = "loc_zone_name_watertown_short",
		name = "watertown",
		icon = path .. "default",
		meta_tables = {
			lookup_table_01 = {
				"level_dm_stockpile_mission_1",
				"level_hm_cartel_mission_1",
				"level_km_enforcer_mission_1",
			},
			lookup_table_02 = {
				"level_dm_stockpile_mission_2",
				"level_hm_cartel_mission_2",
				"level_km_enforcer_mission_2",
			},
			lookup_table_03 = {
				"level_dm_stockpile_mission_3",
				"level_hm_cartel_mission_3",
				"level_km_enforcer_mission_3",
			},
			lookup_table_04 = {
				"level_dm_stockpile_mission_4",
				"level_hm_cartel_mission_4",
				"level_km_enforcer_mission_4",
			},
			lookup_table_05 = {
				"level_dm_stockpile_mission_5",
				"level_hm_cartel_mission_5",
				"level_km_enforcer_mission_5",
			},
		},
	},
	{
		category = "endeavours",
		local_variable = "loc_zone_name_tank_foundry_short",
		name = "tank_foundry",
		icon = path .. "default",
		meta_tables = {
			lookup_table_01 = {
				"level_lm_cooling_mission_1",
				"level_fm_cargo_mission_1",
				"level_dm_forge_mission_1",
			},
			lookup_table_02 = {
				"level_lm_cooling_mission_2",
				"level_fm_cargo_mission_2",
				"level_dm_forge_mission_2",
			},
			lookup_table_03 = {
				"level_lm_cooling_mission_3",
				"level_fm_cargo_mission_3",
				"level_dm_forge_mission_3",
			},
			lookup_table_04 = {
				"level_lm_cooling_mission_4",
				"level_fm_cargo_mission_4",
				"level_dm_forge_mission_4",
			},
			lookup_table_05 = {
				"level_lm_cooling_mission_5",
				"level_fm_cargo_mission_5",
				"level_dm_forge_mission_5",
			},
		},
	},
	{
		category = "endeavours",
		local_variable = "loc_zone_name_hourglass_short",
		name = "dust",
		icon = path .. "default",
		meta_tables = {
			lookup_table_01 = {
				"level_lm_scavenge_mission_1",
				"level_hm_strain_mission_1",
				"level_dm_propaganda_mission_1",
			},
			lookup_table_02 = {
				"level_lm_scavenge_mission_2",
				"level_hm_strain_mission_2",
				"level_dm_propaganda_mission_2",
			},
			lookup_table_03 = {
				"level_lm_scavenge_mission_3",
				"level_hm_strain_mission_3",
				"level_dm_propaganda_mission_3",
			},
			lookup_table_04 = {
				"level_lm_scavenge_mission_4",
				"level_hm_strain_mission_4",
				"level_dm_propaganda_mission_4",
			},
			lookup_table_05 = {
				"level_lm_scavenge_mission_5",
				"level_hm_strain_mission_5",
				"level_dm_propaganda_mission_5",
			},
		},
	},
	{
		category = "endeavours",
		local_variable = "loc_zone_name_throneside_short",
		name = "throneside",
		icon = path .. "default",
		meta_tables = {
			lookup_table_01 = {
				"level_fm_resurgence_mission_1",
				"level_cm_archives_mission_1",
				"level_hm_complex_mission_1",
			},
			lookup_table_02 = {
				"level_fm_resurgence_mission_2",
				"level_cm_archives_mission_2",
				"level_hm_complex_mission_2",
			},
			lookup_table_03 = {
				"level_fm_resurgence_mission_3",
				"level_cm_archives_mission_3",
				"level_hm_complex_mission_3",
			},
			lookup_table_04 = {
				"level_fm_resurgence_mission_4",
				"level_cm_archives_mission_4",
				"level_hm_complex_mission_4",
			},
			lookup_table_05 = {
				"level_fm_resurgence_mission_5",
				"level_cm_archives_mission_5",
				"level_hm_complex_mission_5",
			},
		},
	},
	{
		category = "endeavours",
		local_variable = "loc_zone_name_carnival_short",
		name = "entertainment",
		icon = path .. "default",
		meta_tables = {
			lookup_table_01 = {
				"level_fm_armoury_mission_1",
				"level_cm_raid_mission_1",
			},
			lookup_table_02 = {
				"level_fm_armoury_mission_2",
				"level_cm_raid_mission_2",
			},
			lookup_table_03 = {
				"level_fm_armoury_mission_3",
				"level_cm_raid_mission_3",
			},
			lookup_table_04 = {
				"level_fm_armoury_mission_4",
				"level_cm_raid_mission_4",
			},
			lookup_table_05 = {
				"level_fm_armoury_mission_5",
				"level_cm_raid_mission_5",
			},
		},
	},
}
AchievementMissionGroups.zones = {
	{
		category = "exploration_transit",
		local_variable = "loc_zone_name_transit_short",
		name = "transit",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0001",
			destructible = path .. "mission_achievements/missions_achievement_0002",
		},
	},
	{
		category = "exploration_watertown",
		local_variable = "loc_zone_name_watertown_short",
		name = "watertown",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0007",
			destructible = path .. "mission_achievements/missions_achievement_0008",
		},
	},
	{
		category = "exploration_foundry",
		local_variable = "loc_zone_name_tank_foundry_short",
		name = "tank_foundry",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0003",
			destructible = path .. "mission_achievements/missions_achievement_0004",
		},
	},
	{
		category = "exploration_dust",
		local_variable = "loc_zone_name_hourglass_short",
		name = "dust",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0005",
			destructible = path .. "mission_achievements/missions_achievement_0006",
		},
	},
	{
		category = "exploration_throneside",
		local_variable = "loc_zone_name_throneside_short",
		name = "throneside",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0009",
			destructible = path .. "mission_achievements/missions_achievement_0010",
		},
	},
	{
		category = "exploration_entertainment",
		local_variable = "loc_zone_name_carnival_short",
		name = "entertainment",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0011",
			destructible = path .. "mission_achievements/missions_achievement_0016",
		},
	},
	{
		category = "exploration_void",
		local_variable = "loc_zone_name_void_short",
		name = "void",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0001",
			destructible = path .. "mission_achievements/missions_achievement_0002",
		},
	},
	{
		category = "exploration_operations",
		local_variable = "loc_zone_name_operations_short",
		name = "operations",
		icon = {
			zone_default = path .. "mission_achievements/missions_achievement_0038",
		},
	},
	{
		category = "exploration_horde",
		local_variable = "loc_zone_name_horde_short",
		name = "horde",
		icon = {},
	},
}
AchievementMissionGroups.zone_meta = {
	{
		category = "exploration_transit",
		local_variable = "loc_zone_name_transit_short",
		name = "transit",
		icon = path .. "mission_achievements/missions_achievement_0017",
		achievements = {
			"mission_zone_km_station_mission_collectible_1",
			"mission_zone_lm_rails_mission_collectible_1",
			"mission_zone_cm_habs_mission_collectible_1",
			"mission_zone_dm_rise_mission_collectible_1",
			"mission_zone_transit_destructible_3",
			"mission_zone_transit_3",
		},
	},
	{
		category = "exploration_watertown",
		local_variable = "loc_zone_name_watertown_short",
		name = "watertown",
		icon = path .. "mission_achievements/missions_achievement_0020",
		achievements = {
			"mission_zone_dm_stockpile_mission_collectible_1",
			"mission_zone_hm_cartel_mission_collectible_1",
			"mission_zone_km_enforcer_mission_collectible_1",
			"mission_zone_watertown_destructible_3",
			"mission_zone_watertown_3",
		},
	},
	{
		category = "exploration_foundry",
		local_variable = "loc_zone_name_tank_foundry_short",
		name = "tank_foundry",
		icon = path .. "mission_achievements/missions_achievement_0018",
		achievements = {
			"mission_zone_lm_cooling_mission_collectible_1",
			"mission_zone_fm_cargo_mission_collectible_1",
			"mission_zone_dm_forge_mission_collectible_1",
			"mission_zone_tank_foundry_destructible_3",
			"mission_zone_tank_foundry_3",
		},
	},
	{
		category = "exploration_dust",
		local_variable = "loc_zone_name_hourglass_short",
		name = "dust",
		icon = path .. "mission_achievements/missions_achievement_0019",
		achievements = {
			"mission_zone_lm_scavenge_mission_collectible_1",
			"mission_zone_hm_strain_mission_collectible_1",
			"mission_zone_dm_propaganda_mission_collectible_1",
			"mission_zone_dust_destructible_3",
			"mission_zone_dust_3",
		},
	},
	{
		category = "exploration_throneside",
		local_variable = "loc_zone_name_throneside_short",
		name = "throneside",
		icon = path .. "mission_achievements/missions_achievement_0021",
		achievements = {
			"mission_zone_fm_resurgence_mission_collectible_1",
			"mission_zone_cm_archives_mission_collectible_1",
			"mission_zone_hm_complex_mission_collectible_1",
			"mission_zone_throneside_destructible_3",
			"mission_zone_throneside_3",
		},
	},
	{
		category = "exploration_entertainment",
		local_variable = "loc_zone_name_carnival_short",
		name = "entertainment",
		icon = path .. "mission_achievements/missions_achievement_0022",
		achievements = {
			"mission_zone_fm_armoury_mission_collectible_1",
			"mission_zone_cm_raid_mission_collectible_1",
			"mission_zone_entertainment_destructible_3",
			"mission_zone_entertainment_3",
		},
	},
	{
		category = "exploration_operations",
		local_variable = "loc_zone_name_operations_short",
		name = "operations",
		achievements = {},
	},
	{
		category = "exploration_horde",
		local_variable = "loc_zone_name_horde_short",
		name = "horde",
		achievements = {},
	},
}
AchievementMissionGroups.sorted_missions_per_zone = {
	transit = {
		count = 0,
		loc_variables = "loc_zone_name_transit_short",
		stats = {},
	},
	watertown = {
		count = 0,
		loc_variables = "loc_zone_name_watertown_short",
		stats = {},
	},
	dust = {
		count = 0,
		loc_variables = "loc_zone_name_hourglass_short",
		stats = {},
	},
	entertainment = {
		count = 0,
		loc_variables = "loc_zone_name_entertainment_short",
		stats = {},
	},
	throneside = {
		count = 0,
		loc_variables = "loc_zone_name_throneside_short",
		stats = {},
	},
	tank_foundry = {
		count = 0,
		loc_variables = "loc_zone_name_tank_foundry_short",
		stats = {},
	},
}

return AchievementMissionGroups
