﻿#Coptic#

language_egpytian_coptic = {
	type = language
	is_shown = {
		language_is_shown_trigger = {
			LANGUAGE = language_egpytian_coptic
		}
	}
	
	parameters = {
		language_branch_semitic = yes
		language_family_afro_asiatic = yes 		
	}


	ai_will_do = {
		value = 10
		if = {
			limit = { has_cultural_pillar = language_egpytian_coptic }
			multiply = same_language_choice_factor
		}
		else_if = {
			limit = { has_cultural_parameter = language_branch_semitic }
			multiply = same_language_branch_choice_factor
		}
		else_if = {
			limit = { has_cultural_parameter = language_family_afro_asiatic }
			multiply = same_language_family_choice_factor
		}
		if = {
			limit = {
				scope:character = {
					religion = religion:christianity_religion
				}
			}
			multiply = same_language_union_choice_factor
		}
	}
	
	color = hsv{ 0.08 0.10 0.5 }
}

#Albanian/Arberian

# language_albanian = {
# 	type = language
# 	is_shown = {
# 		language_is_shown_trigger = {
# 			LANGUAGE = language_albanian
# 		}
# 	}
	
# 	parameters = {
# 		language_branch_hellenic = yes
# 		language_family_indo_european = yes 		
# 	}


# 	ai_will_do = {
# 		value = 10
# 		if = {
# 			limit = { has_cultural_pillar = language_albanian }
# 			multiply = same_language_choice_factor
# 		}
# 		else_if = {
# 			limit = { has_cultural_parameter = language_branch_hellenic }
# 			multiply = same_language_branch_choice_factor
# 		}
# 		else_if = {
# 			limit = { has_cultural_parameter = language_family_indo_european }
# 			multiply = same_language_family_choice_factor
# 		}
# 	}
	
# 	color = { 0.5 0.5 0.8 }
# }

#Caucasus - Area is well known for having many diverse languages

#language_udi = {
#	type = language
#	is_shown = {
#		language_is_shown_trigger = {
#			LANGUAGE = language_udi
#		}
#	}
#	#Technically should have its own group/family but better to probably just have all the Caucasus groups the same
#	parameters = {
#		language_branch_lezgic = yes
#		language_family_east_caucasian = yes 		
#	}
#
#
#	ai_will_do = {
#		value = 10
#		if = {
#			limit = { has_cultural_pillar = language_udi }
#			multiply = same_language_choice_factor
#		}
#		else_if = {
#			limit = { has_cultural_parameter = language_branch_lezgic }
#			multiply = same_language_branch_choice_factor
#		}
#		else_if = {
#			limit = { has_cultural_parameter = language_family_east_caucasian }
#			multiply = same_language_family_choice_factor
#		}
#	}
#	
#	color = { 0.5 0.8 0.7 }
#}

# Overwritten from CE
#language_circassian = {
#	type = language
#	is_shown = {
#		language_is_shown_trigger = {
#			LANGUAGE = language_circassian
#		}
#	}
#	
#	#Technically should have its own group/family but better to probably just have all the Caucasus groups the same
#	parameters = {
#		language_branch_karto_zan = yes
#		language_family_kartvelian = yes 		
#	}
#	
#	ai_will_do = {
#		value = 10
#		if = {
#			limit = { has_cultural_pillar = language_circassian }
#			multiply = same_language_choice_factor
#		}
#		else_if = {
#			limit = { has_cultural_parameter = language_branch_karto_zan }
#			multiply = same_language_branch_choice_factor
#		}
#		else_if = {
#			limit = { has_cultural_parameter = language_family_kartvelian }
#			multiply = same_language_family_choice_factor
#		}
#	}
#	
#	color = { 0.55 0.2 0.1 }
#}

language_cauc_avar = {
	type = language
	is_shown = {
		language_is_shown_trigger = {
			LANGUAGE = language_cauc_avar
		}
	}
	
	#Technically should have its own group/family but better to probably just have all the Caucasus groups the same. Wouldn't have much in common with the Avars that settled in Pannonia
	parameters = {
		language_branch_karto_zan = yes
		language_family_kartvelian = yes 		
	}

	ai_will_do = {
		value = 10
		if = {
			limit = { has_cultural_pillar = language_cauc_avar }
			multiply = same_language_choice_factor
		}
		else_if = {
			limit = { has_cultural_parameter = language_branch_karto_zan }
			multiply = same_language_branch_choice_factor
		}
		else_if = {
			limit = { has_cultural_parameter = language_family_kartvelian }
			multiply = same_language_family_choice_factor
		}
	}
	
	color = { 0.75 0.3 0.7 }
}

language_crimeangothic = {
	type = language
	is_shown = {
		language_is_shown_trigger = {
			LANGUAGE = language_crimeangothic
		}
	}
	
	parameters = {
		language_branch_germanic = yes
		language_family_indo_european = yes 	
	}


	ai_will_do = {
		value = 10
		if = {
			limit = { has_cultural_pillar = language_crimeangothic }
			multiply = same_language_choice_factor
		}
		else_if = {
			limit = { has_cultural_parameter = language_branch_germanic }
			multiply = same_language_branch_choice_factor
		}
		else_if = {
			limit = { has_cultural_parameter = language_family_indo_european }
			multiply = same_language_family_choice_factor
		}
	}
	
	color = { 0.5 0.4 0.8 }
}