--------------------------------------

local _roleStages = {
	Lobby = {"Lobby"},
	Queue = {"Queue"},
	Gameplay = {"Waiting", "Gameplay", "EndGame"},
}

local conf = {
	debug_mode = false,
	stages = _roleStages.Queue,
	modes = {
		DEFAULT = {
			title = "Last One Standing!",
			temp_queue_place = _places.queue_default,
			gameplay_place = _places.gameplay_development,
		},

		DEATHMATCH = {
			title = "Solo Deathmatch!",
			temp_queue_place = _places.queue_deathmatch,
			gameplay_place = _places.gameplay_development,
		},

		TEAM_DEATHMATCH = {
			title = "Team Deathmatch!",
			temp_queue_place = _places.queue_teamDeathmatch,
			gameplay_place = _places.gameplay_development,
		},
		FREE_PLAY = {
			title = "Free Play!",
			temp_queue_place = _places.queue_freePlay,
			gameplay_place = nil,
		},
	},
	ui_mode_list = {
		"DEFAULT",
		"DEATHMATCH",
		"TEAM_DEATHMATCH",
		"FREE_PLAY",
	},
	lobby_use_boring_flow = true,
	lobby_place = _places.lobby,
	lobby_teleportation_retries = 2,
	default_game_mode = "DEATHMATCH",
	override = false,
	disable_queue = false,
	queue_time_limit = 60 * 3,
	gameplay_wait_for_join_timeout = 40,
	min_queue_players = 2,
	max_queue_players = 115,
	queue_reservation_timeout = 5,
	queue_server_response_timeout = 30,
	queue_server_creation_timeout = 120,
	spectate_camera_zoom_distance = 12,
	camera_wait_time_after_death = 3,
	map_size = 2450 * 4,
	map_offset = Vector3.new(4900, 0, 4900),
	delivery_vehicle_spawn_radius = 2500,
	delivery_vehicle_spawn_height = 2000,
	minimap_width = 0.3,
	minimap_height = 0.3,
	minimap_zoom = 3,
	worldmap_width = 0.9,
	worldmap_height = 0.9,
	worldmap_zoom = 1,
	player_health = 100,
	force_rthro = false,

	-- Respawn/Deathmatch config values (must override all these if you make respawn true)
	respawn = false,
	respawnTime = nil,
	respawn_radius_lowest_fraction = nil, -- players will respawn between lowest_fraction and highest_fraction of target storm radius
	respawn_radius_highest_fraction = nil,
	respawn_height_fraction = nil, -- fraction of delivery_vehicle_spawn_height
	killsNeededToWin = nil,

	-- Team modes config values (must override if using teams)
	num_teams = 0,
	team_names = nil,
	team_colors = nil,
	num_respawn_tickets = nil,
	delivery_vehicle_offset_from_center = nil, --  delivery vehicle paths will be set this distance from center dividing line

	all_players_can_chat = true,
	admin_group_ids = {
		3958078, -- Reference Team
		4448406, -- Trapped in amber I
		1200769, -- Roblox Admins
	},
	external_qa_group_ids = {
		4448406,
	},
	reference_games_user_ids = {
		377987375,
		7210880,
		782148096,
		628764692,
		613016484,
		671465276,
		169775909,
		402758067,
		366370235,
		688488720,
		550574694,
		315259569,
		1114780684,
		1144106728,
		1043064299,
		462128752,
		606075979,
		101107579,
		101134337,
		439546926,
		1298953044,
		959520514,
	},
	community_qa_group_id = 3055661,
	intern_group_id = 2868472,
	intern_group_rank_id = 100,

	test_bot_group_ids = {
		5084675,
	},

	storm = {
		radius = 6000,
		time_before_start = 120,
		debug_time_scale = 1,
		number_of_stages = 10,

		-- stage 0 (show starting circle with no transition)
		{ transition_length = 0,
			wait_length = 150,
			damage = 1,
			move_scale = 0,
			shrinkage_factor = 0 },

		-- stage 1
		{ transition_length = 120,
			wait_length = 120,
			damage = 1,
			shrinkage_factor = 0.5 },

		-- stage 2
		{ transition_length = 90,
			wait_length = 90,
			damage = 2,
			shrinkage_factor = 0.5 },

		-- stage 3
		{ transition_length = 75,
			wait_length = 75,
			damage = 3,
			shrinkage_factor = 0.5 },

		-- stage 4
		{ transition_length = 60,
			wait_length = 60,
			damage = 5,
			shrinkage_factor = 0.5 },

		-- stage 5 (start moving)
		{ transition_length = 60,
			wait_length = 30,
			damage = 7,
			move_scale = 1,
			shrinkage_factor = 0 },

		-- stage 6
		{ transition_length = 50,
			wait_length = 20,
			damage = 10,
			move_scale = 1,
			shrinkage_factor = 0 },

		-- stage 7
		{ transition_length = 45,
			wait_length = 15,
			damage = 10,
			move_scale = 1,
			shrinkage_factor = 0 },

		-- stage 8
		{ transition_length = 45,
			wait_length = 5,
			damage = 10,
			move_scale = 1,
			shrinkage_factor = 0 },

		-- stage 9 (shrink to nothing)
		{ transition_length = 45,
			wait_length = 0,
			damage = 10,
			move_scale = 0,
			shrinkage_factor = 1 },
	},

	--The amount of time to wait for new players to join before kicking off gameplay mode, so we can collect more data on what players are expected
	gameplay_start_delay = 5,

	-- Flags
	player_nil_parent_enabled = false,

	---- Game stage specific settings ----
	gameplay = {
		gameplay_chat_enabled = true,
	},

	avatarOutfits = {
		680889488,
		441740226,
		723925014,
		810215407,
		864499159,
		862260912,
		895148395,
		943972626,
		965363933,
		1426384108,
		1026787390,
		1425874416,
		1061810393,
		1153193232,
		1295571555,
		1405375928,
		1405384123,
		525534957,
		525543725,
		661078277,
		680269921,
		320929398,
		597550835,
		597519851,
		597493475,
		597497519,
		342230531,
		342203958,
		373238586,
		404256664,
		426842155,
		441742685,
		441744096,
		441745631,
		441746285,
		615934704,
		489946079,
		489635259,
		703808863,
		742161851,
		765909730,
		786514132,
		786498560,
		786430795,
		895140665,
		919939396,
		919943562,
		965242919,
	},

	avatarAnimations = {
	},
}