﻿### Clerical Regions ###
clerical_region_duchy_fallback = {
	type = title
	tier = duchy
	priority = 30
	governments = { ecclesiastical_government }

	religion = { christianity_religion }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

clerical_region_duchy_east_christian = {
	type = title
	tier = duchy
	priority = 110
	governments = { ecclesiastical_government }

	rites = { byzantine_rite georgian_rite }
	faiths = { christian_faith }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

clerical_region_duchy_west_christian = {
	type = title
	tier = duchy
	priority = 100
	governments = { ecclesiastical_government }

	faiths = { christian_faith }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

clerical_region_duchy_catholic = {
	type = title
	tier = duchy
	priority = 100
	governments = { ecclesiastical_government }

	faiths = { catholic }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

clerical_region_duchy_orthodox = {
	type = title
	tier = duchy
	priority = 100
	governments = { ecclesiastical_government }

	faiths = { orthodox }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

clerical_region_duchy_patriarchate = { # exceptions to normal rules, including Pentarchy
	type = title
	tier = duchy
	priority = 101
	governments = { ecclesiastical_government }

	faiths = { orthodox }
	titles = { d_et_roma d_et_constantinople d_et_alexandria d_et_antioch d_et_jerusalem }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

clerical_region_duchy_metropolitanate = { # sees held by a metropolitan rather than a patriarch or an archbishop
	type = title
	tier = duchy
	priority = 101
	governments = { ecclesiastical_government }

	religions = { christianity_religion }
	titles = { d_et_axum d_et_kyiv }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

clerical_region_duchy_archbishopric = { # exceptional autocephalous archbishopric
	type = title
	tier = duchy
	priority = 101
	governments = { ecclesiastical_government }

	religions = { christianity_religion }
	titles = { d_et_cyprus }

	flavourization_rules = { 
		target_character = yes
		top_liege = no
		only_holder = yes
	}

	special_title = clerical_region
}

### Antipope ###
antipope_male = {
	type = character
	gender = male
	special = holder
	priority = 302
	flag = antipope_flag
	flavourization_rules = {
		target_character = yes
		top_liege = no
		spouse_takes_title = no
	}
}

antipope_female = {
	type = character
	gender = female
	special = holder
	priority = 302
	flag = antipope_flag
	flavourization_rules = {
		target_character = yes
		top_liege = no
		spouse_takes_title = no
	}
}

### Cardinal ###
# Non-tiered so it outranks the realm priest councillor name (298) but stays below head of faith (300).
cardinal_male = {
	type = character
	gender = male
	special = holder
	priority = 299
	flag = cardinal_flag
	flavourization_rules = {
		target_character = yes
		top_liege = no
		spouse_takes_title = no
	}
}

cardinal_female = {
	type = character
	gender = female
	special = holder
	priority = 299
	flag = cardinal_flag
	flavourization_rules = {
		target_character = yes
		top_liege = no
		spouse_takes_title = no
	}
}

### Cardinalate
clerical_elector_duchy_cardinalate = {
	type = title
	tier = duchy
	priority = 75
	governments = { ecclesiastical_government }
	religions = { christianity_religion dualism_religion }
	flavourization_rules = {
		only_holder = yes 
		top_liege = no
	}
	special_title = clerical_elector
}

### Saint ###
christian_saint = {
	type = character
	special = saint
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { eastern_orthodox_religion catholic_religion protestant_religion oriental_orthodox_religion }
}

christian_female_saint = {
	type = character
	special = saint
	gender = female
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { eastern_orthodox_religion catholic_religion protestant_religion oriental_orthodox_religion }
}

muslim_saint = {
	type = character
	special = saint
	gender = male
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { islam_religion }
}

muslim_female_saint = {
	type = character
	special = saint
	gender = female
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { islam_religion }
}

hellenic_saint = {
	type = character
	special = saint
	gender = male
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { hellenism_religion }
}

hellenic_female_saint = {
	type = character
	special = saint
	gender = female
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { hellenism_religion }
}

jain_saint = {
	type = character
	special = saint
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { jainism_religion }
}

shinto_saint = {
	type = character
	special = saint
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { shintoism_religion }
}

confucian_saint = {
	type = character
	special = saint
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { confucianism_religion }
}

buddhist_saint = {
	type = character
	special = saint
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { buddhism_religion }
}

taoist_saint = {
	type = character
	special = saint
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { taoism_religion }
}

jewish_saint = {
	type = character
	special = saint
	gender = male
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { judaism_religion }
}

jewish_female_saint = {
	type = character
	special = saint
	gender = female
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9999

	religions = { judaism_religion }
}

# Fallback saint title for every other faith; the per-religion entries above outrank it.
venerated_ancestor = {
	type = character
	special = saint
	flavourization_rules = {
		target_character = yes
		top_liege = no
	}

	priority = 9000
}

monastery_christian = {
	type = title
	tier = barony
	priority = 210
	lessee_governments = { monastic_holy_order_government }

	lessee_faiths = { christian_faith orthodox catholic }

	flavourization_rules = { 
		target_character = yes
		only_holder = yes
	}
}
