﻿custom_clothes = {
	usage = customization
	interface_position = 2

	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = agot_all_clothes
	}
	
	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = agot_house_clothes
	}
	
	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = agot_historic_characters
	}

	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = free_cities_braavos_high_clothes
	}
	
	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = free_cities_braavos_high_clothes_barbershop_only
	}

	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = agot_all_armors
	}
	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = agot_the_blacks_faction
	}
	
	#AGOT Added
	add_accessory_modifiers = {
		gene = clothes
		template = agot_the_greens_faction 
	}
	add_accessory_modifiers = {
		gene = clothes
		template = sp3_western_royalty_clothes
		is_valid_custom = {
			has_dlc_feature = couture_of_the_capets
		}
	}

	## TGP Chinese ##

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_imperial_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_war_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_royalty_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_commoner_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_high_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_era1_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_era2_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_buddhist_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_ministers
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_chinese_taoist_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_war_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_imperial_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_royalty_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_high_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_commoner_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

add_accessory_modifiers = {
		gene = clothes
		template = tgp_korean_commoner_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

		add_accessory_modifiers = {
		gene = clothes
		template = tgp_korean_era1_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

		add_accessory_modifiers = {
		gene = clothes
		template = tgp_korean_era2_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_korean_imperial_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_southeast_commoner_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_shinto_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_japanese_buddhist_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_southeast_low_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = tgp_southeast_high_nobility_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}
	
		add_accessory_modifiers = {
		gene = clothes
		template = tgp_southeast_royalty_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_southeast_commoner_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	### MPO - Khans of the Steppe ###

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_commoner_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_low_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_high_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_royalty_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_imperial_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_war_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}	

	## CCP4 Sami ##

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_commoner_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_low_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_high_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
		
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_travel_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	## CCP4 Khanty ##

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_commoner_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_low_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_high_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_war_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}	
	}

	## CCP 5 Clothing
	add_accessory_modifiers = {
		gene = clothes
		template = ccp5_english_era4_war_nobility_clothes

		is_valid_custom = {
			has_cp5_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ccp5_english_era3_war_nobility_clothes

		is_valid_custom = {
			has_cp5_dlc_trigger = yes
		}
	}

	## CCP 5 Clothing
	add_accessory_modifiers = {
		gene = clothes
		template = ccp5_german_era3_war_nobility_clothes

		is_valid_custom = {
			has_cp5_dlc_trigger = yes
		}
	}

	## CCP 5 Clothing
	add_accessory_modifiers = {
		gene = clothes
		template = ccp5_french_era3_war_nobility_clothes

		is_valid_custom = {
			has_cp5_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ccp5_french_late_era3_war_nobility_clothes

		is_valid_custom = {
			has_cp5_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ccp5_french_era3_war_commoners_clothes

		is_valid_custom = {
			has_cp5_dlc_trigger = yes
		}
	}
	
	### AGOT Submod Core ###
	add_accessory_modifiers = {
		gene = clothes
		is_valid_custom = {
			is_aotk_loaded_trigger = yes
		}
		template = kingsguard_armor_clothes
	}
	
	#AGOT Submod Core
	add_accessory_modifiers = {
		gene = clothes
		is_valid_custom = {
			is_brightboar_loaded_trigger = yes
		}
		template = brightboar_swordsman_armour
	}

	#AGOT Submod Core
	add_accessory_modifiers = {
		gene = clothes
		is_valid_custom = {
			is_lotd_loaded_trigger = yes
		}
		template = valyrian_nobility_clothing
	}

	#AGOT Submod Core
	add_accessory_modifiers = {
		gene = clothes
		is_valid_custom = {
			is_lotd_loaded_trigger = yes
		}
		template = valyrian_nobility_clothing_generic
	}

	add_accessory_modifiers = {
		gene = clothes
		is_valid_custom = {
			is_aotk_loaded_trigger = yes
		}
		template = kingsguard_armor_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		is_valid_custom = {
			is_lotd_loaded_trigger = yes
		}
		template = valyrian_nobility_clothing
	}

	add_accessory_modifiers = {
		gene = clothes
		is_valid_custom = {
			is_lotd_loaded_trigger = yes
		}
		template = valyrian_nobility_clothing_generic
	}

	add_accessory_modifiers = { #AGOT+ & LOTD
		gene = clothes
		is_valid_custom = {
			#OR = {
				is_agot_plus_loaded_trigger = yes
				#is_lotd_loaded_trigger = yes
			#}
		}
		template = smc_lotd_or_agotplus_clothes
	}

	add_accessory_modifiers = { #AGOT+
		gene = clothes
		is_valid_custom = {
			is_agot_plus_loaded_trigger = yes
		}
		template = asoiaf_all_armours
	}

	add_accessory_modifiers = { #AGOT+
		gene = clothes
		is_valid_custom = {
			is_agot_plus_loaded_trigger = yes
		}
		template = asoiaf_unique_clothes
	}

	add_accessory_modifiers = { #AGOT+
		gene = clothes
		is_valid_custom = {
			is_agot_plus_loaded_trigger = yes
		}
		template = asoiaf_maester_clothes
	}

	add_accessory_modifiers = { #AGOT+
		gene = clothes
		is_valid_custom = {
			is_agot_plus_loaded_trigger = yes
		}
		template = asoiaf_religious_clothes
	}

	add_accessory_modifiers = { #TGC added
		gene = clothes
		is_valid_custom = {
			is_tgc_loaded_trigger = yes
		}
		template = golden_company_armor
	}

	add_accessory_modifiers = { #TGC added
		gene = clothes
		is_valid_custom = {
			is_tgc_loaded_trigger = yes
		}
		template = golden_company_armor_black
	}

	add_accessory_modifiers = { #TGC added
		gene = clothes
		is_valid_custom = {
			is_tgc_loaded_trigger = yes
		}
		template = golden_company_armor_blackfyre
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = tgp_southeast_royalty_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = tgp_southeast_commoner_clothes
		is_valid_custom = {
			has_tgp_dlc_trigger = yes
		}
	}

	### MPO - Khans of the Steppe ###

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_commoner_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_low_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_high_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_royalty_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_imperial_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mpo_mongol_war_nobility_clothes
		is_valid_custom = {
			has_mpo_dlc_trigger = yes
		}
	}	
		
	## CCP4 Sami ##

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_commoner_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_low_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_high_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_sami_travel_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	## CCP4 Khanty ##

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_commoner_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_low_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_high_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ccp4_khanty_war_nobility_clothes
		is_valid_custom = {
			has_cp4_dlc_trigger = yes
		}	
	}
	
	## POL ##

	add_accessory_modifiers = {
		gene = clothes
		template = pol_commoner_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_low_nobility_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_high_nobility_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_imperial_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = pol_war_nobility_clothes
		is_valid_custom = {
			has_pol_dlc_trigger = yes
		}
	}

	## EP3 ##
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_commoner_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_low_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_high_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_imperial_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}	
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era1_war_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_commoner_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_low_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_high_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_royalty_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_imperial_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}	
	add_accessory_modifiers = {
		gene = clothes
		template = ep3_byzantine_era2_war_nobility_clothes
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	
	## SP3 ##
	add_accessory_modifiers = {
		gene = clothes
		template = sp3_western_royalty_clothes
		is_valid_custom = {
			has_dlc_feature = couture_of_the_capets
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = sp2_western_royalty_clothes
		is_valid_custom = {
			has_dlc_feature = elegance_of_the_empire
		}
	}
	
	## CE1 ##
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_physician_01
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_bedchamber_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era3_low_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era3_high_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era2_low_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}
	add_accessory_modifiers = {
		gene = clothes
		template = fp4_western_era2_high_nobility_clothes
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}

	## EP2 ##
	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_commoner_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_low_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_high_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era1_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era2_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era3_low_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era3_high_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_western_era4_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_religious_muslim_hajj_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_religious_muslim_ihram_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_mena_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_steppe_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_byzantine_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = ep2_indian_war_nobility_clothes
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
	}

	## AFR ##

	add_accessory_modifiers = {
		gene = clothes
		template = afr_commoner_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = afr_low_nobility_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = afr_high_nobility_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = afr_war_nobility_clothes
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
	}

	## FP3 - Sands of Time ##

	add_accessory_modifiers = {
	gene = clothes
	template = fp3_iranian_low_nobility_clothes
	is_valid_custom = {
			OR = {
		has_fp3_dlc_trigger = yes
				has_mpo_dlc_trigger = yes
			}
	}
	}

	add_accessory_modifiers = {
	gene = clothes
	template = fp3_iranian_high_nobility_clothes
	is_valid_custom = {
			OR = {
		has_fp3_dlc_trigger = yes
				has_mpo_dlc_trigger = yes
			}
	}
	}

	add_accessory_modifiers = {
	gene = clothes
	template = fp3_iranian_war_nobility_clothes
	is_valid_custom = {
			OR = {
		has_fp3_dlc_trigger = yes
				has_mpo_dlc_trigger = yes
			}
	}
	}

	## FP2 - The Fate of Iberia ##

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_commoner_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_commoner_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_low_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_low_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_high_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_high_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_muslim_war_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp2_christian_war_nobility_clothes
		is_valid_custom = {
			has_fp2_dlc_trigger = yes
		}
	}

	## FP1 ##

	add_accessory_modifiers = {
		gene = clothes
		template = fp1_commoner_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = fp1_commoner_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = fp1_low_nobility_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = fp1_high_nobility_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = fp1_war_nobility_clothes
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_commoner_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		# is_valid_custom = {
		# 	highest_held_title_tier > tier_county
		# }
		template = western_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		# is_valid_custom = {
		# 	highest_held_title_tier > tier_duchy
		# }
		template = western_royalty_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_war_nobility_clothes
	}

	# add_accessory_modifiers = {
	# 	gene = clothes
	# 	is_valid_custom = {
	# 		highest_held_title_tier > tier_kingdom
	# 	}
	# 	template = western_imperial_clothes
	# }

	add_accessory_modifiers = {
		gene = clothes
		template = western_prison
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_bedchamber
	}

	add_accessory_modifiers = {
		gene = clothes
		template = western_crusades
	}

	add_accessory_modifiers = {
		gene = clothes
		template = northern_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = northern_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = northern_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = northern_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = byzantine_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mena_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = mena_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mena_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = mena_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = steppe_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = steppe_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = steppe_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = steppe_war_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = indian_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = indian_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = indian_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = indian_war_nobility_clothes
	}
	
	

	add_accessory_modifiers = {
		gene = clothes
		template = sub_saharan_commoner_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = sub_saharan_low_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = sub_saharan_high_nobility_clothes
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_commoner_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_low_nobility_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_high_nobility_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_hre_war_nobility_clothes
		is_valid_custom = {
			has_dlc = "Garments of the Holy Roman Empire"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_commoner_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_low_nobility_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}

	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_high_nobility_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = dde_abbasid_war_nobility_clothes
		is_valid_custom = {
			has_dlc = "Fashion of the Abbasid Court"
		}
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_orthodox_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_orthodox_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_muslim_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_muslim_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_catholic_devoted_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_catholic_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_catholic_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_african_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_northern_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_hindu_devoted_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_buddhist_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_jain_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_zoroastrian_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_jewish_head_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_jewish_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = religious_steppe_high_clothes
	}
	
	add_accessory_modifiers = {
		gene = clothes
		template = ep1_jester_clothes
	}

	#add_accessory_modifiers = {
	#	gene = hairstyles
	#	template = rtt_hairstyles
	#	
	#	is_valid_custom = {
	#		monarchs_journey_unlock = 1
	#	}
	#}

}
