LegendaryArmours = LegendaryArmours or {}
la = LegendaryArmours

la.raincoat = {
	unit = "units/heist_outfits/armor_skins/raincoat/raincoat",
	fps_unit = "units/heist_outfits/armor_skins/raincoat/raincoat_fps",

	hide_armor = true,

	fps_hide_armor = true,

	character_override = {
		bonnie = {
			unit = "units/heist_outfits/armor_skins/raincoat/raincoat_bonnie"
		},
		ecp_male = {
			unit = "units/heist_outfits/armor_skins/raincoat/raincoat_ethan"
		}
	}
}

la.stealth_suit = {
	unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_male",
	fps_unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_fps",

	hide_armor = true,
	replace_body = true,

	fps_hide_armor = true,
	fps_replace_body = true,

	character_override = {
		female_1 = {
			unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_female"
		},
		bonnie = {
			unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_female_thick"
		},
		sydney = {
			unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_female"
		},
		joy = {
			unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_female"
		},
		ecp_male = {
			unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_male_thick"
		},
		ecp_female = {
			unit = "units/heist_outfits/armor_skins/stealth_suit/stealth_suit_female"
		}
	}
}

la.winter_suit = {
	unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_male",
	fps_unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_fps",

	hide_armor = true,
	replace_body = true,

	fps_hide_armor = true,
	fps_replace_body = true,

	character_override = {
		female_1 = {
			unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_female"
		},
		bonnie = {
			unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_female_thick"
		},
		sydney = {
			unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_female"
		},
		joy = {
			unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_female"
		},
		ecp_male = {
			unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_male_thick"
		},
		ecp_female = {
			unit = "units/heist_outfits/armor_skins/winter_suit/winter_suit_female"
		}
	}
}

