########################
# CORONATION/CROWN TRAITS
########################

crowned_by_bishop = {
	customizer = no
	random = no

	opposites = {
		crowned_by_priest
		crowned_by_pope
		crowned_by_myself
	}

	monthly_character_prestige = 0.25
	monthly_character_piety = 0.25

	church_opinion = 5
}

crowned_by_myself = {
	customizer = no
	random = no

	opposites = {
		crowned_by_priest
		crowned_by_bishop
		crowned_by_pope
	}

	monthly_character_prestige = 1.0
	monthly_character_piety = -0.5

	church_opinion = -25
	vassal_opinion = 10
}

crowned_by_pope = {
	customizer = no
	random = no

	opposites = {
		crowned_by_priest
		crowned_by_bishop
		crowned_by_myself
	}

	monthly_character_prestige = 0.5
	monthly_character_piety = 0.5

	church_opinion = 10
	vassal_opinion = 5
}

crowned_by_priest = {
	customizer = no
	random = no

	opposites = {
		crowned_by_bishop
		crowned_by_pope
		crowned_by_myself
	}

	monthly_character_prestige = 0.05
	monthly_character_piety = 0.1
}

uncrowned = { # Used to handle portrait appearance # and more in Plus
	customizer = no
	random = no

	opposites = {
		crowned
		crowned_by_pope
		strong_basileus
		weak_basileus
		crowned_by_relhead
		crowned_by_vip
	}

	is_visible = {
		is_alive = yes
	}

	vassal_opinion = -10
}

# CleanSlate TODO: Remove these and consolidate into the main traits if possible.
# Only for Ruler Designer
crowned_by_bishop_rd = {
	customizer = yes
	random = no

	opposites = {
		crowned_by_priest_rd
		crowned_by_pope_rd
	}

	potential = {
		OR = {
			religion = catholic
			religion = fraticelli
		}
	}

	monthly_character_prestige = 0.25
	monthly_character_piety = 0.25

	church_opinion = 5
}

crowned_by_pope_rd = {
	customizer = yes
	random = no

	opposites = {
		crowned_by_priest_rd
		crowned_by_bishop_rd
	}

	potential = {
		OR = {
			religion = catholic
			religion = fraticelli
		}
	}

	monthly_character_prestige = 0.5
	monthly_character_piety = 0.5

	church_opinion = 10
	vassal_opinion = 5
}

crowned_by_priest_rd = {
	customizer = yes
	random = no

	opposites = {
		crowned_by_bishop_rd
		crowned_by_pope_rd
	}

	potential = {
		OR = {
			religion = catholic
			religion = fraticelli
		}
	}

	monthly_character_prestige = 0.05
	monthly_character_piety = 0.1
}

# Invisible traits used to make dead king wear their special crowns even after the artifact has passed to their living heir.
dead_crown_hre = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_pahlavi = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_byzantine = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_tengri_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_finnish_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_iron_crown_lombardy = {
	hidden = yes
	customizer = no
	random = no
}

dead_cursed_diamond_crown = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_west_african_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_slavic_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_romuva_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_scepter_bon_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_zun_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_scepter_hellenic_fylkir = {
	hidden = yes
	customizer = no
	random = no
}

dead_crown_aztec_fylkir = {
	hidden = yes
	customizer = no
	random = no
}
