﻿custom_cloaks = {
	usage = customization
	interface_position = 3

	add_accessory_modifiers = {
		gene = cloaks
		template = no_cloak
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = ep3_byzantine_era1_nob
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = ep3_byzantine_era1_imperial
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		template = ep3_byzantine_era2_roy_01_loros
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = ep3_byzantine_era2_imp_01_loros
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}	

	add_accessory_modifiers = {
		gene = cloaks
		template = ep3_byzantine_era2_nob
		is_valid_custom = {
			has_ep3_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = fp4_cloak_western
		is_valid_custom = {
			has_ce1_dlc_trigger = yes
		}
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = sp3_cloak
		is_valid_custom = {
			has_dlc_feature = couture_of_the_capets
		}
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = sp2_cloak_imperial
		is_valid_custom = {
			has_dlc_feature = elegance_of_the_empire
		}
	}

	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
		template = ep2_cloak_western_travel
	}

	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
		template = ep2_cloak_mena_travel
	}

	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
		template = ep2_cloak_western_era1_low_nobility
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			has_ep2_dlc_trigger = yes
		}
		template = ep2_cloak_western_era1_high_nobility
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		template = western_royalty
	}

	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			has_fp1_dlc_trigger = yes
		}
		template = fp1_cloak
	}

	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			has_ep1_dlc_trigger = yes
		}
		template = ep1_cloak_adventurer
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			has_afr_dlc_trigger = yes
		}
		template = afr_cloaks
	}
	
		
	
    ####################################################################################################
    ##################
    #################################EPE Expanded
    ##################
    ####################################################################################################		
	
#####EPE	
	add_accessory_modifiers = {
		gene = cloaks
		template = byzantine_royalty
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = bulgarian_royalty
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = south_slav_royalty
	}	
	add_accessory_modifiers = {
		gene = cloaks
		template = georgia_royalty
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = ep3_georgian_era2_roy_01_loros
	}	
	add_accessory_modifiers = {
		gene = cloaks
		template = armenian_royalty
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = eastern_slav_cloak
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = eastern_slav_cloak_high_nobility
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = eastern_slav_cloak_royalty
	}	
	add_accessory_modifiers = {
		gene = cloaks
		template = balto_finnic_cloak
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = balto_finnic_cloak_high_nobility
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = gaelic_cloak
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = gaelic_cloak_high_nobility
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = gaelic_cloak_royalty_nobility
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = early_islamic_iranian_royalty
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = eastern_iranian_royalty
	}
	add_accessory_modifiers = {
		gene = cloaks
		template = byzantine_imperial_war_cloak
	}	

	## CFP
	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_western_ermine
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_western_commoner
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_western_crusades_commoner
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_western_crusades
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_norse_war
	}

	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_norman_war
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_religious_catholic_head
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_religious_catholic_high_northern
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_religious_muslim
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_religious_orthodox_high
	}
	
	
	add_accessory_modifiers = {
		gene = cloaks
		template = cfp_african_royalty
	}
	
	add_accessory_modifiers = {
		gene = cloaks
		is_valid_custom = {
			NOT = {	has_game_rule = default_cfp_fantasy }
		}
		template = cfp_fantasy_cloaks
	}	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
