########################################################
# RELIGIOUS TITLES
# Titles given out by the religious head
########################################################
#	religion: Religion that owns this title.
#	can_elect_head: If holders of this title can elect a new head.
#	grant_limit: Max number of holders.
#	realm_in_name: Append the name of the country after the title (Queen [of Sweden])
#	allow: conditions for the character to hold the title
#	gain_effect: fires when the title is granted
#	lose_effect: fires when a title is lost if dismissal_trigger evaluates to false
#	message: should fire a message to the its owner when set
#	The other fields are all character modifiers.

title_druid_circle_member = {
	religion = celtic_pagan_reformed
	can_elect_head = yes
	
	grant_limit = 9
	
	realm_in_name = no
	show_as_title = no # Not actually a title.
	
	opinion_effect = 20
	dignity = 0.9
	
	monthly_salary = 0.1
	monthly_prestige = 0.5
	
	allow = {
		religion = celtic_pagan_reformed
		has_religion_feature = religion_theocratic_head
		is_theocracy = yes
		trait = druid
		d_celtic_pagan_reformed = {
			holder_scope = {
				is_within_diplo_range = ROOT
			}
		}
	}
	
	gain_effect = {
	}
	
	lose_effect = {
	}

	message = yes
}

title_dryad_circle_member = {
	religion = britannic_pagan
	can_elect_head = yes
	
	grant_limit = 9
	
	realm_in_name = no
	show_as_title = no # Not actually a title.
	
	opinion_effect = 20
	dignity = 0.9
	
	monthly_salary = 0.1
	monthly_prestige = 0.5
	
	allow = {
		religion = britannic_pagan
		is_theocracy = yes
		is_celtic_clergy_trigger = yes
		k_britannic_pagan = {
			holder_scope = {
				is_within_diplo_range = ROOT
			}
		}
	}
	
	gain_effect = {
	}
	
	lose_effect = {
	}

	message = yes
}

title_collegium_member = {
	religion = hellenic_pagan_reformed
	can_elect_head = yes
	
	grant_limit = 9
	
	realm_in_name = no
	show_as_title = no # Not actually a title.
	
	opinion_effect = 20
	dignity = 0.9
	
	monthly_salary = 0.1
	monthly_prestige = 0.5
	
	allow = {
		religion = hellenic_pagan_reformed
		is_theocracy = yes
		has_religion_feature = religion_theocratic_head
		k_hellenic_pagan = {
			holder_scope = {
				is_within_diplo_range = ROOT
			}
		}
	}
	
	gain_effect = {
	}
	
	lose_effect = {
	}

	message = yes
}

title_xroj_council_member = {
	religion = egyptian_pagan_reformed
	can_elect_head = yes
	
	grant_limit = 9
	
	realm_in_name = no
	show_as_title = no # Not actually a title.
	
	opinion_effect = 20
	dignity = 0.9
	
	monthly_salary = 0.1
	monthly_prestige = 0.5
	
	allow = {
		religion = egyptian_pagan_reformed
		is_theocracy = yes
		has_religion_feature = religion_theocratic_head
		d_egyptian_pagan_reformed = {
			holder_scope = {
				is_within_diplo_range = ROOT
			}
		}
	}
	
	gain_effect = {
	}
	
	lose_effect = {
	}

	message = yes
}