la.tuxedo_black = {
	desc_id = "bm_askn_tuxedo_desc",

	unit = "units/heist_outfits/armor_skins/tuxedo/tuxedo_male",
	unit_material = "units/heist_outfits/armor_skins/tuxedo/tuxedo_male_black",

	fps_unit = "units/heist_outfits/armor_skins/tuxedo/tuxedo_fps",

	hide_armor = true,
	replace_body = true,

	fps_hide_armor = true,
	fps_replace_body = true,

	character_override = {
		russian = {
			fps_unit_objects = { g_gloves = true, g_arms = true, g_male_tux_01 = true }
		},
		german = {
			fps_unit_objects = { g_gloves = true, g_arms_wolf = true, g_male_tux_01 = true }
		},
		spanish = {
			fps_unit_objects = { g_gloves = true, g_arms_chains = true, g_male_tux_01 = true }
		},
		american = {
			fps_unit_objects = { g_gloves = true, g_arms_hoxton = true, g_male_tux_01 = true }
		},
		jowi = {
			fps_unit_objects = { g_gloves_wick = true, g_arms = true, g_male_tux_01 = true }
		},
		old_hoxton = {
			fps_unit_objects = { g_gloves = true, g_arms_hoxton = true, g_male_tux_01 = true }
		},
		female_1 = {
			unit = "units/heist_outfits/armor_skins/tuxedo/tuxedo_female",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/tuxedo_female_black",
			fps_unit_objects = { g_gloves_female = true, g_arms_female = true, g_female_tux_01 = true }
		},
		dragan = {
			fps_unit_objects = { g_gloves = true, g_arms = true, g_male_tux_01 = true }
		},
		jacket = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_jacket",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_jacket_black",
			fps_unit_objects = { g_gloves_jacket = true, g_male_tux_01 = true }
		},
		bonnie = {
			unit = "units/heist_outfits/armor_skins/tuxedo/tuxedo_female_thick",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/tuxedo_female_black",
			fps_unit_objects = { g_gloves_female = true, g_female_tux_01 = true }
		},
		sokol = {
			fps_unit_objects = { g_gloves = true, g_arms = true, g_male_tux_01 = true }
		},
		dragon = {
			fps_unit_objects = { g_gloves = true, g_arms_jiro = true, g_male_tux_01 = true }
		},
		bodhi = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_bodhi",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_bodhi_black",
			fps_unit_objects = { g_arms_bodhi = true, g_male_tux_01 = true }
		},
		jimmy = {
			fps_unit_objects = { g_gloves = true, g_arms = true, g_male_tux_01 = true }
		},
		sydney = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_sydney",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_sydney_black",
			fps_unit_objects = { g_gloves_female_2 = true, g_arm_sydney = true, g_female_tux_01 = true }
		},
		wild = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_rust",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_rust_black",
			fps_unit_objects = { g_gloves_wild = true, g_male_tux_01 = true }
		},
		chico = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_scarface",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_scarface_black",
			fps_unit_objects = { g_gloves_terry = true, g_arms = true, g_male_tux_01 = true }
		},
		max = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_max",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_max_black",
			fps_unit_objects = { g_arms_max = true, g_male_tux_01 = true }
		},
		joy = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_joy",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_joy_black",
			fps_unit_objects = { g_gloves_joy = true, g_arms_female = true, g_female_tux_01 = true }
		},
		myh = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_myh",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_myh_black",
			fps_unit_objects = { g_gloves_myh = true, g_arms = true, g_male_tux_01 = true }
		},
		ecp_male = {
			unit = "units/heist_outfits/armor_skins/tuxedo/tuxedo_male_thick"
		},
		ecp_female = {
			unit = "units/heist_outfits/armor_skins/tuxedo/unique/tuxedo_hila",
			unit_material = "units/heist_outfits/armor_skins/tuxedo/tuxedo_female_black",
			fps_unit_objects = { g_gloves_female = true, g_arms_female = true, g_female_tux_01 = true }
		}
	},
}
la.tuxedo_white = deep_clone(la.tuxedo_black)
la.tuxedo_white.unit_material = "units/heist_outfits/armor_skins/tuxedo/tuxedo_male_white"
for character_id, data in pairs(la.tuxedo_white.character_override) do
	if data.unit_material then
		data.unit_material = string.gsub(data.unit_material, "black", "white")
	end
	
	if data.fps_unit_objects then
		if data.fps_unit_objects.g_male_tux_01 then
			data.fps_unit_objects.g_male_tux_01 = false
			data.fps_unit_objects.g_male_tux_02 = true
		elseif data.fps_unit_objects.g_female_tux_01 then
			data.fps_unit_objects.g_female_tux_01 = false
			data.fps_unit_objects.g_female_tux_02 = true
		end
	end
end

la.scrubs_darkblue = {
	desc_id = "bm_askn_scrubs_desc",

	unit = "units/heist_outfits/armor_skins/scrubs/scrubs_male",
	unit_material = "units/heist_outfits/armor_skins/scrubs/scrubs_darkblue",

	fps_unit = "units/heist_outfits/armor_skins/scrubs/scrubs_fps",
	fps_unit_material = "units/heist_outfits/armor_skins/scrubs/scrubs_darkblue",

	hide_armor = true,
	replace_body = true,

	fps_hide_armor = true,
	fps_replace_body = true,
	
	character_override = {
		female_1 = {
			unit = "units/heist_outfits/armor_skins/scrubs/scrubs_female"
		},
		bonnie = {
			unit = "units/heist_outfits/armor_skins/scrubs/scrubs_female_thick"
		},
		sydney = {
			unit = "units/heist_outfits/armor_skins/scrubs/scrubs_female"
		},
		max = {
			unit = "units/heist_outfits/armor_skins/scrubs/unique/scrubs_max"
		},
		joy = {
			unit = "units/heist_outfits/armor_skins/scrubs/scrubs_female"
		},
		ecp_male = {
			unit = "units/heist_outfits/armor_skins/scrubs/scrubs_male_thick"
		},
		ecp_female = {
			unit = "units/heist_outfits/armor_skins/scrubs/scrubs_female"
		}
	}
}
la.scrubs_green = deep_clone(la.scrubs_darkblue)
la.scrubs_green.unit_material = "units/heist_outfits/armor_skins/scrubs/scrubs_green"
la.scrubs_green.fps_unit_material = la.scrubs_green.unit_material
la.scrubs_lightblue = deep_clone(la.scrubs_darkblue)
la.scrubs_lightblue.unit_material = "units/heist_outfits/armor_skins/scrubs/scrubs_lightblue"
la.scrubs_lightblue.fps_unit_material = la.scrubs_lightblue.unit_material
la.scrubs_purple = deep_clone(la.scrubs_darkblue)
la.scrubs_purple.unit_material = "units/heist_outfits/armor_skins/scrubs/scrubs_purple"
la.scrubs_purple.fps_unit_material = la.scrubs_purple.unit_material

local rng_number = math.random()
if rng_number <= 0.1 then
	la.scrubs_darkblue.unit_material = "units/heist_outfits/armor_skins/scrubs/not_easter_egg_stuff/scrubs_darkblue"
	la.scrubs_green.unit_material = "units/heist_outfits/armor_skins/scrubs/not_easter_egg_stuff/scrubs_green"
	la.scrubs_lightblue.unit_material = "units/heist_outfits/armor_skins/scrubs/not_easter_egg_stuff/scrubs_lightblue"
	la.scrubs_purple.unit_material = "units/heist_outfits/armor_skins/scrubs/not_easter_egg_stuff/scrubs_purple"
end

la.murky_suit = {
	unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_male",
	fps_unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_fps",

	hide_armor = true,
	replace_body = true,

	fps_hide_armor = true,
	fps_replace_body = true,

	unit_objects = {
		g_extras = true
	},

	level_override = {
		[1] = {
			unit_objects = {
				g_extras = false
			}
		},
		[2] = {
			unit_objects = {
				g_extras = false
			}
		}
	},

	character_override = {
		female_1 = {
			unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_female"
		},
		bonnie = {
			unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_female_thick"
		},
		sydney = {
			unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_female"
		},
		joy = {
			unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_female"
		},
		ecp_male = {
			unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_male_thick"
		},
		ecp_female = {
			unit = "units/heist_outfits/armor_skins/murky_suit/murky_suit_female"
		}
	}
}

la.pool_repair_suit = {
	unit = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit",
	fps_unit = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps",
	fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_white",

	fps_unit_objects = { g_arms = true, g_arms_female = false, g_gloves = true, g_gloves_female = false },

	hide_armor = true,
	replace_body = true,

	fps_hide_armor = true,
	fps_replace_body = true,

	character_override = {
		spanish = {
			fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_black"
		},
		female_1 = {
			fps_unit_objects = { g_arms = false, g_arms_female = true, g_gloves = false, g_gloves_female = true },
			fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_female"
		},
		bonnie = {
			fps_unit_objects = { g_arms = false, g_arms_female = true, g_gloves = false, g_gloves_female = true },
			fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_female"
		},
		sydney = {
			fps_unit_objects = { g_arms = false, g_arms_female = true, g_gloves = false, g_gloves_female = true },
			fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_female"
		},
		joy = {
			fps_unit_objects = { g_arms = false, g_arms_female = true, g_gloves = false, g_gloves_female = true },
			fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_female"
		},
		ecp_male = {
			fps_unit_objects = { g_arms = false, g_arms_female = true, g_gloves = false, g_gloves_female = true },
			fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_female"
		},
		ecp_female = {
			fps_unit_objects = { g_arms = false, g_arms_female = true, g_gloves = false, g_gloves_female = true },
			fps_unit_material = "units/heist_outfits/armor_skins/pool_repair_suit/pool_repair_suit_fps_female"
		}
	}
}