# The entry should be named in the same way that the elective succession law is named to define it's voter's logic.
# Root scope - Voter, the character voting in the election
# From scope - Candidate, Character considered for the title
# FromFrom scope - The title the nomination is for
# FromFromFrom scope - The title owner's candidate
# The voter will vote for the top score candidate calculated from this script.

### Condensed syntax layout:
#<elective_law_type> = {
#	candidate_vote_score = {
#		<MTTH>
#	}
#	elector_selection = {
#		max_amount = <int>
#		<MTTH> - if max_amount is set it will pick the X amount of top scorers.
#				 Negative scores are considered invalid electors - Ruler is always an elector
#	}
#	elector_vote_strength = {
#		<MTTH>
#	}
#	elector_stances = { - Intended for the elder council positions
#		<stance_name> = {
#			icon = <int>
#			<MTTH>
#		}
#	}
#	candidate_trigger = { 
#		<trigger>
#	}
#}

### Example elective succession setup
#my_test_law = {
	#elector_stances = { #Electoral stances visible on the Electors' tab. Do not directly affect voting pattern unless used as triggers in the modifiers of candidate_voter_score.
#		my_stance = {
#			icon = 5
#			days = 1
#			additive_modifier = {
#				trait = humble
#				value = 6
#			}
#		}
#		other_stance = {
#			icon = 3
#			days = 1
#		}
#		third_stance = {
#			icon = 1
#			days = 5
#			additive_modifier = {
#				trait = wroth
#				value = 10
#			}
#		}
#	}
#	elector_selection = {
#		days = -5 		# If below 0, ROOT is not valid to be an Elector. Any character above 0 will be an elector.
#		max_amount = 7 # Determines max amount of electors, with the lower scoring ones being excluded (limit is optional)
#		additive_modifier = { #
#			value = 10
#			OR = { #
#				AND = {
#					higher_real_tier_than = BARON
#					FROMFROM = { real_tier = DUKE } #If the Elector Title is a Duchy, any vassal is an elector, otherwise only Dukes and above.
#				}
#				higher_real_tier_than = COUNT
#			}
#			OR = { #Either defacto direct vassal, or independent ruler who is dejure vassal.
#				vassal_of = FROMFROM 
#				independent = yes
#			}
#			OR = { #dejure vassal, or any vassal if title titular.
#				AND = {
#					FROMFROM = { is_titular = yes }
#					vassal_of = FROMFROM 
#				}
#				any_dejure_liege = { title = FROMFROM }
#			}
#		}
#		additive_modifier = {
#			value = 10
#			character = FROMFROM
#		}
#	}
#	elector_vote_strength = { #Affects the voting strength of each elector.
#		days = 1 # 1 elector = 1 vote.
#		additive_modifier = {
#			trait = humble
#			value = 3 # Ex: An Elector with the humble trait is worth an addtional 3 votes.
#		}
#	}
#	candidate_vote_score = { #Chance of an Elector voting for a candidate over the other. The candidate with the highest value will be picked.
#		days = 1
#		##########################   Elector voting himself   ##########################
#		additive_modifier = {
#			value = 15
#			localisation_key = tooltip_feudal_elector_vote_myself
#			character = FROM
#			NOR = {
#				trait = humble
#				trait = content
#				trait = craven
#				trait = slothful
#				trait = stressed
#				trait = depressed
#				trait = ambitious
#			}
#			NOT = { 
#				FROMFROM = { 
#					holder_scope = { 
#						is_parent_of = ROOT
#					} 
#				}
#			}
#		}
#	}
#	candidate_trigger = { #Trigger to determine what characters are valid candidates that can be voted by electors.
#		always = yes
#	}
#}

feudal_elective = {

	elector_vote_strength = {
		days = 1
	}
	
	elector_selection = {
		days = -5 		#If below 0, ROOT is not valid to be an Elector.
		additive_modifier = { #Current ruler is always an elector.
			value = 10
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			FROMFROM = {
				holder_scope = {
					character = PREVPREV
				}
			}
		}
		additive_modifier = { #
			value = 10
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			OR = { #
				AND = {
					higher_real_tier_than = BARON
					FROMFROM = { real_tier = DUKE } #If the Elector Title is a Duchy, any vassal is an elector, otherwise only Dukes and above.
				}
				higher_real_tier_than = COUNT
			}
			OR = { #Either defacto direct vassal, or independent ruler who is dejure vassal.
				vassal_of = FROMFROM 
				independent = yes
			}
			OR = { #dejure vassal, or any vassal if title titular.
				AND = {
					FROMFROM = { is_titular = yes }
					vassal_of = FROMFROM 
				}
				any_dejure_liege = { title = FROMFROM }
			}
		}
		additive_modifier = {
			value = -5
			is_republic = yes
		}
		additive_modifier = {
			value = -5
			is_merchant_republic = yes
		}
		additive_modifier = {
			value = -4
			is_tribal = yes
		}
		additive_modifier = {
			value = -4
			is_nomadic = yes
		}
		additive_modifier = { #Theocracies favored over other government forms, feudalism left at base score.
			value = 4
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			higher_real_tier_than = COUNT
			is_theocracy = yes
			FROMFROM = { #Tied to religion.
				holder_scope = { religion = ROOT }
			}
			vassal_of = FROMFROM
			OR = { #dejure vassal, or any vassal if title titular.
				AND = {
					FROMFROM = { is_titular = yes }
					vassal_of = FROMFROM 
				}
				any_dejure_liege = { title = FROMFROM }
			}
		}
		additive_modifier = { #Slight prioritization based on religion.
			value = 4
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			is_feudal = yes
			vassal_of = FROMFROM
			higher_real_tier_than = COUNT
			OR = { #dejure vassal, or any vassal if title titular.
				AND = {
					FROMFROM = { is_titular = yes }
					vassal_of = FROMFROM 
				}
				any_dejure_liege = { title = FROMFROM }
			}
			FROMFROM = {
				holder_scope = {
					religion = ROOT
				}
			}
		}
		additive_modifier = { #Slight prioritization based on religion_group.
			value = 4
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			is_feudal = yes
			vassal_of = FROMFROM
			higher_real_tier_than = COUNT
			OR = { #dejure vassal, or any vassal if title titular.
				AND = {
					FROMFROM = { is_titular = yes }
					vassal_of = FROMFROM 
				}
				any_dejure_liege = { title = FROMFROM }
			}
			FROMFROM = {
				holder_scope = {
					NOT = { religion = ROOT }
					religion_group = ROOT
				}
			}
		}
		additive_modifier = { #Slight prioritization based on culture.
			value = 4
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			is_feudal = yes
			vassal_of = FROMFROM
			higher_real_tier_than = COUNT
			OR = { #dejure vassal, or any vassal if title titular.
				AND = {
					FROMFROM = { is_titular = yes }
					vassal_of = FROMFROM 
				}
				any_dejure_liege = { title = FROMFROM }
			}
			FROMFROM = {
				holder_scope = {
					culture = ROOT
				}
			}
		}
	}
	candidate_vote_score = {
		days = 0
		##########################   Elector voting himself   ##########################
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_myself
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			NOT = { 
				FROMFROM = { 
					holder_scope = { 
						is_parent_of = ROOT
					} 
				}
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_not_myself
			character = FROM
			NOT = { trait = ambitious }
			OR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
			}
		}
		additive_modifier = {
			value = 40
			localisation_key = tooltip_feudal_elector_vote_myself_heir
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			FROMFROM = { 
				holder_scope = { 
					is_parent_of = ROOT
				} 
			}
		}
		additive_modifier = {
			value = 40
			localisation_key = tooltip_feudal_elector_vote_myself_ambitious
			character = FROM
			trait = ambitious
			is_adult = yes
		}

		##########################   Candidate's traits   ##########################

		#The heir
		additive_modifier = { #Current ruler will always try to elect his player heir.
			value = 50
			localisation_key = tooltip_feudal_elector_vote_player_heir
			player_heir = {
				character = FROM
				NOT = { character = ROOT }
			}
			FROMFROM = {
				holder_scope = {
					character = PREVPREV
				}
				NOT = {
					is_rival = FROM #Unless is rival.
				}
			}
		}

		#Sexism
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_agnatic_woman
			FROMFROM = {
				has_law = cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_enatic_man
			FROMFROM = {
				has_law = enatic_cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_patriarchal
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
		}

		additive_modifier = { #Gender weights
			value = -50
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_0
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -40
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_1
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -20
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_2
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -10
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_3
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_patriarchal
			has_religion_feature = religion_patriarchal
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_matriarchal
			OR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
			}
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
		}

		#Ageism
		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_baby
			NOT = { character = FROM }
			FROM = {
				NOT = {
					age = 5
				}
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_child
			NOT = { character = FROM }
			FROM = {
				age = 5
				NOT = {
					age = 10
				}
			}
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_child
			NOT = { character = FROM }
			FROM = {
				age = 10
				NOT = {
					age = 16
				}
			}
		}
		additive_modifier = { #Still too young for older rulers
			value = -10
			localisation_key = tooltip_feudal_elector_vote_youngster
			NOT = { character = FROM }
			age = 30
			FROM = {
				age = 16
				NOT = {
					age = 25
				}
			}
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_youngster
			NOT = { character = FROM }
			age = 40
			FROM = {
				age = 25
				NOT = {
					age = 35
				}
			}
		}
		additive_modifier = { #Or too old for younger rulers.
			value = -10
			localisation_key = tooltip_feudal_elector_vote_oldtimer
			NOT = { character = FROM }
			NOT = { age = 40 }
			FROM = {
				age = 40
				NOT = { age = 50 }
			}
		}

		additive_modifier = { #Or simply too old overall.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_decrepit
			NOT = { character = FROM }
			FROM = { age = 50 }
		}

		#Culturism
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_fellow_culture
			NOT = { character = FROM }
			culture = FROM
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_stranger
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture = FROM }
		}
		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_foreigner
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture_group = FROM }
		}
		additive_modifier = { #Candidate is a foreigner's pet 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_strangers_pet
			FROM = { 
				character = ROOT_FROMFROMFROM 
				culture = ROOT
			}
			FROMFROM = { holder_scope = { NOT = { culture = ROOT_FROM } } }
		}
		additive_modifier = { #Candidate is a foreigner's pet 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_foreigners_pet
			FROM = { 
				character = ROOT_FROMFROMFROM 
				culture = ROOT
			}
			FROMFROM = { holder_scope = { NOT = { culture_group = ROOT_FROM } } }
		}
		additive_modifier = { #If candidate is elected, he will rule from a capital outside this dejure.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_political_concerns
			capital_scope = { de_jure_liege = FROMFROM }
			FROM = {
				is_ruler = yes 
				vassal_of = FROMFROM
				capital_scope = { NOT = { de_jure_liege = ROOT_FROMFROM } }
			}
		}
		additive_modifier = { #Candidate is a foreign ruler.
			value = -30
			localisation_key = tooltip_feudal_elector_vote_encroaching_foreigner
			capital_scope = { de_jure_liege = FROMFROM }
			FROM = {
				is_ruler = yes 
				NOT = { is_vassal_or_below_of = ROOT_FROMFROM }
			}
		}
		additive_modifier = { #Candidate is a foreign non-dejure ruler.
			value = -500
			localisation_key = tooltip_feudal_elector_vote_encroaching_foreigner
			NOT = { capital_scope = { de_jure_liege = FROMFROM } }
			FROM = {
				is_ruler = yes 
				NOT = { is_vassal_or_below_of = ROOT_FROMFROM }
			}
		}

		#Faithism
		additive_modifier = { #Infidel
			value = -25
			localisation_key = tooltip_feudal_elector_vote_infidel
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { 
				religion_group = ROOT
				NOT = { religion = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
		}
		additive_modifier = { #Heathen
			value = -50
			localisation_key = tooltip_feudal_elector_vote_heathen
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			NOR = { 
				AND = {  
					trait = sympathy_christendom
					FROM = { religion_group = christian } 
				} 
				AND = {  
					trait = sympathy_islam
					FROM = { religion_group = muslim } 
				} 
				AND = {  
					trait = sympathy_pagans
					FROM = { religion_group = pagan_group } 
				} 
				AND = {  
					trait = sympathy_zoroastrianism
					FROM = { religion_group = zoroastrian_group } 
				} 
				AND = {  
					trait = sympathy_judaism
					FROM = { religion_group = jewish_group } 
				} 
				AND = {  
					trait = sympathy_indian
					FROM = { religion_group = indian_group } 
				} 
			}
			FROM = { 
				NOT = { religion_group = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
		}
		additive_modifier = { #Heretic
			value = -50
			localisation_key = tooltip_feudal_elector_vote_heretic
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { is_heresy_of = ROOT }
		}
		additive_modifier = { #Dogmatics will hardly ever pick an infidel.
			value = -100
			localisation_key = tooltip_feudal_elector_vote_heathen_dogmatic
			has_religion_feature = religion_dogmatic
			FROM = { NOT = { religion = ROOT } }
		}

		#Barbarism
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_uncivilized
			OR = { 
				is_feudal = yes 
				is_merchant_republic = yes
				is_patrician = yes
			}
			FROM = { 
				NOR = { 
					is_feudal = yes 
					is_merchant_republic = yes
					is_patrician = yes
				} 
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_settled
			is_nomadic = yes
			FROM = { 
				is_nomadic = no
			}
		}

		#Nepotism
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_dynasty
			NOT = { 
				character = FROM
			}
			FROM = { 
				dynasty = ROOT
				NOT = { 
					is_close_relative = ROOT
				}
			}
		}
		additive_modifier = { 
			value = 20
			localisation_key = tooltip_feudal_elector_vote_relative
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_close_relative = ROOT
				NOT = { 
					is_child_of = ROOT
				}
			}
		}
		additive_modifier = { 
			value = 30
			localisation_key = tooltip_feudal_elector_vote_parent
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_child_of = ROOT
			}
			NOT = { 
				FROMFROM = { 
					holder_scope = { 
						character = ROOT
					}
				}
			}
		}
		additive_modifier = { #Current Ruler should tend to often pick one of his own children as potential heirs.
			value = 60
			localisation_key = tooltip_feudal_elector_vote_parent
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_child_of = ROOT
			}
			FROMFROM = { 
				holder_scope = { 
					character = ROOT
				}
			}
		}

		#Prestige
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { prestige = -1000 } }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -1000 }
			FROM = { NOT = { prestige = -500 } }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -500 }
			FROM = { NOT = { prestige = -250 } }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -250 }
			FROM = { NOT = { prestige = 0 } }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 250 }
			FROM = { NOT = { prestige = 500 } }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 500 }
			FROM = { NOT = { prestige = 1000 } }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 1000 }
		}

		#Piety
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { piety = -500 } }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -500 }
			FROM = { NOT = { piety = -250 } }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -250 }
			FROM = { NOT = { piety = -100 } }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -100 }
			FROM = { NOT = { piety = 0 } }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 100 }
			FROM = { NOT = { piety = 250 } }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 250 }
			FROM = { NOT = { piety = 500 } }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 500 }
		}

		#Educational preferences
		additive_modifier = { # Warrior culture prefers warriors
			value = 15
			localisation_key = tooltip_feudal_elector_vote_martial_education
			this_is_warrior_culture_trigger = yes
			FROM = { 
				martial = 10
				OR = { 
					has_education_martial_trigger = yes 
					has_lifestyle_martial_trigger = yes
				} 
			}
		}
		additive_modifier = { # Diplomatic culture prefers stewards and diplomats
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diplomatic_education
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				OR = { 
					AND = { 
						diplomacy = 10
						OR = { 
							has_education_diplomacy_trigger = yes
							has_lifestyle_diplomacy_trigger = yes
						}
					}
					AND = { 
						stewardship = 10
						OR = { 
							has_education_stewardship_trigger = yes
							has_lifestyle_stewardship_trigger = yes
						}
					}
				} 
			}
		}
		additive_modifier = { # Spiritual culture prefers scholars
			value = 15
			localisation_key = tooltip_feudal_elector_vote_spiritual_education
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				learning = 10
				OR = { 
					has_education_learning_trigger = yes 
					has_lifestyle_learning_trigger = yes
				} 
			}
		}

		#Claims
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_strong_claimant
			FROM = { 
				has_claim = FROMFROM
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_weak_claimant
			FROM = { 
				has_weak_claim = FROMFROM
			}
		}


		#All the Traits
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_playful
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = playful
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_rowdy
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = rowdy
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_haughty
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = haughty
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_conscientious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = conscientious
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_curious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = curious
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_idolizer
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = idolizer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_depressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = depressed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_drunkard
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { 
				religion_group = muslim
			}
			FROM = { 
				trait = drunkard
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_drunkard_muslim
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = muslim
			FROM = { 
				trait = drunkard
			}
		}
		additive_modifier = { 	#Would mean the end of Elections
			value = -35	
			localisation_key = tooltip_feudal_elector_vote_immortal
			NOT = { character = FROM } #Do not judge yourself.	
			FROM = { 
				trait = immortal
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_incapable
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = incapable
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_incapable_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = incapable
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_infirm
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = infirm
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_infirm_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = infirm
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_lunatic
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = lunatic
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_maimed
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = maimed
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_maimed_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = maimed
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_possessed
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = zealous }
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
		}
		additive_modifier = {
			value = -60
			localisation_key = tooltip_feudal_elector_vote_possessed_vs_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_physician
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = physician
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_scarred
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_scarred_mid
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_mid
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_scarred_high
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_high
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stressed
			}
		}
		additive_modifier = { #Judge yourself on illness. You should probably not candidate yourself if you are dying.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wounded
			FROM = { 
				trait = wounded
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_aztec_disease
			FROM = { 
				trait = has_aztec_disease
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_typhus
			FROM = { 
				trait = has_typhus 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_cancer
			FROM = { 
				trait = cancer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_has_tuberculosis
			FROM = { 
				trait = has_tuberculosis
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_dancing_plague
			FROM = { 
				trait = dancing_plague 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dysentery
			FROM = { 
				trait = dysentery
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_flu
			FROM = { 
				trait = flu
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_food_poisoning
			FROM = { 
				trait = food_poisoning
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_gout
			FROM = { 
				trait = gout
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_syphilitic
			FROM = { 
				trait = syphilitic
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_typhoid_fever
			FROM = { 
				trait = has_typhoid_fever 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ill
			FROM = { 
				trait = ill
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_leper
			FROM = { 
				trait = leper
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_measles
			FROM = { 
				trait = has_measles
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_pneumonic
			FROM = { 
				trait = pneumonic
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_rabies
			FROM = { 
				trait = rabies
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_scurvy
			FROM = { 
				trait = scurvy
			}
		}
		additive_modifier = {
			value = -45
			localisation_key = tooltip_feudal_elector_vote_sickly
			FROM = { 
				trait = sickly
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_small_pox
			FROM = { 
				trait = has_small_pox
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_has_bubonic_plague
			FROM = { 
				trait = has_bubonic_plague
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_disfigured
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_disfigured_byzantine
			culture_group = byzantine
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_disfigured_warrior
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_mangled
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = mangled
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_mangled_warrior
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = mangled
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_eyed
			FROM = { 
				trait = one_eyed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_handed
			FROM = { 
				trait = one_handed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_legged
			FROM = { 
				trait = one_legged
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_severely_injured
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = severely_injured
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_bastard
			NOT = { character = FROM } #Do not judge yourself.
			is_feudal = yes
			FROM = { 
				trait = bastard
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_born_in_the_purple
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = born_in_the_purple
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_child_of_consort
			NOT = { character = FROM } #Do not judge yourself.
			is_feudal = yes
			FROM = {
				OR = { 
					trait = legit_bastard
					trait = child_of_consort_male
					trait = child_of_consort
				}
			}
		}
		additive_modifier = { #Attraction bonus
			value = 10
			localisation_key = tooltip_feudal_elector_vote_attractive
			NOT = { character = FROM } #Do not judge yourself.
			is_adult = yes
			OR = { 
				NOT = { is_close_relative = FROM }
				religion = zoroastrian
				religion = messalian
				has_religion_feature = religion_holy_family 
				has_religion_feature = religion_feature_zun
			} 
			OR = { 
				AND = { 
					prefers_men_trigger = yes
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = no 
						is_adult = yes
						is_attractive_trigger = yes
					}
				}
				AND = { 
					prefers_men_trigger = no
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = yes 
						is_adult = yes
						is_attractive_trigger = yes
					}
				}
			}
		}
		additive_modifier = { #Ugliness bonus
			value = -10
			localisation_key = tooltip_feudal_elector_vote_ugly
			NOT = { character = FROM } #Do not judge yourself.
			is_adult = yes
			OR = { 
				NOT = { is_close_relative = FROM }
				religion = zoroastrian
				religion = messalian
				has_religion_feature = religion_holy_family 
				has_religion_feature = religion_feature_zun
			} 
			OR = { 
				AND = { 
					prefers_men_trigger = yes
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = no 
						is_adult = yes
						is_unattractive_trigger = yes
					}
				}
				AND = { 
					prefers_men_trigger = no
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = yes 
						is_adult = yes
						is_unattractive_trigger = yes
					}
				}
			}
		}
		additive_modifier = {
			value = 20
			localisation_key = tooltip_feudal_elector_vote_genius_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_genius
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_quick_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_quick
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_strong
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = strong
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_strong_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = strong
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_clubfooted
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = clubfooted
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dwarf
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = dwarf
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_dwarf_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = dwarf
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_harelip
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = harelip
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_hunchback
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = hunchback
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_hunchback_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = hunchback
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_imbecile
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = imbecile
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_imbecile_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = imbecile
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_inbred
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = inbred
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_lisp
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = lisp
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_slow
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = slow
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_slow_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = slow
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stutter
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stutter
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_weak
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = weak
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_weak_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = weak
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_robust
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = robust
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_robust_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = robust
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_dull_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_dull
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_feeble
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = feeble
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_feeble_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = feeble
			}
		}

		#The Seven Sins/Virtues
		additive_modifier = { #Praised for being Chaste
			value = 15
			localisation_key = tooltip_feudal_elector_vote_chaste_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			NOT = { trait = lustful }
			FROM = { 
				trait = chaste
			}
		}
		additive_modifier = { #Shunned for being Chaste
			value = -15
			localisation_key = tooltip_feudal_elector_vote_chaste_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = lustful 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = chaste }
			FROM = { 
				trait = chaste
			}
		}
		additive_modifier = { #Praised for being Temperate
			value = 15
			localisation_key = tooltip_feudal_elector_vote_temperate_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
				religion = bon
				religion = bon_reformed
			}
			NOT = { trait = gluttonous }
			FROM = { 
				trait = temperate
			}
		}
		additive_modifier = { #Shunned for being Temperate
			value = -15
			localisation_key = tooltip_feudal_elector_vote_temperate_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = gluttonous
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = temperate }
			FROM = { 
				trait = temperate
			}
		}
		additive_modifier = { #Praised for being Charitable
			value = 15
			localisation_key = tooltip_feudal_elector_vote_charitable_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
			}
			NOT = { trait = greedy }
			FROM = { 
				trait = charitable
			}
		}
		additive_modifier = { #Shunned for being Charitable
			value = -15
			localisation_key = tooltip_feudal_elector_vote_charitable_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = greedy
			FROM = { 
				trait = charitable
			}
		}
		additive_modifier = { #Praised for being Diligent
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diligent_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = slothful }
			FROM = { 
				trait = diligent
			}
		}
		additive_modifier = { #Shunned for being Diligent
			value = -15
			localisation_key = tooltip_feudal_elector_vote_diligent_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = diligent
			}
		}
		additive_modifier = { #Praised for being Patient
			value = 15
			localisation_key = tooltip_feudal_elector_vote_patient_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
		}
		additive_modifier = { #Shunned for being Patient
			value = -15
			localisation_key = tooltip_feudal_elector_vote_patient_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
		}
		additive_modifier = { #Praised for being Kind
			value = 25
			localisation_key = tooltip_feudal_elector_vote_kind_positive
			NOT = { character = FROM } #Do not judge yourself.
			is_benevolent_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
		}
		additive_modifier = { #Shunned for being Kind
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kind_negative
			NOT = { character = FROM } #Do not judge yourself.
			is_evil_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
		}
		additive_modifier = { #Praised for being Humble
			value = 15
			localisation_key = tooltip_feudal_elector_vote_humble_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			NOR = { 
				trait = proud 
				trait = envious
			}
			FROM = { 
				trait = humble
			}
		}
		additive_modifier = { #Shunned for being Humble
			value = -15
			localisation_key = tooltip_feudal_elector_vote_humble_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = proud
				trait = envious
			}
			FROM = { 
				trait = humble
			}
		}
		additive_modifier = { #Praised for being Lustful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_lustful_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = lustful
				trait = hedonist
			}
			FROM = { 
				trait = lustful
			}
		}
		additive_modifier = { #Shunned for being Lustful - Male
			value = -15
			localisation_key = tooltip_feudal_elector_vote_lustful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = lustful
					trait = hedonist
				}
			}
			FROM = { 
				trait = lustful
			}
		}
		additive_modifier = { #Praised for being Gluttonous
			value = 15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = gluttonous
				trait = hedonist
			}
			FROM = { 
				trait = gluttonous
			}
		}
		additive_modifier = { #Shunned for being Gluttonous
			value = -15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = gluttonous
					trait = hedonist
				}
			}
			FROM = { 
				trait = gluttonous
			}
		}
		additive_modifier = { #Praised for being Greedy
			value = 15
			localisation_key = tooltip_feudal_elector_vote_greedy_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
				}
				trait = greedy
			}
			FROM = { 
				trait = greedy
			}
		}
		additive_modifier = { #Shunned for being Greedy
			value = -15
			localisation_key = tooltip_feudal_elector_vote_greedy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = greedy }
			}
			FROM = { 
				trait = greedy
			}
		}
		additive_modifier = { #Praised for being Slothful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_slothful_positive
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = slothful
			}
		}
		additive_modifier = { #Shunned for being Slothful
			value = -15
			localisation_key = tooltip_feudal_elector_vote_slothful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = slothful }
			}
			FROM = { 
				trait = slothful
			}
		}
		additive_modifier = { #Praised for being Wroth
			value = 15
			localisation_key = tooltip_feudal_elector_vote_wroth_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = wroth
			}
		}
		additive_modifier = { #Shunned for being Wroth
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wroth_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = wroth
			}
		}
		additive_modifier = { #Shunned for being Evil
			value = -25
			localisation_key = tooltip_feudal_elector_vote_evil_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { is_evil_trigger = yes }
			}
			FROM = { 
				is_evil_trigger = yes
			}
		}
		additive_modifier = { #Praised for being Proud
			value = 15
			localisation_key = tooltip_feudal_elector_vote_proud_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = humble
			}
			FROM = { 
				trait = proud
			}
		}
		additive_modifier = { #Shunned for being Proud
			value = -15
			localisation_key = tooltip_feudal_elector_vote_proud_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				trait = humble
				AND = { 
					is_theocracy = yes 
					NOT = { trait = proud } 
				}
			}
			FROM = { 
				trait = proud
			}
		}
		additive_modifier = { #Praised for being Ambitious
			value = 5
			localisation_key = tooltip_feudal_elector_vote_ambitious_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = content
			}
			FROM = { 
				trait = ambitious
			}
		}
		additive_modifier = { #Shunned for being Ambitious
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ambitious_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = ambitious }
			}
			FROM = { 
				trait = ambitious
			}
		}
		additive_modifier = { #Shunned for being Arbitrary
			value = -10
			localisation_key = tooltip_feudal_elector_vote_arbitrary_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = just
				trait = arbitrary #Arbitraception
			}
			FROM = { 
				trait = arbitrary
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 5
			localisation_key = tooltip_feudal_elector_vote_brave_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 10
			localisation_key = tooltip_feudal_elector_vote_brave_positive_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Shunned for being Brave
			value = -5
			localisation_key = tooltip_feudal_elector_vote_brave_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			OR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Praised for being Content
			value = 10
			localisation_key = tooltip_feudal_elector_vote_content_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = buddhist
				religion = jain
				religion = bon
				pacifist = yes
			}
			FROM = { 
				trait = content
			}
		}
		additive_modifier = { #Shunned for being Content
			value = -5
			localisation_key = tooltip_feudal_elector_vote_content_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				trait = content
				religion = bon
				religion = bon_reformed
			}
			FROM = { 
				trait = content
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -10
			localisation_key = tooltip_feudal_elector_vote_craven_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = craven
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -25
			localisation_key = tooltip_feudal_elector_vote_craven_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = craven
			}
		}
		additive_modifier = { #Praised for being Cynical
			value = 10
			localisation_key = tooltip_feudal_elector_vote_cynical_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			NOT = { 
				trait = zealous
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -20
			localisation_key = tooltip_feudal_elector_vote_cynical_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { has_religion_feature = religion_dogmatic }
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			OR = { 
				is_reformed_religion = yes
				NOT = { religion_group = pagan_group }
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -50
			localisation_key = tooltip_feudal_elector_vote_cynical_negative_dogmatic
			NOT = { character = FROM } #Do not judge yourself.
			has_religion_feature = religion_dogmatic
			religion = FROM
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = cynical }
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Deceitful
			value = -10
			localisation_key = tooltip_feudal_elector_vote_deceitful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				trait = honest
			}
			FROM = { 
				trait = deceitful
			}
		}
		additive_modifier = { #Praised for being Erudite
			value = 10
			localisation_key = tooltip_feudal_elector_vote_erudite_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = erudite
			}
		}
		additive_modifier = { #Praised for being Just
			value = 15
			localisation_key = tooltip_feudal_elector_vote_just_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = just
			}
		}
		additive_modifier = { #Shunned for being Paranoid
			value = -5
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
				trait = paranoid
			}
			FROM = { 
				trait = paranoid
			}
		}
		additive_modifier = { #Shunned for being Paranoid by Paranoid
			value = -15
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative_paranoid
			NOT = { character = FROM } #Do not judge yourself.
			trait = paranoid
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = paranoid
			}
		}
		additive_modifier = { #Shunned for being Shy
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = shy
			}
		}
		additive_modifier = { #Praised for being Stubborn
			value = 5
			localisation_key = tooltip_feudal_elector_vote_stubborn_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
		}
		additive_modifier = { #Shunned for being Stubborn
			value = -10
			localisation_key = tooltip_feudal_elector_vote_stubborn_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
		}
		additive_modifier = { #Praised for being Trusting
			value = 25
			localisation_key = tooltip_feudal_elector_vote_trusting_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = deceitful
				trait = schemer
				trait = ambitious
			}
			FROM = { 
				trait = trusting
			}
		}
		additive_modifier = { #Praised for being Zealous
			value = 10
			localisation_key = tooltip_feudal_elector_vote_zealous_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
		}
		additive_modifier = { #Shunned for being Zealous
			value = -20
			localisation_key = tooltip_feudal_elector_vote_zealous_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
		}
		additive_modifier = { #Praised for being Pilgrim
			value = 10
			localisation_key = tooltip_feudal_elector_vote_pilgrim_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			trait = zealous
			FROM = { 
				OR = { 
					trait = pilgrim
					trait = indian_pilgrim
					trait = hajjaj
				}
			}
		}
		additive_modifier = { #Praised for being Seaking/Sea_queen
			value = 15
			localisation_key = tooltip_feudal_elector_vote_seaking_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
		}
		additive_modifier = { #Shunned for being Seaking/Sea_queen
			value = -15
			localisation_key = tooltip_feudal_elector_vote_seaking_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
		}
		additive_modifier = { #Praised for being Shieldmaiden
			value = 10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -40
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative_patriarchal
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			has_religion_feature = religion_patriarchal
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Praised for being a saoshyant_descendant 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_saoshyant_descendant_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = zoroastrian_group
			FROM = { 
				trait = saoshyant_descendant 
			}
		}
		additive_modifier = { #Praised for being Adventurer
			value = 10
			localisation_key = tooltip_feudal_elector_vote_adventurer_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = adventurer
			}
		}
		additive_modifier = { #Shunned for being Adventurer
			value = -10
			localisation_key = tooltip_feudal_elector_vote_adventurer_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = adventurer
			}
		}
		additive_modifier = { #Praised for being Berserker
			value = 5
			localisation_key = tooltip_feudal_elector_vote_berserker_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = berserker
			}
		}
		additive_modifier = { #Shunned for being Berserker
			value = -20
			localisation_key = tooltip_feudal_elector_vote_berserker_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = berserker
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -10
			localisation_key = tooltip_feudal_elector_vote_blinded_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -20
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -75
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -25
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -50
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -100
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -25
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous
				trait = cynical
			}
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -75
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
		}
		#Kinslayer - From stranger's perspective
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		#Kinslayer - From a far relative's perspective
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		#Kinslayer - From a close relative's perspective
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		additive_modifier = { #Shunned for loving the heathens
			value = -25
			localisation_key = tooltip_feudal_elector_vote_sympathy_heathens
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { religion_group = indian_group }
			NOT = { religion = bon }
			OR = { 
				AND = { 
					NOT = { has_dlc = "Holy Fury"}
					religion = bon_reformed
				}
				pacifist = yes
			}
			OR = { 
				trait = zealous
				has_religion_feature = religion_dogmatic
			}
			OR = { 
				trait = zealous
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				OR = { 
					trait = sympathy_christendom
					trait = sympathy_islam
					trait = sympathy_judaism
					trait = sympathy_zoroastrianism
					trait = sympathy_pagans
					trait = sympathy_indian
				}
			}
		}
		additive_modifier = { #Praised for being Giant
			value = 10
			localisation_key = tooltip_feudal_elector_vote_giant_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = giant
			}
		}
		additive_modifier = { #Shunned for being Giant
			value = -10
			localisation_key = tooltip_feudal_elector_vote_giant_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = giant
			}
		}
		additive_modifier = { #Shunned for being Lefthanded
			value = -10
			localisation_key = tooltip_feudal_elector_vote_lefthanded_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
			}
			FROM = { 
				trait = lefthanded
			}
		}
		additive_modifier = { #Shunned for being out of shape
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shape_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				OR = { 
					trait = is_fat
					trait = is_malnourished
				}
			}
		}
		additive_modifier = { #Praised for being baptized by Bishop
			value = 5
			localisation_key = tooltip_feudal_elector_vote_baptized_by_bishop
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			FROM = { 
				trait = baptized_by_bishop
			}
		}
		additive_modifier = { #Praised for being baptized by Pope
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_pope
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = catholic 
				religion = fraticelli
			} 
			religion = FROM
			FROM = { 
				trait = baptized_by_pope
			}
		}
		additive_modifier = { #Praised for being baptized by Patriarch
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_patriarch
			NOT = { character = FROM } #Do not judge yourself.
			religion = orthodox
			religion = FROM
			FROM = { 
				trait = baptized_by_patriarch
			}
		}
		additive_modifier = { #Shunned for being of opposite pagan branch.
			value = -25
			localisation_key = tooltip_feudal_elector_vote_pagan_branch_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM #Will care only if of same religion.
			OR = { 
				AND = { 
					trait = pagan_branch_1 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_2 	
					FROM = { 
						OR = { 
							trait = pagan_branch_1
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_3 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_1
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_4 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_1
						}
					}
				}
			}
		}
		additive_modifier = { #Shunned for being unproved courtier in the shadow of the ruler.
			value = -10
			localisation_key = tooltip_feudal_elector_vote_spoiled_courtier
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				NOR = { 
					is_ruler = yes
					has_job_title = job_marshal
					has_job_title = job_chancellor
					has_job_title = job_treasurer
					has_job_title = job_spiritual
					has_job_title = job_spymaster
				}
				OR = { 
					trait = decadent
					trait = slothful
					trait = hedonist
					trait = is_fat
					trait = shy
				}
			}
		}

		##########################   Ruler's traits   ##########################
		#Ruler is lunatic, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_lunatic
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
				trait = zealous #Might be the gods speaking
			}
			FROMFROM = { 
				holder_scope = {
					trait = lunatic
				} 
			}
		}
		#Ruler is possessed, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_possessed
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			trait = zealous
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					trait = possessed
				} 
			}
		}

		#Ruler is just, trust his pick
		additive_modifier = {
			value = 25
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_just
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't like it
			}
			FROMFROM = { 
				holder_scope = {
					trait = just
				} 
			}
		}
		#Ruler is a Tyrant (Opinion), vote against his pick
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_tyrant
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					ROOT = {
						has_opinion_modifier = {
							modifier = opinion_tyrant
							who = PREV
						} 
					} 
				} 
			}
		}


		##########################   Raw Opinion bonus towards Candidate   ##########################
		additive_modifier = {
			value = -150
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			is_rival = FROM
		}
		additive_modifier = {
			value = -100
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -75 
				}
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -50  
				}
			}
			opinion = {
				who = FROM
				value = -75 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -25
				}
			}
			opinion = {
				who = FROM
				value = -50
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = 0
				}
			}
			opinion = {
				who = FROM
				value = -25 
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 0
			}
			NOT = {
				opinion = {
					who = FROM
					value = 25
				}
			}
		}
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 25
			}
			NOT = {
				opinion = {
					who = FROM
					value = 50
				}
			}
		}
		additive_modifier = {
			value = 50
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 50
			}
			NOT = {
				opinion = {
					who = FROM
					value = 75 
				}
			}
		}
		additive_modifier = {
			value = 70
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 75
			}
		}

		##########################   Raw Opinion bonus towards Ruler   ##########################
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -30
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -75 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -20
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -50 } 
					} 
					reverse_opinion = { who = ROOT value = -75 } 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -25 } 
					} 
					reverse_opinion = { who = ROOT value = -50 } 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -5
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = 0 } 
					} 
					reverse_opinion = { who = ROOT value = -25 } 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 5
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 0 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 25 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 20
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 25 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 50 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 40
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 50 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 75 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 60
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 75 } 
				} 
			}
		}
	}
	
	#ROOT = Current Title holder, FROM = Candidate, FROMFROM = Title, FROMFROMFROM = Null
	candidate_trigger = {
		NOT = { character = FROM } #Not the current ruler.
		FROM = { 
			NOR = { 
				trait = crusader_king 
				trait = crusader_queen
			} 
		} 
		FROM = { #Either the candidate is in the realm, or is landless, or the title is independent, or the realm of the title does NOT have protected inheritance.
			OR = { 
				any_liege = { 
					character = ROOT
				} 
				is_ruler = no
				ROOT_FROMFROM = { holder_scope = { independent = yes } }
				NOR = { 
					ROOT_FROMFROM = { has_law = out_of_realm_inheritance_law_1 } 
					ROOT_FROMFROM = { has_law = crown_authority_3 } 
					ROOT_FROMFROM = { has_law = crown_authority_4 } 
				} 
			} 
		} 
		OR = {
			FROM = { any_claim = { title = ROOT_FROMFROM } }
			ROOT = { 
				is_close_relative = FROM
				OR = { 
					dynasty = FROM
					FROM = { is_landed = yes higher_real_tier_than = BARON }
				}
			}
			AND = { 
				OR = { 
					FROM = { higher_real_tier_than = COUNT } #Or Duke-tier...
					AND = { 
						ROOT = { 
							lower_real_tier_than = KING
							higher_real_tier_than = COUNT
						}
						FROM = { higher_real_tier_than = BARON } #...Or Count-tier under a Duchy...
					} 
					AND = { 
						ROOT = { 
							lower_real_tier_than = DUKE
						}
						FROM = { is_landed = yes is_ruler = yes } #...Or Baron-tier under a County.
					} 
				}
				FROM = { 
					OR = { #Either defacto direct vassal, or independent ruler who is dejure vassal.
						vassal_of = ROOT 
						AND = { 
						 	any_dejure_liege = { title = ROOT } 
							independent = yes
						}
					}
				} 
			}
		}
		FROM = {
			OR = { #Candidate should not be a landless Courtier that is about to inherit a Theocracy or Republic
				AND = {
					is_ruler = yes
					is_landed = yes
					is_republic = no
					is_merchant_republic = no
					is_theocracy = no
				}
				NOR = {
					any_heir_title = {
						is_republic = yes
					}
					any_heir_title = {
						is_merchant_republic = yes
					}
					any_heir_title = {
						is_theocracy = yes
					}
				}
			}
			OR = { #If the title controls the religion, candidates must be of the same religion.
				ROOT = { 
					NOT = { 
						controls_religion = yes
					}
				}
				religion = ROOT
			}
			NOR = {
				mother = {
					is_alive = yes
					is_married = ROOT
					parent_for_elective_succession_trigger = yes
				}
				father = {
					is_alive = yes
					is_married = ROOT
					parent_for_elective_succession_trigger = yes
				}
				trait = cat
				trait = disinherited
				trait = horse
				trait = eunuch
				AND = { 
					trait = bastard 
					is_ruler = no
				}
				is_ascetic_trigger = yes
				is_theocracy = yes
				is_republic = yes
				is_merchant_republic = yes
			}
		}
	}
}

	#####################################################################################################################################################
	#####################################################################################################################################################
	#####################################################################################################################################################
	#Tanistry

tanistry = {
	elector_vote_strength = {
		days = 1
	}
	
	elector_selection = {
		days = -5
		additive_modifier = { 
			value = 10
			is_vassal_or_below_of = FROMFROM 
			OR = { #Any vassals of one or two lower tiers than the main title are viable Electors.
				AND = {
					FROMFROM = { real_tier = COUNT }
					is_ruler = yes #Barons
				}
				AND = {
					FROMFROM = { real_tier = DUKE }
					is_ruler = yes #Barons and Counts
				}
				AND = {
					FROMFROM = { real_tier = KING }
					higher_real_tier_than = BARON #Counts and Dukes
				}
				AND = {
					FROMFROM = { real_tier = EMPEROR }
					higher_real_tier_than = COUNT #Dukes and Kings
				}
			}
		}
		additive_modifier = { #Current ruler is always an elector.
			value = 10
			FROMFROM = {
				holder_scope = {
					character = ROOT
				}
			}
		}
	}
	candidate_vote_score = {
		days = 0
		##########################   Elector voting himself   ##########################
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_myself
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			NOT = { 
				FROMFROM = { 
					holder_scope = { 
						is_parent_of = ROOT
					} 
				}
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_not_myself
			character = FROM
			NOT = { trait = ambitious }
			OR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
			}
		}
		additive_modifier = {
			value = 40
			localisation_key = tooltip_feudal_elector_vote_myself_heir
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			FROMFROM = { 
				holder_scope = { 
					is_parent_of = ROOT
				} 
			}
		}
		additive_modifier = {
			value = 40
			localisation_key = tooltip_feudal_elector_vote_myself_ambitious
			character = FROM
			trait = ambitious
		}

		##########################   Candidate's traits   ##########################

		#The heir
		additive_modifier = { #Current ruler will always try to elect his player heir.
			value = 50
			localisation_key = tooltip_feudal_elector_vote_player_heir
			player_heir = {
				character = FROM
				NOT = { character = ROOT }
			}
			FROMFROM = {
				holder_scope = {
					character = PREVPREV
				}
				NOT = {
					is_rival = FROM #Unless is rival.
				}
			}
		}

		#Sexism
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_agnatic_woman
			FROMFROM = {
				has_law = cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_enatic_man
			FROMFROM = {
				has_law = enatic_cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_patriarchal
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
		}

		additive_modifier = { #Gender weights
			value = -50
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_0
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}				
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -40
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_1
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -20
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_2
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -10
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_3
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_patriarchal
			has_religion_feature = religion_patriarchal
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_matriarchal
			OR = {		# MOD
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
			}
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
		}

		#Ageism - Tanistry is more biased towards older rulers.
		additive_modifier = { 
			value = -50
			localisation_key = tooltip_feudal_elector_vote_baby
			NOT = { character = FROM }
			FROM = {
				NOT = {
					age = 5
				}
			}
		}
		additive_modifier = { #Higher malus for Tanistry
			value = -40
			localisation_key = tooltip_feudal_elector_vote_child
			NOT = { character = FROM }
			FROM = {
				age = 5
				NOT = {
					age = 10
				}
			}
		}
		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_child
			NOT = { character = FROM }
			FROM = {
				age = 10
				NOT = {
					age = 16
				}
			}
		}
		additive_modifier = { #Still too young for older rulers
			value = -20
			localisation_key = tooltip_feudal_elector_vote_youngster
			NOT = { character = FROM }
			age = 30
			FROM = {
				age = 16
				NOT = {
					age = 25
				}
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_youngster
			NOT = { character = FROM }
			age = 40
			FROM = {
				age = 25
				NOT = {
					age = 35
				}
			}
		}
		additive_modifier = { #Or too old for younger rulers. -Less of a malus for Tanistry
			value = -5
			localisation_key = tooltip_feudal_elector_vote_oldtimer
			NOT = { character = FROM }
			NOT = { age = 40 }
			FROM = {
				age = 40
				NOT = { age = 50 }
			}
		}

		additive_modifier = { #Or simply too old overall. -Less of a malus for Tanistry
			value = -5
			localisation_key = tooltip_feudal_elector_vote_decrepit
			NOT = { character = FROM }
			FROM = { age = 50 }
		}

		#Culturism - Tanistry is tribalistic succession, therefore malus/bonus on cultural bias are increased.
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_fellow_culture
			NOT = { character = FROM }
			culture = FROM
		}
		additive_modifier = { 
			value = -25
			localisation_key = tooltip_feudal_elector_vote_stranger
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture = FROM }
		}
		additive_modifier = { 
			value = -40
			localisation_key = tooltip_feudal_elector_vote_foreigner
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture_group = FROM }
		}
		additive_modifier = { #Candidate is a foreigner's pet 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_strangers_pet
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			FROM = { 
				character = ROOT_FROMFROMFROM 
				culture = ROOT
			}
			FROMFROM = { holder_scope = { NOT = { culture = ROOT_FROM } } }
		}
		additive_modifier = { #Candidate is a foreigner's pet 
			value = -25
			localisation_key = tooltip_feudal_elector_vote_foreigners_pet
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			FROM = { 
				character = ROOT_FROMFROMFROM 
				culture = ROOT
			}
			FROMFROM = { holder_scope = { NOT = { culture_group = ROOT_FROM } } }
		}
		additive_modifier = { #If candidate is elected, he will rule from a capital outside this dejure.
			value = -30
			localisation_key = tooltip_feudal_elector_vote_political_concerns
			capital_scope = { de_jure_liege = FROMFROM }
			FROM = {
				is_ruler = yes 
				vassal_of = FROMFROM
				capital_scope = { NOT = { de_jure_liege = FROMFROM } }
			}
		}
		additive_modifier = { #Candidate is a foreign ruler.
			value = -50
			localisation_key = tooltip_feudal_elector_vote_encroaching_foreigner
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			capital_scope = { de_jure_liege = FROMFROM }
			FROM = {
				is_ruler = yes 
				NOT = { is_vassal_or_below_of = FROMFROM }
			}
		}
		additive_modifier = { #Candidate is a foreign non-dejure ruler.
			value = -500
			localisation_key = tooltip_feudal_elector_vote_encroaching_foreigner
			NOT = { capital_scope = { de_jure_liege = FROMFROM } }
			FROM = {
				is_ruler = yes 
				NOT = { is_vassal_or_below_of = ROOT_FROMFROM }
			}
		}

		#Faithism - Tanistry is more about choosing a good Dynastic member, so faith bias is slightly reduced.
		additive_modifier = { #Infidel
			value = -10
			localisation_key = tooltip_feudal_elector_vote_infidel
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { 
				religion_group = ROOT
				NOT = { religion = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
		}
		additive_modifier = { #Heathen
			value = -25
			localisation_key = tooltip_feudal_elector_vote_heathen
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			NOR = { 
				AND = {  
					trait = sympathy_christendom
					FROM = { religion_group = christian } 
				} 
				AND = {  
					trait = sympathy_islam
					FROM = { religion_group = muslim } 
				} 
				AND = {  
					trait = sympathy_pagans
					FROM = { religion_group = pagan_group } 
				} 
				AND = {  
					trait = sympathy_zoroastrianism
					FROM = { religion_group = zoroastrian_group } 
				} 
				AND = {  
					trait = sympathy_judaism
					FROM = { religion_group = jewish_group } 
				} 
				AND = {  
					trait = sympathy_indian
					FROM = { religion_group = indian_group } 
				} 
			}
			FROM = { 
				NOT = { religion_group = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
		}
		additive_modifier = { #Heretic
			value = -30
			localisation_key = tooltip_feudal_elector_vote_heretic
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { is_heresy_of = ROOT }
		}
		additive_modifier = { #Dogmatics will hardly ever pick an infidel.
			value = -50
			localisation_key = tooltip_feudal_elector_vote_heathen_dogmatic
			has_religion_feature = religion_dogmatic
			FROM = { NOT = { religion = ROOT } }
		}

		#Barbarism - Tribal succession, that is the point.
	#	additive_modifier = { 
	#		value = -15
	#		localisation_key = tooltip_feudal_elector_vote_uncivilized
	#		OR = { 
	#			is_feudal = yes 
	#			is_merchant_republic = yes
	#			is_patrician = yes
	#		}
	#		FROM = { 
	#			NOR = { 
	#				is_feudal = yes 
	#				is_merchant_republic = yes
	#				is_patrician = yes
	#			} 
	#		}
	#	}
		#Tribalism

		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_tribalism
			is_tribal = yes
			FROM = {
				OR = {
					AND = { 
						is_ruler = yes
						is_tribal = no
					}
					AND = { 
						is_ruler = no
						liege = { is_tribal = no }
					}
				}
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_settled
			is_nomadic = yes
			FROM = { 
				is_nomadic = no
			}
		}

		#Nepotism
		additive_modifier = { #All characters are relatives, although some might not be of the same dynasty as the Elector.
			value = 10
			localisation_key = tooltip_feudal_elector_vote_dynasty
			NOT = { 
				character = FROM
			}
			FROM = { 
				dynasty = ROOT
				NOT = { 
					is_close_relative = ROOT
				}
			}
		}
		additive_modifier = { 
			value = 20
			localisation_key = tooltip_feudal_elector_vote_relative
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_close_relative = ROOT
				NOT = { 
					is_child_of = ROOT
				}
			}
		}
		additive_modifier = { 
			value = 30
			localisation_key = tooltip_feudal_elector_vote_parent
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_child_of = ROOT
			}
			NOT = { 
				FROMFROM = { 
					holder_scope = { 
						character = ROOT
					}
				}
			}
		}
		additive_modifier = { #Current Ruler should tend to often pick one of his own children as potential heirs.
			value = 60
			localisation_key = tooltip_feudal_elector_vote_parent
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_child_of = ROOT
			}
			FROMFROM = { 
				holder_scope = { 
					character = ROOT
				}
			}
		}
		additive_modifier = { #Vassals will tend to pick heirs that are not the current ruler's children when under Tanistry.
			value = -50
			localisation_key = tooltip_feudal_elector_vote_anti_tanist
			NOT = { 
				character = FROM
			}
			FROMFROM = { 
				holder_scope = { 
					NOT = { character = ROOT }
					is_parent_of = FROM
				}
			}
		}
		additive_modifier = { #Vassals will tend to pick heirs that are not the current ruler's close relaitves when under Tanistry.
			value = -30
			localisation_key = tooltip_feudal_elector_vote_anti_tanist
			NOT = { 
				character = FROM
			}
			FROMFROM = { 
				holder_scope = { 
					is_close_relative = FROM
					NOT = { character = ROOT }
					NOT = { is_parent_of = FROM }
				}
			}
		}

		#Prestige 
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { prestige = -1000 } }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -1000 }
			FROM = { NOT = { prestige = -500 } }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -500 }
			FROM = { NOT = { prestige = -250 } }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -250 }
			FROM = { NOT = { prestige = 0 } }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 250 }
			FROM = { NOT = { prestige = 500 } }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 500 }
			FROM = { NOT = { prestige = 1000 } }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			FROM = { prestige = 1000 }
		}

		#Piety
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { piety = -500 } }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -500 }
			FROM = { NOT = { piety = -250 } }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -250 }
			FROM = { NOT = { piety = -100 } }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -100 }
			FROM = { NOT = { piety = 0 } }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 100 }
			FROM = { NOT = { piety = 250 } }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 250 }
			FROM = { NOT = { piety = 500 } }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 500 }
		}

		#Educational preferences
		additive_modifier = { # Warrior culture prefers warriors
			value = 15
			localisation_key = tooltip_feudal_elector_vote_martial_education
			this_is_warrior_culture_trigger = yes
			FROM = { 
				martial = 10
				OR = { 
					has_education_martial_trigger = yes 
					has_lifestyle_martial_trigger = yes
				} 
			}
		}
		additive_modifier = { # Diplomatic culture prefers stewards and diplomats
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diplomatic_education
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				OR = { 
					AND = { 
						diplomacy = 10
						OR = { 
							has_education_diplomacy_trigger = yes
							has_lifestyle_diplomacy_trigger = yes
						}
					}
					AND = { 
						stewardship = 10
						OR = { 
							has_education_stewardship_trigger = yes
							has_lifestyle_stewardship_trigger = yes
						}
					}
				} 
			}
		}
		additive_modifier = { # Spiritual culture prefers scholars
			value = 15
			localisation_key = tooltip_feudal_elector_vote_spiritual_education
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				learning = 10
				OR = { 
					has_education_learning_trigger = yes 
					has_lifestyle_learning_trigger = yes
				} 
			}
		}

		#Claims
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_strong_claimant
			FROM = { 
				has_claim = FROMFROM
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_weak_claimant
			FROM = { 
				has_weak_claim = FROMFROM
			}
		}


		#All the Traits
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_playful
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = playful
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_rowdy
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = rowdy
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_haughty
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = haughty
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_conscientious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = conscientious
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_curious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = curious
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_idolizer
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = idolizer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_depressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = depressed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_drunkard
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { 
				religion_group = muslim
			}
			FROM = { 
				trait = drunkard
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_drunkard_muslim
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = muslim
			FROM = { 
				trait = drunkard
			}
		}
		additive_modifier = { 	#Would mean the end of Elections
			value = -35	
			localisation_key = tooltip_feudal_elector_vote_immortal
			NOT = { character = FROM } #Do not judge yourself.	
			FROM = { 
				trait = immortal
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_incapable
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = incapable
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_incapable_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = incapable
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_infirm
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = infirm
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_infirm_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = infirm
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_lunatic
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = lunatic
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_maimed
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = maimed
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_maimed_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = maimed
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_possessed
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = zealous }
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
		}
		additive_modifier = {
			value = -60
			localisation_key = tooltip_feudal_elector_vote_possessed_vs_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_physician
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = physician
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_scarred
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_scarred_mid
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_mid
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_scarred_high
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_high
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stressed
			}
		}
		additive_modifier = { #Judge yourself on illness. You should probably not candidate yourself if you are dying.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wounded
			FROM = { 
				trait = wounded
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_aztec_disease
			FROM = { 
				trait = has_aztec_disease
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_typhus
			FROM = { 
				trait = has_typhus 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_cancer
			FROM = { 
				trait = cancer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_has_tuberculosis
			FROM = { 
				trait = has_tuberculosis
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_dancing_plague
			FROM = { 
				trait = dancing_plague 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dysentery
			FROM = { 
				trait = dysentery
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_flu
			FROM = { 
				trait = flu
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_food_poisoning
			FROM = { 
				trait = food_poisoning
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_gout
			FROM = { 
				trait = gout
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_syphilitic
			FROM = { 
				trait = syphilitic
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_typhoid_fever
			FROM = { 
				trait = has_typhoid_fever 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ill
			FROM = { 
				trait = ill
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_leper
			FROM = { 
				trait = leper
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_measles
			FROM = { 
				trait = has_measles
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_pneumonic
			FROM = { 
				trait = pneumonic
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_rabies
			FROM = { 
				trait = rabies
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_scurvy
			FROM = { 
				trait = scurvy
			}
		}
		additive_modifier = {
			value = -45
			localisation_key = tooltip_feudal_elector_vote_sickly
			FROM = { 
				trait = sickly
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_small_pox
			FROM = { 
				trait = has_small_pox
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_has_bubonic_plague
			FROM = { 
				trait = has_bubonic_plague
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_disfigured
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_disfigured_byzantine
			culture_group = byzantine
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_disfigured_warrior
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_mangled
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = mangled
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_mangled_warrior
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = mangled
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_eyed
			FROM = { 
				trait = one_eyed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_handed
			FROM = { 
				trait = one_handed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_legged
			FROM = { 
				trait = one_legged
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_severely_injured
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = severely_injured
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_bastard
			NOT = { character = FROM } #Do not judge yourself.
			is_feudal = yes
			FROM = { 
				trait = bastard
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_born_in_the_purple
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = born_in_the_purple
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_child_of_consort
			NOT = { character = FROM } #Do not judge yourself.
			is_feudal = yes
			FROM = {
				OR = { 
					trait = legit_bastard
					trait = child_of_consort_male
					trait = child_of_consort
				}
			}
		}
		additive_modifier = { #Attraction bonus
			value = 10
			localisation_key = tooltip_feudal_elector_vote_attractive
			NOT = { character = FROM } #Do not judge yourself.
			is_adult = yes
			OR = { 
				NOT = { is_close_relative = FROM }
				religion = zoroastrian
				religion = messalian
				has_religion_feature = religion_holy_family 
				has_religion_feature = religion_feature_zun
			} 
			OR = { 
				AND = { 
					prefers_men_trigger = yes
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = no 
						is_adult = yes
						is_attractive_trigger = yes
					}
				}
				AND = { 
					prefers_men_trigger = no
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = yes 
						is_adult = yes
						is_attractive_trigger = yes
					}
				}
			}
		}
		additive_modifier = { #Ugliness bonus
			value = -10
			localisation_key = tooltip_feudal_elector_vote_ugly
			NOT = { character = FROM } #Do not judge yourself.
			is_adult = yes
			OR = { 
				NOT = { is_close_relative = FROM }
				religion = zoroastrian
				religion = messalian
				has_religion_feature = religion_holy_family 
				has_religion_feature = religion_feature_zun
			} 
			OR = { 
				AND = { 
					prefers_men_trigger = yes
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = no 
						is_adult = yes
						is_unattractive_trigger = yes
					}
				}
				AND = { 
					prefers_men_trigger = no
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = yes 
						is_adult = yes
						is_unattractive_trigger = yes
					}
				}
			}
		}
		additive_modifier = {
			value = 20
			localisation_key = tooltip_feudal_elector_vote_genius_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_genius
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_quick_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_quick
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_strong
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = strong
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_strong_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = strong
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_clubfooted
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = clubfooted
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dwarf
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = dwarf
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_dwarf_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = dwarf
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_harelip
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = harelip
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_hunchback
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = hunchback
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_hunchback_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = hunchback
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_imbecile
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = imbecile
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_imbecile_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = imbecile
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_inbred
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = inbred
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_lisp
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = lisp
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_slow
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = slow
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_slow_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = slow
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stutter
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stutter
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_weak
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = weak
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_weak_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = weak
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_robust
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = robust
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_robust_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = robust
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_dull_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_dull
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_feeble
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = feeble
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_feeble_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = feeble
			}
		}

		#The Seven Sins/Virtues
		additive_modifier = { #Praised for being Chaste
			value = 15
			localisation_key = tooltip_feudal_elector_vote_chaste_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			NOT = { trait = lustful }
			FROM = { 
				trait = chaste
			}
		}
		additive_modifier = { #Shunned for being Chaste
			value = -15
			localisation_key = tooltip_feudal_elector_vote_chaste_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = lustful 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = chaste }
			FROM = { 
				trait = chaste
			}
		}
		additive_modifier = { #Praised for being Temperate
			value = 15
			localisation_key = tooltip_feudal_elector_vote_temperate_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
				religion = bon
				religion = bon_reformed
			}
			NOT = { trait = gluttonous }
			FROM = { 
				trait = temperate
			}
		}
		additive_modifier = { #Shunned for being Temperate
			value = -15
			localisation_key = tooltip_feudal_elector_vote_temperate_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = gluttonous
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = temperate }
			FROM = { 
				trait = temperate
			}
		}
		additive_modifier = { #Praised for being Charitable
			value = 15
			localisation_key = tooltip_feudal_elector_vote_charitable_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
			}
			NOT = { trait = greedy }
			FROM = { 
				trait = charitable
			}
		}
		additive_modifier = { #Shunned for being Charitable
			value = -15
			localisation_key = tooltip_feudal_elector_vote_charitable_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = greedy
			FROM = { 
				trait = charitable
			}
		}
		additive_modifier = { #Praised for being Diligent
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diligent_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = slothful }
			FROM = { 
				trait = diligent
			}
		}
		additive_modifier = { #Shunned for being Diligent
			value = -15
			localisation_key = tooltip_feudal_elector_vote_diligent_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = diligent
			}
		}
		additive_modifier = { #Praised for being Patient
			value = 15
			localisation_key = tooltip_feudal_elector_vote_patient_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
		}
		additive_modifier = { #Shunned for being Patient
			value = -15
			localisation_key = tooltip_feudal_elector_vote_patient_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
		}
		additive_modifier = { #Praised for being Kind
			value = 25
			localisation_key = tooltip_feudal_elector_vote_kind_positive
			NOT = { character = FROM } #Do not judge yourself.
			is_benevolent_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
		}
		additive_modifier = { #Shunned for being Kind
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kind_negative
			NOT = { character = FROM } #Do not judge yourself.
			is_evil_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
		}
		additive_modifier = { #Praised for being Humble
			value = 15
			localisation_key = tooltip_feudal_elector_vote_humble_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			NOR = { 
				trait = proud 
				trait = envious
			}
			FROM = { 
				trait = humble
			}
		}
		additive_modifier = { #Shunned for being Humble
			value = -15
			localisation_key = tooltip_feudal_elector_vote_humble_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = proud
				trait = envious
			}
			FROM = { 
				trait = humble
			}
		}
		additive_modifier = { #Praised for being Lustful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_lustful_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = lustful
				trait = hedonist
			}
			FROM = { 
				trait = lustful
			}
		}
		additive_modifier = { #Shunned for being Lustful - Male
			value = -15
			localisation_key = tooltip_feudal_elector_vote_lustful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = lustful
					trait = hedonist
				}
			}
			FROM = { 
				trait = lustful
			}
		}
		additive_modifier = { #Praised for being Gluttonous
			value = 15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = gluttonous
				trait = hedonist
			}
			FROM = { 
				trait = gluttonous
			}
		}
		additive_modifier = { #Shunned for being Gluttonous
			value = -15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = gluttonous
					trait = hedonist
				}
			}
			FROM = { 
				trait = gluttonous
			}
		}
		additive_modifier = { #Praised for being Greedy
			value = 15
			localisation_key = tooltip_feudal_elector_vote_greedy_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
				}
				trait = greedy
			}
			FROM = { 
				trait = greedy
			}
		}
		additive_modifier = { #Shunned for being Greedy
			value = -15
			localisation_key = tooltip_feudal_elector_vote_greedy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = greedy }
			}
			FROM = { 
				trait = greedy
			}
		}
		additive_modifier = { #Praised for being Slothful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_slothful_positive
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = slothful
			}
		}
		additive_modifier = { #Shunned for being Slothful
			value = -15
			localisation_key = tooltip_feudal_elector_vote_slothful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = slothful }
			}
			FROM = { 
				trait = slothful
			}
		}
		additive_modifier = { #Praised for being Wroth
			value = 15
			localisation_key = tooltip_feudal_elector_vote_wroth_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = wroth
			}
		}
		additive_modifier = { #Shunned for being Wroth
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wroth_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = wroth
			}
		}
		additive_modifier = { #Shunned for being Evil
			value = -25
			localisation_key = tooltip_feudal_elector_vote_evil_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { is_evil_trigger = yes }
			}
			FROM = { 
				is_evil_trigger = yes
			}
		}
		additive_modifier = { #Praised for being Proud
			value = 15
			localisation_key = tooltip_feudal_elector_vote_proud_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = humble
			}
			FROM = { 
				trait = proud
			}
		}
		additive_modifier = { #Shunned for being Proud
			value = -15
			localisation_key = tooltip_feudal_elector_vote_proud_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				trait = humble
				AND = { 
					is_theocracy = yes 
					NOT = { trait = proud } 
				}
			}
			FROM = { 
				trait = proud
			}
		}
		additive_modifier = { #Praised for being Ambitious
			value = 5
			localisation_key = tooltip_feudal_elector_vote_ambitious_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = content
			}
			FROM = { 
				trait = ambitious
			}
		}
		additive_modifier = { #Shunned for being Ambitious
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ambitious_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = ambitious }
			}
			FROM = { 
				trait = ambitious
			}
		}
		additive_modifier = { #Shunned for being Arbitrary
			value = -10
			localisation_key = tooltip_feudal_elector_vote_arbitrary_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = just
				trait = arbitrary #Arbitraception
			}
			FROM = { 
				trait = arbitrary
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 5
			localisation_key = tooltip_feudal_elector_vote_brave_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 10
			localisation_key = tooltip_feudal_elector_vote_brave_positive_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Shunned for being Brave
			value = -5
			localisation_key = tooltip_feudal_elector_vote_brave_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			OR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Praised for being Content
			value = 10
			localisation_key = tooltip_feudal_elector_vote_content_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = buddhist
				religion = jain
				religion = bon
				pacifist = yes
			}
			FROM = { 
				trait = content
			}
		}
		additive_modifier = { #Shunned for being Content
			value = -5
			localisation_key = tooltip_feudal_elector_vote_content_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				trait = content
				religion = bon
				religion = bon_reformed
			}
			FROM = { 
				trait = content
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -10
			localisation_key = tooltip_feudal_elector_vote_craven_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = craven
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -25
			localisation_key = tooltip_feudal_elector_vote_craven_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = craven
			}
		}
		additive_modifier = { #Praised for being Cynical
			value = 10
			localisation_key = tooltip_feudal_elector_vote_cynical_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			NOT = { 
				trait = zealous
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -20
			localisation_key = tooltip_feudal_elector_vote_cynical_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { has_religion_feature = religion_dogmatic }
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			OR = { 
				is_reformed_religion = yes
				NOT = { religion_group = pagan_group }
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -50
			localisation_key = tooltip_feudal_elector_vote_cynical_negative_dogmatic
			NOT = { character = FROM } #Do not judge yourself.
			has_religion_feature = religion_dogmatic
			religion = FROM
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = cynical }
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Deceitful
			value = -10
			localisation_key = tooltip_feudal_elector_vote_deceitful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				trait = honest
			}
			FROM = { 
				trait = deceitful
			}
		}
		additive_modifier = { #Praised for being Erudite
			value = 10
			localisation_key = tooltip_feudal_elector_vote_erudite_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = erudite
			}
		}
		additive_modifier = { #Praised for being Just
			value = 15
			localisation_key = tooltip_feudal_elector_vote_just_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = just
			}
		}
		additive_modifier = { #Shunned for being Paranoid
			value = -5
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
				trait = paranoid
			}
			FROM = { 
				trait = paranoid
			}
		}
		additive_modifier = { #Shunned for being Paranoid by Paranoid
			value = -15
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative_paranoid
			NOT = { character = FROM } #Do not judge yourself.
			trait = paranoid
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = paranoid
			}
		}
		additive_modifier = { #Shunned for being Shy
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = shy
			}
		}
		additive_modifier = { #Praised for being Stubborn
			value = 5
			localisation_key = tooltip_feudal_elector_vote_stubborn_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
		}
		additive_modifier = { #Shunned for being Stubborn
			value = -10
			localisation_key = tooltip_feudal_elector_vote_stubborn_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
		}
		additive_modifier = { #Praised for being Trusting
			value = 25
			localisation_key = tooltip_feudal_elector_vote_trusting_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = deceitful
				trait = schemer
				trait = ambitious
			}
			FROM = { 
				trait = trusting
			}
		}
		additive_modifier = { #Praised for being Zealous
			value = 10
			localisation_key = tooltip_feudal_elector_vote_zealous_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
		}
		additive_modifier = { #Shunned for being Zealous
			value = -20
			localisation_key = tooltip_feudal_elector_vote_zealous_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
		}
		additive_modifier = { #Praised for being Pilgrim
			value = 10
			localisation_key = tooltip_feudal_elector_vote_pilgrim_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			trait = zealous
			FROM = { 
				OR = { 
					trait = pilgrim
					trait = indian_pilgrim
					trait = hajjaj
				}
			}
		}
		additive_modifier = { #Praised for being Seaking/Sea_queen
			value = 15
			localisation_key = tooltip_feudal_elector_vote_seaking_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
		}
		additive_modifier = { #Shunned for being Seaking/Sea_queen
			value = -15
			localisation_key = tooltip_feudal_elector_vote_seaking_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
		}
		additive_modifier = { #Praised for being Shieldmaiden
			value = 10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -40
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative_patriarchal
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			has_religion_feature = religion_patriarchal
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Praised for being a saoshyant_descendant 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_saoshyant_descendant_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = zoroastrian_group
			FROM = { 
				trait = saoshyant_descendant 
			}
		}
		additive_modifier = { #Praised for being Adventurer
			value = 10
			localisation_key = tooltip_feudal_elector_vote_adventurer_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = adventurer
			}
		}
		additive_modifier = { #Shunned for being Adventurer
			value = -10
			localisation_key = tooltip_feudal_elector_vote_adventurer_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = adventurer
			}
		}
		additive_modifier = { #Praised for being Berserker
			value = 5
			localisation_key = tooltip_feudal_elector_vote_berserker_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = berserker
			}
		}
		additive_modifier = { #Shunned for being Berserker
			value = -20
			localisation_key = tooltip_feudal_elector_vote_berserker_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = berserker
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -10
			localisation_key = tooltip_feudal_elector_vote_blinded_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -20
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -75
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -25
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -50
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -100
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -25
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous
				trait = cynical
			}
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -75
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
		}
		#Kinslayer - From stranger's perspective
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		#Kinslayer - From a far relative's perspective
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		#Kinslayer - From a close relative's perspective
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		additive_modifier = { #Shunned for loving the heathens
			value = -25
			localisation_key = tooltip_feudal_elector_vote_sympathy_heathens
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { religion_group = indian_group }
			NOT = { religion = bon }
			OR = { 
				AND = { 
					NOT = { has_dlc = "Holy Fury"}
					religion = bon_reformed
				}
				pacifist = yes
			}
			OR = { 
				trait = zealous
				has_religion_feature = religion_dogmatic
			}
			OR = { 
				trait = zealous
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				OR = { 
					trait = sympathy_christendom
					trait = sympathy_islam
					trait = sympathy_judaism
					trait = sympathy_zoroastrianism
					trait = sympathy_pagans
					trait = sympathy_indian
				}
			}
		}
		additive_modifier = { #Praised for being Giant
			value = 10
			localisation_key = tooltip_feudal_elector_vote_giant_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = giant
			}
		}
		additive_modifier = { #Shunned for being Giant
			value = -10
			localisation_key = tooltip_feudal_elector_vote_giant_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = giant
			}
		}
		additive_modifier = { #Shunned for being Lefthanded
			value = -10
			localisation_key = tooltip_feudal_elector_vote_lefthanded_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
			}
			FROM = { 
				trait = lefthanded
			}
		}
		additive_modifier = { #Shunned for being out of shape
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shape_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				OR = { 
					trait = is_fat
					trait = is_malnourished
				}
			}
		}
		additive_modifier = { #Praised for being baptized by Bishop
			value = 5
			localisation_key = tooltip_feudal_elector_vote_baptized_by_bishop
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			FROM = { 
				trait = baptized_by_bishop
			}
		}
		additive_modifier = { #Praised for being baptized by Pope
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_pope
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = catholic 
				religion = fraticelli
			} 
			religion = FROM
			FROM = { 
				trait = baptized_by_pope
			}
		}
		additive_modifier = { #Praised for being baptized by Patriarch
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_patriarch
			NOT = { character = FROM } #Do not judge yourself.
			religion = orthodox
			religion = FROM
			FROM = { 
				trait = baptized_by_patriarch
			}
		}
		additive_modifier = { #Shunned for being of opposite pagan branch.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_pagan_branch_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM #Will care only if of same religion.
			OR = { 
				AND = { 
					trait = pagan_branch_1 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_2 	
					FROM = { 
						OR = { 
							trait = pagan_branch_1
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_3 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_1
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_4 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_1
						}
					}
				}
			}
		}
		additive_modifier = { #Shunned for being unproved courtier in the shadow of the ruler.
			value = -10
			localisation_key = tooltip_feudal_elector_vote_spoiled_courtier
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				NOR = { 
					is_ruler = yes
					has_job_title = job_marshal
					has_job_title = job_chancellor
					has_job_title = job_treasurer
					has_job_title = job_spiritual
					has_job_title = job_spymaster
				}
				OR = { 
					trait = decadent
					trait = slothful
					trait = hedonist
					trait = is_fat
					trait = shy
				}
			}
		}

		##########################   Ruler's traits   ##########################
		#Ruler is lunatic, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_lunatic
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
				trait = zealous #Might be the gods speaking
			}
			FROMFROM = { 
				holder_scope = {
					trait = lunatic
				} 
			}
		}
		#Ruler is possessed, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_possessed
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			trait = zealous
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					trait = possessed
				} 
			}
		}

		#Ruler is just, trust his pick
		additive_modifier = {
			value = 25
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_just
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't like it
			}
			FROMFROM = { 
				holder_scope = {
					trait = just
				} 
			}
		}
		#Ruler is a Tyrant (Opinion), vote against his pick
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_tyrant
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					ROOT = {
						has_opinion_modifier = {
							modifier = opinion_tyrant
							who = PREV
						} 
					} 
				} 
			}
		}


		##########################   Raw Opinion bonus towards Candidate   ##########################
		additive_modifier = {
			value = -150
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			is_rival = FROM
		}
		additive_modifier = {
			value = -100
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -75 
				}
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -50  
				}
			}
			opinion = {
				who = FROM
				value = -75 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -25
				}
			}
			opinion = {
				who = FROM
				value = -50
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = 0
				}
			}
			opinion = {
				who = FROM
				value = -25 
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 0
			}
			NOT = {
				opinion = {
					who = FROM
					value = 25
				}
			}
		}
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 25
			}
			NOT = {
				opinion = {
					who = FROM
					value = 50
				}
			}
		}
		additive_modifier = {
			value = 50
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 50
			}
			NOT = {
				opinion = {
					who = FROM
					value = 75 
				}
			}
		}
		additive_modifier = {
			value = 70
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 75
			}
		}


		##########################   Raw Opinion bonus towards Ruler   ##########################
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -30
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -75 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -20
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -50 } 
					} 
					reverse_opinion = { who = ROOT value = -75 } 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -25 } 
					} 
					reverse_opinion = { who = ROOT value = -50 } 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -5
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = 0 } 
					} 
					reverse_opinion = { who = ROOT value = -25 } 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 10
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 0 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 25 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 20
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 25 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 50 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 40
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 50 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 75 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 60
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 75 } 
				} 
			}
		}
	}

	#ROOT = Current Title holder, FROM = Candidate, FROMFROM = Title, FROMFROMFROM = Null
	candidate_trigger = {
		NOT = { character = FROM } #Not the current ruler.
		dynasty = FROM
		FROM = {
			OR = { #Candidate should not be a landless Courtier that is about to inherit a Theocracy or Republic
				AND = {
					is_ruler = yes
					is_landed = yes
					is_republic = no
					is_merchant_republic = no
					is_theocracy = no
				}
				NOR = {
					any_heir_title = {
						is_republic = yes
					}
					any_heir_title = {
						is_merchant_republic = yes
					}
					any_heir_title = {
						is_theocracy = yes
					}
				}
			}
			OR = { #If the title controls the religion, candidates must be of the same religion.
				ROOT = { 
					NOT = { 
						controls_religion = yes
					}
				}
				religion = ROOT
			}
			NOR = {
				trait = cat
				trait = disinherited
				trait = horse
				trait = eunuch
				trait = bastard
				is_ascetic_trigger = yes
				is_theocracy = yes
				is_republic = yes
				is_merchant_republic = yes
			}
		}
	}
}


	#####################################################################################################################################################
	#####################################################################################################################################################
	#####################################################################################################################################################

	#Elective Gavelkind

elective_gavelkind = {
	elector_vote_strength = {
		days = 1
	}
	
	elector_selection = {
		days = -5
		additive_modifier = { 
			value = 10
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			vassal_of = FROMFROM 
			OR = { #Any vassals of one or two lower tiers than the main title are viable Electors.
				AND = {
					FROMFROM = { real_tier = DUKE }
					is_ruler = yes
				}
				AND = {
					FROMFROM = { real_tier = KING }
					higher_real_tier_than = BARON
				}
				AND = {
					FROMFROM = { real_tier = EMPEROR }
					higher_real_tier_than = COUNT
				}
			}
		}
		additive_modifier = { #Current ruler is always an elector.
			value = 10
			FROMFROM = { #Either title is higher than Duke-tier, or must be primary.
				OR = { 
					higher_tier_than = DUKE
					holder_scope = { primary_title = { title = PREVPREV } }
				}
			}
			FROMFROM = {
				holder_scope = {
					character = ROOT
				}
			}
		}
	}
	candidate_vote_score = {
		days = 0
		##########################   Elector voting himself   ##########################
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_myself
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			NOT = { 
				FROMFROM = { 
					holder_scope = { 
						is_parent_of = ROOT
					} 
				}
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_not_myself
			character = FROM
			NOT = { trait = ambitious }
			OR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
			}
		}
		additive_modifier = {
			value = 40
			localisation_key = tooltip_feudal_elector_vote_myself_heir
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			FROMFROM = { 
				holder_scope = { 
					is_parent_of = ROOT
				} 
			}
		}
		additive_modifier = {
			value = 40
			localisation_key = tooltip_feudal_elector_vote_myself_ambitious
			character = FROM
			trait = ambitious
		}

		##########################   Candidate's traits   ##########################

		#The heir
		additive_modifier = { #Current ruler will always try to elect his player heir.
			value = 50
			localisation_key = tooltip_feudal_elector_vote_player_heir
			player_heir = {
				character = FROM
				NOT = { character = ROOT }
			}
			FROMFROM = {
				holder_scope = {
					character = PREVPREV
				}
				NOT = {
					is_rival = FROM #Unless is rival.
				}
			}
		}

		#Sexism
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_agnatic_woman
			FROMFROM = {
				has_law = cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_enatic_man
			FROMFROM = {
				has_law = enatic_cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_patriarchal
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
		}

		additive_modifier = { #Gender weights
			value = -50
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_0
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -40
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_1
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -20
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_2
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -10
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_3
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_patriarchal
			has_religion_feature = religion_patriarchal
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_matriarchal
			OR = {		# MOD
				has_religion_feature = religion_matriarchal
				AND = {
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
			}
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
		}

		#Ageism - Elective Gavelkind is more biased towards younger (adult) rulers.
		additive_modifier = { 
			value = -50
			localisation_key = tooltip_feudal_elector_vote_baby
			NOT = { character = FROM }
			FROM = {
				NOT = {
					age = 5
				}
			}
		}
		additive_modifier = { #Higher malus for Tanistry
			value = -40
			localisation_key = tooltip_feudal_elector_vote_child
			NOT = { character = FROM }
			FROM = {
				age = 5
				NOT = {
					age = 10
				}
			}
		}
		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_child
			NOT = { character = FROM }
			FROM = {
				age = 10
				NOT = {
					age = 16
				}
			}
		}
	#	additive_modifier = { #Still too young for older rulers
	#		value = -20
	#		localisation_key = tooltip_feudal_elector_vote_youngster
	#		age = 30
	#		FROM = {
	#			age = 16
	#			NOT = {
	#				age = 25
	#			}
	#		}
	#	}
	#	additive_modifier = { 
	#		value = -15
	#		localisation_key = tooltip_feudal_elector_vote_youngster
	#		age = 40
	#		FROM = {
	#			age = 25
	#			NOT = {
	#				age = 35
	#			}
	#		}
	#	}
		additive_modifier = { #Old just right.
			value = 15
			localisation_key = tooltip_feudal_elector_vote_prime_age
			NOT = { character = FROM }
			FROM = {
				age = 20
				NOT = { age = 40 }
			}
		}
		additive_modifier = { #Too old to rule.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_decrepit
			NOT = { character = FROM }
			FROM = {
				age = 40
				NOT = { age = 50 }
			}
		}

		additive_modifier = { #Or simply too old overall.
			value = -35
			localisation_key = tooltip_feudal_elector_vote_decrepit
			NOT = { character = FROM }
			FROM = { age = 50 }
		}

		#Culturism - Elective Gavelkind is a tribalistic succession, therefore malus/bonus on cultural bias are increased.
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_fellow_culture
			NOT = { character = FROM }
			culture = FROM
		}
		additive_modifier = { 
			value = -25
			localisation_key = tooltip_feudal_elector_vote_stranger
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture = FROM }
		}
		additive_modifier = { 
			value = -40
			localisation_key = tooltip_feudal_elector_vote_foreigner
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture_group = FROM }
		}
		additive_modifier = { #Candidate is a foreigner's pet 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_strangers_pet
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			FROM = { 
				character = ROOT_FROMFROMFROM 
				culture = ROOT
			}
			FROMFROM = { holder_scope = { NOT = { culture = FROM } } }
		}
		additive_modifier = { #Candidate is a foreigner's pet 
			value = -25
			localisation_key = tooltip_feudal_elector_vote_foreigners_pet
			FROM = { 
				character = ROOT_FROMFROMFROM 
				culture = ROOT
			}
			FROMFROM = { holder_scope = { NOT = { culture_group = ROOT_FROM } } }
		}
		additive_modifier = { #If candidate is elected, he will rule from a capital outside this dejure.
			value = -30
			localisation_key = tooltip_feudal_elector_vote_political_concerns
			capital_scope = { de_jure_liege = FROMFROM }
			FROM = {
				is_ruler = yes 
				vassal_of = FROMFROM
				capital_scope = { NOT = { de_jure_liege = FROMFROM } }
			}
		}
		additive_modifier = { #Candidate is a foreign ruler.
			value = -50
			localisation_key = tooltip_feudal_elector_vote_encroaching_foreigner
			capital_scope = { de_jure_liege = FROMFROM }
			FROM = {
				is_ruler = yes 
				NOT = { is_vassal_or_below_of = FROMFROM }
			}
		}
		additive_modifier = { #Candidate is a foreign non-dejure ruler.
			value = -500
			localisation_key = tooltip_feudal_elector_vote_encroaching_foreigner
			NOT = { capital_scope = { de_jure_liege = FROMFROM } }
			FROM = {
				is_ruler = yes 
				NOT = { is_vassal_or_below_of = ROOT_FROMFROM }
			}
		}

		#Faithism - Elective Gavelkind is more about choosing a good Dynastic member, so faith bias is slightly reduced.
		additive_modifier = { #Infidel
			value = -10
			localisation_key = tooltip_feudal_elector_vote_infidel
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { 
				religion_group = ROOT
				NOT = { religion = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
		}
		additive_modifier = { #Heathen
			value = -25
			localisation_key = tooltip_feudal_elector_vote_heathen
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			NOR = { 
				AND = {  
					trait = sympathy_christendom
					FROM = { religion_group = christian } 
				} 
				AND = {  
					trait = sympathy_islam
					FROM = { religion_group = muslim } 
				} 
				AND = {  
					trait = sympathy_pagans
					FROM = { religion_group = pagan_group } 
				} 
				AND = {  
					trait = sympathy_zoroastrianism
					FROM = { religion_group = zoroastrian_group } 
				} 
				AND = {  
					trait = sympathy_judaism
					FROM = { religion_group = jewish_group } 
				} 
				AND = {  
					trait = sympathy_indian
					FROM = { religion_group = indian_group } 
				} 
			}
			FROM = { 
				NOT = { religion_group = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
		}
		additive_modifier = { #Heretic
			value = -30
			localisation_key = tooltip_feudal_elector_vote_heretic
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { is_heresy_of = ROOT }
		}
		additive_modifier = { #Dogmatics will hardly ever pick an infidel.
			value = -50
			localisation_key = tooltip_feudal_elector_vote_heathen_dogmatic
			has_religion_feature = religion_dogmatic
			FROM = { NOT = { religion = ROOT } }
		}

		#Barbarism - Tribal succession, that is the point.
	#	additive_modifier = { 
	#		value = -15
	#		localisation_key = tooltip_feudal_elector_vote_uncivilized
	#		OR = { 
	#			is_feudal = yes 
	#			is_merchant_republic = yes
	#			is_patrician = yes
	#		}
	#		FROM = { 
	#			NOR = { 
	#				is_feudal = yes 
	#				is_merchant_republic = yes
	#				is_patrician = yes
	#			} 
	#		}
	#	}
		#Tribalism

		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_tribalism
			is_tribal = yes
			FROM = {
				OR = {
					AND = { 
						is_ruler = yes
						is_tribal = no
					}
					AND = { 
						is_ruler = no
						liege = { is_tribal = no }
					}
				}
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_settled
			is_nomadic = yes
			FROM = { 
				is_nomadic = no
			}
		}

		#Nepotism
		additive_modifier = { #All characters are relatives, although some might not be of the same dynasty as the Elector.
			value = 10
			localisation_key = tooltip_feudal_elector_vote_dynasty
			NOT = { 
				character = FROM
			}
			FROM = { 
				dynasty = ROOT
				NOT = { 
					is_close_relative = ROOT
				}
			}
		}
		additive_modifier = { 
			value = 20
			localisation_key = tooltip_feudal_elector_vote_relative
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_close_relative = ROOT
				NOT = { 
					is_child_of = ROOT
				}
			}
		}
		additive_modifier = { 
			value = 30
			localisation_key = tooltip_feudal_elector_vote_parent
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_child_of = ROOT
			}
			NOT = { 
				FROMFROM = { 
					holder_scope = { 
						character = ROOT
					}
				}
			}
		}
		additive_modifier = { #Current Ruler should tend to often pick one of his own children as potential heirs.
			value = 60
			localisation_key = tooltip_feudal_elector_vote_parent
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_child_of = ROOT
			}
			FROMFROM = { 
				holder_scope = { 
					character = ROOT
				}
			}
		}

		#Prestige 
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { prestige = -1000 } }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -1000 }
			FROM = { NOT = { prestige = -500 } }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -500 }
			FROM = { NOT = { prestige = -250 } }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -250 }
			FROM = { NOT = { prestige = 0 } }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 250 }
			FROM = { NOT = { prestige = 500 } }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 500 }
			FROM = { NOT = { prestige = 1000 } }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 1000 }
		}

		#Piety
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { piety = -500 } }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -500 }
			FROM = { NOT = { piety = -250 } }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -250 }
			FROM = { NOT = { piety = -100 } }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -100 }
			FROM = { NOT = { piety = 0 } }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 100 }
			FROM = { NOT = { piety = 250 } }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 250 }
			FROM = { NOT = { piety = 500 } }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 500 }
		}

		#Educational preferences
		additive_modifier = { # Warrior culture prefers warriors
			value = 15
			localisation_key = tooltip_feudal_elector_vote_martial_education
			this_is_warrior_culture_trigger = yes
			FROM = { 
				martial = 10
				OR = { 
					has_education_martial_trigger = yes 
					has_lifestyle_martial_trigger = yes
				} 
			}
		}
		additive_modifier = { # Diplomatic culture prefers stewards and diplomats
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diplomatic_education
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				OR = { 
					AND = { 
						diplomacy = 10
						OR = { 
							has_education_diplomacy_trigger = yes
							has_lifestyle_diplomacy_trigger = yes
						}
					}
					AND = { 
						stewardship = 10
						OR = { 
							has_education_stewardship_trigger = yes
							has_lifestyle_stewardship_trigger = yes
						}
					}
				} 
			}
		}
		additive_modifier = { # Spiritual culture prefers scholars
			value = 15
			localisation_key = tooltip_feudal_elector_vote_spiritual_education
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				learning = 10
				OR = { 
					has_education_learning_trigger = yes 
					has_lifestyle_learning_trigger = yes
				} 
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = -10
			localisation_key = tooltip_feudal_elector_vote_martial_score_negative
			this_is_warrior_culture_trigger = yes
			FROM = { 
				NOT = { martial = 5 }
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = 5
			localisation_key = tooltip_feudal_elector_vote_martial_score
			this_is_warrior_culture_trigger = yes
			FROM = { 
				martial = 10
				NOT = { martial = 15 }
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = 10
			localisation_key = tooltip_feudal_elector_vote_martial_score
			this_is_warrior_culture_trigger = yes
			FROM = { 
				martial = 15
				NOT = { martial = 20 }
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = 15
			localisation_key = tooltip_feudal_elector_vote_martial_score
			this_is_warrior_culture_trigger = yes
			FROM = { 
				martial = 20
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = -10
			localisation_key = tooltip_feudal_elector_vote_combat_rating_score_negative
			this_is_warrior_culture_trigger = yes
			FROM = { 
				NOT = { combat_rating = 25 }
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = 5
			localisation_key = tooltip_feudal_elector_vote_combat_rating_score
			this_is_warrior_culture_trigger = yes
			FROM = { 
				combat_rating = 25
				NOT = { combat_rating = 50 }
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = 10
			localisation_key = tooltip_feudal_elector_vote_combat_rating_score
			this_is_warrior_culture_trigger = yes
			FROM = { 
				combat_rating = 50
				NOT = { combat_rating = 80 }
			}
		}
		additive_modifier = { # Warrior culture prefers warriors - Elective Gavelkind also takes into consideration raw martial/combat rating.
			value = 15
			localisation_key = tooltip_feudal_elector_vote_combat_rating_score
			this_is_warrior_culture_trigger = yes
			FROM = { 
				combat_rating = 80
			}
		}

		#Claims - More emphasis on claimants for Elective Gavelkind.
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_strong_claimant
			FROM = { 
				has_claim = FROMFROM
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_weak_claimant
			FROM = { 
				has_weak_claim = FROMFROM
			}
		}


		#All the Traits
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_playful
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = playful
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_rowdy
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = rowdy
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_haughty
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = haughty
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_conscientious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = conscientious
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_curious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = curious
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_idolizer
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = idolizer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_depressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = depressed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_drunkard
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { 
				religion_group = muslim
			}
			FROM = { 
				trait = drunkard
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_drunkard_muslim
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = muslim
			FROM = { 
				trait = drunkard
			}
		}
		additive_modifier = { 	#Would mean the end of Elections
			value = -35	
			localisation_key = tooltip_feudal_elector_vote_immortal
			NOT = { character = FROM } #Do not judge yourself.	
			FROM = { 
				trait = immortal
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_incapable
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = incapable
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_incapable_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = incapable
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_infirm
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = infirm
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_infirm_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = infirm
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_lunatic
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = lunatic
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_maimed
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = maimed
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_maimed_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = maimed
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_possessed
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = zealous }
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
		}
		additive_modifier = {
			value = -60
			localisation_key = tooltip_feudal_elector_vote_possessed_vs_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_physician
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = physician
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_scarred
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_scarred_mid
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_mid
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_scarred_high
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_high
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stressed
			}
		}
		additive_modifier = { #Judge yourself on illness. You should probably not candidate yourself if you are dying.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wounded
			FROM = { 
				trait = wounded
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_aztec_disease
			FROM = { 
				trait = has_aztec_disease
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_typhus
			FROM = { 
				trait = has_typhus 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_cancer
			FROM = { 
				trait = cancer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_has_tuberculosis
			FROM = { 
				trait = has_tuberculosis
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_dancing_plague
			FROM = { 
				trait = dancing_plague 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dysentery
			FROM = { 
				trait = dysentery
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_flu
			FROM = { 
				trait = flu
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_food_poisoning
			FROM = { 
				trait = food_poisoning
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_gout
			FROM = { 
				trait = gout
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_syphilitic
			FROM = { 
				trait = syphilitic
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_typhoid_fever
			FROM = { 
				trait = has_typhoid_fever 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ill
			FROM = { 
				trait = ill
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_leper
			FROM = { 
				trait = leper
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_measles
			FROM = { 
				trait = has_measles
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_pneumonic
			FROM = { 
				trait = pneumonic
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_rabies
			FROM = { 
				trait = rabies
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_scurvy
			FROM = { 
				trait = scurvy
			}
		}
		additive_modifier = {
			value = -45
			localisation_key = tooltip_feudal_elector_vote_sickly
			FROM = { 
				trait = sickly
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_small_pox
			FROM = { 
				trait = has_small_pox
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_has_bubonic_plague
			FROM = { 
				trait = has_bubonic_plague
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_disfigured
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_disfigured_byzantine
			culture_group = byzantine
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_disfigured_warrior
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_mangled
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = mangled
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_mangled_warrior
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = mangled
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_eyed
			FROM = { 
				trait = one_eyed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_handed
			FROM = { 
				trait = one_handed
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_legged
			FROM = { 
				trait = one_legged
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_severely_injured
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = severely_injured
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_bastard
			NOT = { character = FROM } #Do not judge yourself.
			is_feudal = yes
			FROM = { 
				trait = bastard
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_born_in_the_purple
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = born_in_the_purple
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_child_of_consort
			NOT = { character = FROM } #Do not judge yourself.
			is_feudal = yes
			FROM = {
				OR = { 
					trait = legit_bastard
					trait = child_of_consort_male
					trait = child_of_consort
				}
			}
		}
		additive_modifier = { #Attraction bonus
			value = 10
			localisation_key = tooltip_feudal_elector_vote_attractive
			NOT = { character = FROM } #Do not judge yourself.
			is_adult = yes
			OR = { 
				NOT = { is_close_relative = FROM }
				religion = zoroastrian
				religion = messalian
				has_religion_feature = religion_holy_family 
				has_religion_feature = religion_feature_zun
			} 
			OR = { 
				AND = { 
					prefers_men_trigger = yes
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = no 
						is_adult = yes
						is_attractive_trigger = yes
					}
				}
				AND = { 
					prefers_men_trigger = no
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = yes 
						is_adult = yes
						is_attractive_trigger = yes
					}
				}
			}
		}
		additive_modifier = { #Ugliness bonus
			value = -10
			localisation_key = tooltip_feudal_elector_vote_ugly
			NOT = { character = FROM } #Do not judge yourself.
			is_adult = yes
			OR = { 
				NOT = { is_close_relative = FROM }
				religion = zoroastrian
				religion = messalian
				has_religion_feature = religion_holy_family 
				has_religion_feature = religion_feature_zun
			} 
			OR = { 
				AND = { 
					prefers_men_trigger = yes
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = no 
						is_adult = yes
						is_unattractive_trigger = yes
					}
				}
				AND = { 
					prefers_men_trigger = no
					NOR = { 
						trait = celibate 
						AND = { 
							is_married = yes 
							NOT = { is_married = FROM }
							trait = chaste
						}
					}
					FROM = { 
						is_female = yes 
						is_adult = yes
						is_unattractive_trigger = yes
					}
				}
			}
		}
		additive_modifier = {
			value = 20
			localisation_key = tooltip_feudal_elector_vote_genius_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_genius
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_quick_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_quick
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_strong
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = strong
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_strong_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = strong
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_clubfooted
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = clubfooted
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dwarf
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = dwarf
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_dwarf_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = dwarf
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_harelip
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = harelip
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_hunchback
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = hunchback
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_hunchback_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = hunchback
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_imbecile
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = imbecile
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_imbecile_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = imbecile
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_inbred
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = inbred
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_lisp
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = lisp
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_slow
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = slow
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_slow_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = slow
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stutter
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stutter
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_weak
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = weak
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_weak_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = weak
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_robust
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = robust
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_robust_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = robust
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_dull_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_dull
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_feeble
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = feeble
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_feeble_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = feeble
			}
		}

		#The Seven Sins/Virtues
		additive_modifier = { #Praised for being Chaste
			value = 15
			localisation_key = tooltip_feudal_elector_vote_chaste_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			NOT = { trait = lustful }
			FROM = { 
				trait = chaste
			}
		}
		additive_modifier = { #Shunned for being Chaste
			value = -15
			localisation_key = tooltip_feudal_elector_vote_chaste_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = lustful 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = chaste }
			FROM = { 
				trait = chaste
			}
		}
		additive_modifier = { #Praised for being Temperate
			value = 15
			localisation_key = tooltip_feudal_elector_vote_temperate_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
				religion = bon
				religion = bon_reformed
			}
			NOT = { trait = gluttonous }
			FROM = { 
				trait = temperate
			}
		}
		additive_modifier = { #Shunned for being Temperate
			value = -15
			localisation_key = tooltip_feudal_elector_vote_temperate_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = gluttonous
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = temperate }
			FROM = { 
				trait = temperate
			}
		}
		additive_modifier = { #Praised for being Charitable
			value = 15
			localisation_key = tooltip_feudal_elector_vote_charitable_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
			}
			NOT = { trait = greedy }
			FROM = { 
				trait = charitable
			}
		}
		additive_modifier = { #Shunned for being Charitable
			value = -15
			localisation_key = tooltip_feudal_elector_vote_charitable_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = greedy
			FROM = { 
				trait = charitable
			}
		}
		additive_modifier = { #Praised for being Diligent
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diligent_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = slothful }
			FROM = { 
				trait = diligent
			}
		}
		additive_modifier = { #Shunned for being Diligent
			value = -15
			localisation_key = tooltip_feudal_elector_vote_diligent_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = diligent
			}
		}
		additive_modifier = { #Praised for being Patient
			value = 15
			localisation_key = tooltip_feudal_elector_vote_patient_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
		}
		additive_modifier = { #Shunned for being Patient
			value = -15
			localisation_key = tooltip_feudal_elector_vote_patient_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
		}
		additive_modifier = { #Praised for being Kind
			value = 25
			localisation_key = tooltip_feudal_elector_vote_kind_positive
			NOT = { character = FROM } #Do not judge yourself.
			is_benevolent_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
		}
		additive_modifier = { #Shunned for being Kind
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kind_negative
			NOT = { character = FROM } #Do not judge yourself.
			is_evil_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
		}
		additive_modifier = { #Praised for being Humble
			value = 15
			localisation_key = tooltip_feudal_elector_vote_humble_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			NOR = { 
				trait = proud 
				trait = envious
			}
			FROM = { 
				trait = humble
			}
		}
		additive_modifier = { #Shunned for being Humble
			value = -15
			localisation_key = tooltip_feudal_elector_vote_humble_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = proud
				trait = envious
			}
			FROM = { 
				trait = humble
			}
		}
		additive_modifier = { #Praised for being Lustful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_lustful_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = lustful
				trait = hedonist
			}
			FROM = { 
				trait = lustful
			}
		}
		additive_modifier = { #Shunned for being Lustful - Male
			value = -15
			localisation_key = tooltip_feudal_elector_vote_lustful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = lustful
					trait = hedonist
				}
			}
			FROM = { 
				trait = lustful
			}
		}
		additive_modifier = { #Praised for being Gluttonous
			value = 15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = gluttonous
				trait = hedonist
			}
			FROM = { 
				trait = gluttonous
			}
		}
		additive_modifier = { #Shunned for being Gluttonous
			value = -15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = gluttonous
					trait = hedonist
				}
			}
			FROM = { 
				trait = gluttonous
			}
		}
		additive_modifier = { #Praised for being Greedy
			value = 15
			localisation_key = tooltip_feudal_elector_vote_greedy_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
				}
				trait = greedy
			}
			FROM = { 
				trait = greedy
			}
		}
		additive_modifier = { #Shunned for being Greedy
			value = -15
			localisation_key = tooltip_feudal_elector_vote_greedy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = greedy }
			}
			FROM = { 
				trait = greedy
			}
		}
		additive_modifier = { #Praised for being Slothful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_slothful_positive
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = slothful
			}
		}
		additive_modifier = { #Shunned for being Slothful
			value = -15
			localisation_key = tooltip_feudal_elector_vote_slothful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = slothful }
			}
			FROM = { 
				trait = slothful
			}
		}
		additive_modifier = { #Praised for being Wroth
			value = 15
			localisation_key = tooltip_feudal_elector_vote_wroth_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = wroth
			}
		}
		additive_modifier = { #Shunned for being Wroth
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wroth_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = wroth
			}
		}
		additive_modifier = { #Shunned for being Evil
			value = -25
			localisation_key = tooltip_feudal_elector_vote_evil_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { is_evil_trigger = yes }
			}
			FROM = { 
				is_evil_trigger = yes
			}
		}
		additive_modifier = { #Praised for being Proud
			value = 15
			localisation_key = tooltip_feudal_elector_vote_proud_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = humble
			}
			FROM = { 
				trait = proud
			}
		}
		additive_modifier = { #Shunned for being Proud
			value = -15
			localisation_key = tooltip_feudal_elector_vote_proud_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				trait = humble
				AND = { 
					is_theocracy = yes 
					NOT = { trait = proud } 
				}
			}
			FROM = { 
				trait = proud
			}
		}
		additive_modifier = { #Praised for being Ambitious
			value = 5
			localisation_key = tooltip_feudal_elector_vote_ambitious_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = content
			}
			FROM = { 
				trait = ambitious
			}
		}
		additive_modifier = { #Shunned for being Ambitious
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ambitious_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = ambitious }
			}
			FROM = { 
				trait = ambitious
			}
		}
		additive_modifier = { #Shunned for being Arbitrary
			value = -10
			localisation_key = tooltip_feudal_elector_vote_arbitrary_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = just
				trait = arbitrary #Arbitraception
			}
			FROM = { 
				trait = arbitrary
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 5
			localisation_key = tooltip_feudal_elector_vote_brave_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 10
			localisation_key = tooltip_feudal_elector_vote_brave_positive_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Shunned for being Brave
			value = -5
			localisation_key = tooltip_feudal_elector_vote_brave_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			OR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
		}
		additive_modifier = { #Praised for being Content
			value = 10
			localisation_key = tooltip_feudal_elector_vote_content_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = buddhist
				religion = jain
				religion = bon
				pacifist = yes
			}
			FROM = { 
				trait = content
			}
		}
		additive_modifier = { #Shunned for being Content
			value = -5
			localisation_key = tooltip_feudal_elector_vote_content_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				trait = content
				religion = bon
				religion = bon_reformed
			}
			FROM = { 
				trait = content
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -10
			localisation_key = tooltip_feudal_elector_vote_craven_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = craven
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -25
			localisation_key = tooltip_feudal_elector_vote_craven_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = craven
			}
		}
		additive_modifier = { #Praised for being Cynical
			value = 10
			localisation_key = tooltip_feudal_elector_vote_cynical_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			NOT = { 
				trait = zealous
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -20
			localisation_key = tooltip_feudal_elector_vote_cynical_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { has_religion_feature = religion_dogmatic }
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			OR = { 
				is_reformed_religion = yes
				NOT = { religion_group = pagan_group }
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -50
			localisation_key = tooltip_feudal_elector_vote_cynical_negative_dogmatic
			NOT = { character = FROM } #Do not judge yourself.
			has_religion_feature = religion_dogmatic
			religion = FROM
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = cynical }
			}
			FROM = { 
				trait = cynical
			}
		}
		additive_modifier = { #Shunned for being Deceitful
			value = -10
			localisation_key = tooltip_feudal_elector_vote_deceitful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				trait = honest
			}
			FROM = { 
				trait = deceitful
			}
		}
		additive_modifier = { #Praised for being Erudite
			value = 10
			localisation_key = tooltip_feudal_elector_vote_erudite_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = erudite
			}
		}
		additive_modifier = { #Praised for being Just
			value = 15
			localisation_key = tooltip_feudal_elector_vote_just_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = just
			}
		}
		additive_modifier = { #Shunned for being Paranoid
			value = -5
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
				trait = paranoid
			}
			FROM = { 
				trait = paranoid
			}
		}
		additive_modifier = { #Shunned for being Paranoid by Paranoid
			value = -15
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative_paranoid
			NOT = { character = FROM } #Do not judge yourself.
			trait = paranoid
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = paranoid
			}
		}
		additive_modifier = { #Shunned for being Shy
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = shy
			}
		}
		additive_modifier = { #Praised for being Stubborn
			value = 5
			localisation_key = tooltip_feudal_elector_vote_stubborn_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
		}
		additive_modifier = { #Shunned for being Stubborn
			value = -10
			localisation_key = tooltip_feudal_elector_vote_stubborn_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
		}
		additive_modifier = { #Praised for being Trusting
			value = 25
			localisation_key = tooltip_feudal_elector_vote_trusting_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = deceitful
				trait = schemer
				trait = ambitious
			}
			FROM = { 
				trait = trusting
			}
		}
		additive_modifier = { #Praised for being Zealous
			value = 10
			localisation_key = tooltip_feudal_elector_vote_zealous_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
		}
		additive_modifier = { #Shunned for being Zealous
			value = -20
			localisation_key = tooltip_feudal_elector_vote_zealous_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
		}
		additive_modifier = { #Praised for being Pilgrim
			value = 10
			localisation_key = tooltip_feudal_elector_vote_pilgrim_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			trait = zealous
			FROM = { 
				OR = { 
					trait = pilgrim
					trait = indian_pilgrim
					trait = hajjaj
				}
			}
		}
		additive_modifier = { #Praised for being Seaking/Sea_queen - Boosted for Elective Gavelkind
			value = 25
			localisation_key = tooltip_feudal_elector_vote_seaking_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
		}
		additive_modifier = { #Shunned for being Seaking/Sea_queen - Reduced for Elective Gavelkind
			value = -5
			localisation_key = tooltip_feudal_elector_vote_seaking_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
		}
		additive_modifier = { #Praised for being Shieldmaiden
			value = 10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -40
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative_patriarchal
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			has_religion_feature = religion_patriarchal
			FROM = { 
				trait = shieldmaiden
			}
		}
		additive_modifier = { #Praised for being a saoshyant_descendant 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_saoshyant_descendant_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = zoroastrian_group
			FROM = { 
				trait = saoshyant_descendant 
			}
		}
		additive_modifier = { #Praised for being Adventurer - Boosted for Elective Gavelkind
			value = 20
			localisation_key = tooltip_feudal_elector_vote_adventurer_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = adventurer
			}
		}
		additive_modifier = { #Shunned for being Adventurer
			value = -10
			localisation_key = tooltip_feudal_elector_vote_adventurer_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = adventurer
			}
		}
		additive_modifier = { #Praised for being Berserker - Boosted for Elective Gavelkind
			value = 10
			localisation_key = tooltip_feudal_elector_vote_berserker_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = berserker
			}
		}
		additive_modifier = { #Shunned for being Berserker
			value = -20
			localisation_key = tooltip_feudal_elector_vote_berserker_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = berserker
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -10
			localisation_key = tooltip_feudal_elector_vote_blinded_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -20
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -75
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = blinded
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -25
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -50
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -100
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -25
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous
				trait = cynical
			}
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -75
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
		}
		#Kinslayer - From stranger's perspective
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		#Kinslayer - From a far relative's perspective
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		#Kinslayer - From a close relative's perspective
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
		}
		additive_modifier = { #Shunned for loving the heathens
			value = -25
			localisation_key = tooltip_feudal_elector_vote_sympathy_heathens
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { religion_group = indian_group }
			NOT = { religion = bon }
			OR = { 
				AND = { 
					NOT = { has_dlc = "Holy Fury"}
					religion = bon_reformed
				}
				pacifist = yes
			}
			OR = { 
				trait = zealous
				has_religion_feature = religion_dogmatic
			}
			OR = { 
				trait = zealous
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				OR = { 
					trait = sympathy_christendom
					trait = sympathy_islam
					trait = sympathy_judaism
					trait = sympathy_zoroastrianism
					trait = sympathy_pagans
					trait = sympathy_indian
				}
			}
		}
		additive_modifier = { #Praised for being Giant
			value = 10
			localisation_key = tooltip_feudal_elector_vote_giant_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = giant
			}
		}
		additive_modifier = { #Shunned for being Giant
			value = -10
			localisation_key = tooltip_feudal_elector_vote_giant_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = giant
			}
		}
		additive_modifier = { #Shunned for being Lefthanded
			value = -10
			localisation_key = tooltip_feudal_elector_vote_lefthanded_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
			}
			FROM = { 
				trait = lefthanded
			}
		}
		additive_modifier = { #Shunned for being out of shape - Boosted for Elective Gavelkind
			value = -15
			localisation_key = tooltip_feudal_elector_vote_shape_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				OR = { 
					trait = is_fat
					trait = is_malnourished
				}
			}
		}
		additive_modifier = { #Praised for being baptized by Bishop
			value = 5
			localisation_key = tooltip_feudal_elector_vote_baptized_by_bishop
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			FROM = { 
				trait = baptized_by_bishop
			}
		}
		additive_modifier = { #Praised for being baptized by Pope
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_pope
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = catholic 
				religion = fraticelli
			} 
			religion = FROM
			FROM = { 
				trait = baptized_by_pope
			}
		}
		additive_modifier = { #Praised for being baptized by Patriarch
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_patriarch
			NOT = { character = FROM } #Do not judge yourself.
			religion = orthodox
			religion = FROM
			FROM = { 
				trait = baptized_by_patriarch
			}
		}
		additive_modifier = { #Shunned for being of opposite pagan branch.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_pagan_branch_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM #Will care only if of same religion.
			OR = { 
				AND = { 
					trait = pagan_branch_1 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_2 	
					FROM = { 
						OR = { 
							trait = pagan_branch_1
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_3 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_1
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_4 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_1
						}
					}
				}
			}
		}
		additive_modifier = { #Shunned for being unproved courtier in the shadow of the ruler. - Boosted for Elective Gavelkind
			value = -20
			localisation_key = tooltip_feudal_elector_vote_spoiled_courtier
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				NOR = { 
					is_ruler = yes
					has_job_title = job_marshal
					has_job_title = job_chancellor
					has_job_title = job_treasurer
					has_job_title = job_spiritual
					has_job_title = job_spymaster
				}
				OR = { 
					trait = decadent
					trait = slothful
					trait = hedonist
					trait = is_fat
					trait = shy
				}
			}
		}

		##########################   Ruler's traits   ##########################
		#Ruler is lunatic, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_lunatic
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
				trait = zealous #Might be the gods speaking
			}
			FROMFROM = { 
				holder_scope = {
					trait = lunatic
				} 
			}
		}
		#Ruler is possessed, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_possessed
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			trait = zealous
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					trait = possessed
				} 
			}
		}

		#Ruler is just, trust his pick
		additive_modifier = {
			value = 25
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_just
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't like it
			}
			FROMFROM = { 
				holder_scope = {
					trait = just
				} 
			}
		}
		#Ruler is a Tyrant (Opinion), vote against his pick
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_tyrant
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					ROOT = {
						has_opinion_modifier = {
							modifier = opinion_tyrant
							who = PREV
						} 
					} 
				} 
			}
		}


		##########################   Raw Opinion bonus towards Candidate   ##########################
		additive_modifier = {
			value = -150
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			is_rival = FROM
		}
		additive_modifier = {
			value = -100
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -75 
				}
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -50  
				}
			}
			opinion = {
				who = FROM
				value = -75 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -25
				}
			}
			opinion = {
				who = FROM
				value = -50
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = 0
				}
			}
			opinion = {
				who = FROM
				value = -25 
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 0
			}
			NOT = {
				opinion = {
					who = FROM
					value = 25
				}
			}
		}
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 25
			}
			NOT = {
				opinion = {
					who = FROM
					value = 50
				}
			}
		}
		additive_modifier = {
			value = 50
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 50
			}
			NOT = {
				opinion = {
					who = FROM
					value = 75 
				}
			}
		}
		additive_modifier = {
			value = 70
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 75
			}
		}


		##########################   Raw Opinion bonus towards Ruler   ##########################
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -30
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -75 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -20
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -50 } 
					} 
					reverse_opinion = { who = ROOT value = -75 } 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = -25 } 
					} 
					reverse_opinion = { who = ROOT value = -50 } 
				} 
			}
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -5
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					NOT = { 
						reverse_opinion = { who = ROOT value = 0 } 
					} 
					reverse_opinion = { who = ROOT value = -25 } 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 10
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 0 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 25 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 20
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 25 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 50 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 40
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 50 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 75 } 
					} 
				} 
			}
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 60
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { character = ROOT } #Of course you trust your own opinion of your candidate...
					reverse_opinion = { who = ROOT value = 75 } 
				} 
			}
		}
	}
	
	#ROOT = Current Title holder, FROM = Candidate, FROMFROM = Title, FROMFROMFROM = Null
	candidate_trigger = {
		NOT = { character = FROM } #Not the current ruler.
		FROM = { 
			NOR = { 
				trait = crusader_king 
				trait = crusader_queen
			} 
		} 
		FROM = { #Either the candidate is in the realm, or is landless, or the title is independent, or the realm of the title does NOT have protected inheritance.
			OR = { 
				any_liege = { 
					character = ROOT
				} 
				is_ruler = no
				ROOT_FROMFROM = { holder_scope = { independent = yes } }
				NOR = { 
					ROOT_FROMFROM = { has_law = out_of_realm_inheritance_law_1 } 
					ROOT_FROMFROM = { has_law = crown_authority_3 } 
					ROOT_FROMFROM = { has_law = crown_authority_4 } 
				} 
			} 
		}
		dynasty = FROM
		FROM = {
			OR = { #Candidate should not be a landless Courtier that is about to inherit a Theocracy or Republic
				AND = {
					is_ruler = yes
					is_landed = yes
					is_republic = no
					is_merchant_republic = no
					is_theocracy = no
				}
				NOR = {
					any_heir_title = {
						is_republic = yes
					}
					any_heir_title = {
						is_merchant_republic = yes
					}
					any_heir_title = {
						is_theocracy = yes
					}
				}
			}
			OR = { #If the title controls the religion, candidates must be of the same religion.
				ROOT = { 
					NOT = { 
						controls_religion = yes
					}
				}
				religion = ROOT
			}
			NOR = {
				trait = cat
				trait = disinherited
				trait = horse
				trait = eunuch
				trait = bastard
				is_ascetic_trigger = yes
				is_theocracy = yes
				is_republic = yes
				is_merchant_republic = yes
			}
		}
	}
}

	#####################################################################################################################################################
	#####################################################################################################################################################
	#####################################################################################################################################################


	#Eldership

eldership_rules = {
	elector_stances = {
		elder_ruler = {
			icon = 2
			days = 1
			additive_modifier = {
				value = 500
				localisation_key = tooltip_eldership_stance_ruler_is_ruler
				FROMFROM = { 
					holder_scope = { 
						character = ROOT
					}
				}
			}
		}
		elder_ecstatic = {
			icon = 2
			days = 1
			additive_modifier = {
				value = 1
				trait = content
				localisation_key = tooltip_eldership_stance_elder_content
			}
			additive_modifier = {
				value = 2
				localisation_key = tooltip_eldership_stance_elder_councilor
				OR = { 
				 	has_job_title = job_chancellor
				 	has_job_title = job_treasurer
				 	has_job_title = job_spiritual
				}
				FROMFROM = { 
					holder_scope = { 
						is_liege_of = ROOT
					}
				}
			}
			additive_modifier = {
				value = 10
				localisation_key = tooltip_eldership_stance_elder_ecstatic_opinion
				FROMFROM = { 
					holder_scope = { 
						OR = { 
							reverse_opinion = { who = ROOT value = 60 } 
							is_friend = ROOT
							is_lover = ROOT
						} 
					} 
				}
			}
			additive_modifier = {
				value = 5
				localisation_key = tooltip_eldership_stance_elder_ecstatic_fulfilled_demand
				FROMFROM = { 
					holder_scope = { 
						reverse_opinion = { who = ROOT value = 25 } 
						reverse_has_opinion_modifier = { who = ROOT modifier = opinion_elder_fulfilled_demand }
					}
				}
			}
		}
		elder_pleased = {
			icon = 3
			days = 2
			additive_modifier = {
				value = 2
				localisation_key = tooltip_eldership_stance_elder_councilor
				OR = { 
				 	has_job_title = job_chancellor
				 	has_job_title = job_treasurer
				 	has_job_title = job_spiritual
				}
				FROMFROM = { 
					holder_scope = { 
						is_liege_of = ROOT
					}
				}
			}
			additive_modifier = {
				value = 4
				localisation_key = tooltip_eldership_stance_elder_pleased_opinion
				FROMFROM = { 
					holder_scope = { 
						reverse_opinion = { who = ROOT value = 0 } 
						NOR = { 
							reverse_opinion = { who = ROOT value = 60 }
							is_rival = ROOT
						} 
					} 
				}
			}
			additive_modifier = {
				value = 2
				localisation_key = tooltip_eldership_stance_elder_stubborn_opinion
				trait = stubborn
			}
			additive_modifier = {
				value = 4
				localisation_key = tooltip_eldership_stance_elder_ecstatic_fulfilled_demand
				FROMFROM = { 
					holder_scope = { 
						NOT = { reverse_opinion = { who = ROOT value = 0 } } 
						reverse_has_opinion_modifier = { who = ROOT modifier = opinion_elder_fulfilled_demand }
					}
				}
			}
		}
		elder_displeased = {
			icon = 1
			days = 1
			additive_modifier = {
				value = 5
				localisation_key = tooltip_eldership_stance_elder_stubborn_opinion
				trait = stubborn
			}
			additive_modifier = {
				value = 4
				localisation_key = tooltip_eldership_stance_elder_negative_opinion
				FROMFROM = { 
					holder_scope = { 
						OR = { 
							is_rival = ROOT
							NOR = { 
								reverse_opinion = { who = ROOT value = 0 }
								is_friend = ROOT
								is_lover = ROOT
							} 
						} 
					} 
				}
			}
		}
	}

	elector_vote_strength = {
		days = 1
	}
	
	elector_selection = {
		days = -5
		max_amount = 7
		additive_modifier = { #Ruler is also always an Elector.
			value = 200
			FROMFROM = { holder_scope = { character = ROOT } }
		}
		additive_modifier = {
			value = 4
			has_job_title = job_spiritual
			FROMFROM = { holder_scope = { is_liege_of = ROOT } }
		}
		additive_modifier = {
			value = 6
			is_vassal_or_below_of = FROMFROM
			liege = { character = ROOT }
			has_character_modifier = elder_long_life_modifier #Favor former Elders who are still in your court or your direct vassals.
			NOT = { age = 40 }
		}
		additive_modifier = {
			value = 16
			is_vassal_or_below_of = FROMFROM
			liege = { character = ROOT }
			has_character_modifier = elder_long_life_modifier #Favor former Elders who are still in your court or your direct vassals, and who are old even more.
			age = 40
		}
		additive_modifier = {
			value = 4
			is_vassal_or_below_of = FROMFROM
			NOT = { liege = { character = ROOT } }
			has_character_modifier = elder_long_life_modifier #Favor former Elders.
			NOT = { age = 40 }
		}
		additive_modifier = {
			value = 6
			is_vassal_or_below_of = FROMFROM
			NOT = { liege = { character = ROOT } }
			has_character_modifier = elder_long_life_modifier #Favor former Elders who are old even more.
			age = 40
		}
		additive_modifier = {
			value = 20
			is_vassal_or_below_of = FROMFROM
			age = 70
		}
		additive_modifier = {
			value = 15
			is_vassal_or_below_of = FROMFROM
			NOT = { age = 70 }
			age = 60
		}
		additive_modifier = {
			value = 10
			is_vassal_or_below_of = FROMFROM
			NOT = { age = 60 }
			age = 50
		}
		additive_modifier = {
			value = 8
			is_vassal_or_below_of = FROMFROM
			NOT = { age = 50 }
			age = 40
		}
		additive_modifier = {
			value = 7
			is_vassal_or_below_of = FROMFROM
			NOT = { age = 40 }
			age = 35
		}
		additive_modifier = {
			value = 6
			is_vassal_or_below_of = FROMFROM
			NOT = { age = 35 }
			age = 30
		}
		additive_modifier = {
			value = -8
			is_vassal_or_below_of = FROMFROM
			NOT = { age = 27 }
		}
		additive_modifier = {
			value = 9
			is_vassal_or_below_of = FROMFROM
			learning = 18
			age = 35
		}
		additive_modifier = {
			value = 8
			is_vassal_or_below_of = FROMFROM
			NOT = { learning = 18 }
			learning = 16
			age = 35
		}
		additive_modifier = {
			value = 7
			is_vassal_or_below_of = FROMFROM
			NOT = { learning = 16 }
			learning = 14
			age = 35
		}
		additive_modifier = {
			value = 6
			is_vassal_or_below_of = FROMFROM
			NOT = { learning = 14 }
			learning = 12
			age = 35
		}
		additive_modifier = {
			value = 8
			vassal_of = FROMFROM
			age = 37
			FROMFROM = { holder_scope = { culture = ROOT } }
			FROMFROM = { holder_scope = { religion = ROOT } }
			OR = { 
				has_job_title = job_chancellor
				has_job_title = job_spiritual
			}
		}
		additive_modifier = {
			value = -5
			NOT = { FROMFROM = { holder_scope = { culture = ROOT } } }
		}
		additive_modifier = {
			value = -3
			NOT = { FROMFROM = { holder_scope = { has_religion_feature = religion_cosmopolitan } } }
			NOT = { FROMFROM = { holder_scope = { religion = ROOT } } }
			FROMFROM = { holder_scope = { religion_group = ROOT } }
		}
		additive_modifier = {
			value = -10
			NOT = { FROMFROM = { holder_scope = { culture_group = ROOT } } }
		}
		additive_modifier = {
			value = -5
			NOT = { FROMFROM = { holder_scope = { has_religion_feature = religion_cosmopolitan } } }
			NOT = { FROMFROM = { holder_scope = { religion_group = ROOT } } }
		}
		additive_modifier = {
			value = 4
			is_vassal_or_below_of = FROMFROM
			is_ruler = no
		}
		additive_modifier = {
			value = -100
			is_vassal_or_below_of = FROMFROM
			trait = incapable
		}
		additive_modifier = { #Try to avoid having long-lived rulers seeing their children become "Elders".
			value = -25
			NOT = { age = 50 }
			FROMFROM = { holder_scope = { is_parent_of = ROOT } }
		}
		additive_modifier = { #Try to avoid having young Elders when older options are available.
			value = -15
			NOT = { age = 45 }
			FROMFROM = { 
				holder_scope = { 
					any_courtier_or_vassal = { 
						age = 45
						NOT = { has_character_modifier = elder_long_life_modifier }
					}
				} 
			}
		}
	}
	candidate_vote_score = {
		days = 0
		##########################   Title Holder logic for voting   ##########################
		#The title holder (who also gets a vote), calculates his chosen heir using a very similar behavior to that of the Elective Gavelkind Electors.
		#Elder AI behavior on the other hand uses an entirely different set of modifiers.

		##########################   Candidate's traits   ##########################

		#Sexism
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_agnatic_woman
			FROMFROM = {
				has_law = cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_enatic_man
			FROMFROM = {
				has_law = enatic_cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_patriarchal
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}

		additive_modifier = { #Gender weights
			value = -50
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_0
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Gender weights
			value = -40
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_1
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Gender weights
			value = -20
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_2
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Gender weights
			value = -10
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_3
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_patriarchal
			has_religion_feature = religion_patriarchal
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_matriarchal
			OR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
			}
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}

		#NO Ageism - The ruler will not care, as long as they are its children.

		#Culturism - Eldership is a tribalistic succession, therefore malus/bonus on cultural bias are increased.
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_fellow_culture
			NOT = { character = FROM }
			culture = FROM
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { 
			value = -25
			localisation_key = tooltip_feudal_elector_vote_stranger
			NOT = { culture = FROM }
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { 
			value = -40
			localisation_key = tooltip_feudal_elector_vote_foreigner
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture_group = FROM }
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}

		#Faithism - Eldership is more about choosing a good Dynastic member, so faith bias is slightly reduced.
		additive_modifier = { #Infidel
			value = -10
			localisation_key = tooltip_feudal_elector_vote_infidel
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { 
				religion_group = ROOT
				NOT = { religion = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Heathen
			value = -25
			localisation_key = tooltip_feudal_elector_vote_heathen
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			NOR = { 
				AND = {  
					trait = sympathy_christendom
					FROM = { religion_group = christian } 
				} 
				AND = {  
					trait = sympathy_islam
					FROM = { religion_group = muslim } 
				} 
				AND = {  
					trait = sympathy_pagans
					FROM = { religion_group = pagan_group } 
				} 
				AND = {  
					trait = sympathy_zoroastrianism
					FROM = { religion_group = zoroastrian_group } 
				} 
				AND = {  
					trait = sympathy_judaism
					FROM = { religion_group = jewish_group } 
				} 
				AND = {  
					trait = sympathy_indian
					FROM = { religion_group = indian_group } 
				} 
			}
			FROM = { 
				NOT = { religion_group = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Heretic
			value = -30
			localisation_key = tooltip_feudal_elector_vote_heretic
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { is_heresy_of = ROOT }
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Dogmatics will hardly ever pick an infidel.
			value = -50
			localisation_key = tooltip_feudal_elector_vote_heathen_dogmatic
			has_religion_feature = religion_dogmatic
			FROM = { NOT = { religion = ROOT } }
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}

		#Barbarism - Tribal succession, that is the point.
	#	additive_modifier = { 
	#		value = -15
	#		localisation_key = tooltip_feudal_elector_vote_uncivilized
	#		OR = { 
	#			is_feudal = yes 
	#			is_merchant_republic = yes
	#			is_patrician = yes
	#		}
	#		FROM = { 
	#			NOR = { 
	#				is_feudal = yes 
	#				is_merchant_republic = yes
	#				is_patrician = yes
	#			} 
	#		}
	#	}
		#Tribalism

		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_tribalism
			is_tribal = yes
			FROM = {
				OR = {
					AND = { 
						is_ruler = yes
						is_tribal = no
					}
					AND = { 
						is_ruler = no
						liege = { is_tribal = no }
					}
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_settled
			is_nomadic = yes
			FROM = { 
				is_nomadic = no
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}

		#Nepotism
		additive_modifier = { #All characters are relatives, although some might not be of the same dynasty as the Elector.
			value = 10
			localisation_key = tooltip_feudal_elector_vote_dynasty
			NOT = { 
				character = FROM
			}
			FROM = { 
				dynasty = ROOT
				NOT = { 
					is_close_relative = ROOT
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { 
			value = 20
			localisation_key = tooltip_feudal_elector_vote_relative
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_close_relative = ROOT
				NOT = { 
					is_child_of = ROOT
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Current Ruler should tend to often pick one of his own children as potential heirs.
			value = 60
			localisation_key = tooltip_feudal_elector_vote_parent
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_child_of = ROOT
			}
			FROMFROM = { 
				holder_scope = { 
					character = ROOT
				}
			}
		}

		#Prestige - Neglegible. Will usually pick his own children.

		#Piety - Neglegible. Will usually pick his own children.
		#Educational preferences
		additive_modifier = { # Parent prefers child with his same interests
			value = 15
			localisation_key = tooltip_feudal_elector_vote_martial_education
			OR = { 
				has_education_martial_trigger = yes 
				has_lifestyle_martial_trigger = yes
			} 
			FROM = { 
				martial = 10
				OR = { 
					has_education_martial_trigger = yes 
					has_lifestyle_martial_trigger = yes
				} 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { # Parent prefers child with his same interests
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diplomatic_education
			OR = { 
				has_education_diplomacy_trigger = yes
				has_lifestyle_diplomacy_trigger = yes
				has_education_stewardship_trigger = yes
				has_lifestyle_stewardship_trigger = yes
			}
			FROM = { 
				OR = { 
					AND = { 
						diplomacy = 10
						OR = { 
							has_education_diplomacy_trigger = yes
							has_lifestyle_diplomacy_trigger = yes
						}
					}
					AND = { 
						stewardship = 10
						OR = { 
							has_education_stewardship_trigger = yes
							has_lifestyle_stewardship_trigger = yes
						}
					}
				} 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { # Parent prefers child with his same interests
			value = 15
			localisation_key = tooltip_feudal_elector_vote_spiritual_education
			OR = { 
				has_education_learning_trigger = yes 
				has_lifestyle_learning_trigger = yes
			}
			FROM = { 
				learning = 10
				OR = { 
					has_education_learning_trigger = yes 
					has_lifestyle_learning_trigger = yes
				} 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { # Eldership favors Stewardship
			value = -10
			localisation_key = tooltip_feudal_elector_vote_martial_score_negative
			FROM = { 
				NOT = { stewardship = 5 }
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {  # Eldership favors Stewardship
			value = 5
			localisation_key = tooltip_feudal_elector_vote_martial_score
			FROM = { 
				stewardship = 10
				NOT = { stewardship = 15 }
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { # Eldership favors Stewardship
			value = 10
			localisation_key = tooltip_feudal_elector_vote_martial_score
			FROM = { 
				stewardship = 15
				NOT = { stewardship = 20 }
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { # Eldership favors Stewardship
			value = 15
			localisation_key = tooltip_feudal_elector_vote_martial_score
			FROM = { 
				stewardship = 20
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}

		#Claims - The title holder does not care, he wants his children to be the heirs.

		#All the Traits
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_playful
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = playful
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_rowdy
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = rowdy
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_haughty
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = haughty
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_conscientious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = conscientious
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_curious
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = curious
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_idolizer
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = idolizer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_depressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = depressed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_drunkard
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { 
				religion_group = muslim
			}
			FROM = { 
				trait = drunkard
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_drunkard_muslim
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = muslim
			FROM = { 
				trait = drunkard
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { 	#Would mean the end of Elections
			value = -35	
			localisation_key = tooltip_feudal_elector_vote_immortal
			NOT = { character = FROM } #Do not judge yourself.	
			FROM = { 
				trait = immortal
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_incapable
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = incapable
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_incapable_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = incapable
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_infirm
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = infirm
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_infirm_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = infirm
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_lunatic
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = lunatic
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_maimed
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = maimed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_maimed_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = maimed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_possessed
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = zealous }
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -60
			localisation_key = tooltip_feudal_elector_vote_possessed_vs_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_physician
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = physician
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_scarred
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_scarred_mid
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_mid
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_scarred_high
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_high
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stressed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Judge yourself on illness. You should probably not candidate yourself if you are dying.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wounded
			FROM = { 
				trait = wounded
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_aztec_disease
			FROM = { 
				trait = has_aztec_disease
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_typhus
			FROM = { 
				trait = has_typhus 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_cancer
			FROM = { 
				trait = cancer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_has_tuberculosis
			FROM = { 
				trait = has_tuberculosis
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_dancing_plague
			FROM = { 
				trait = dancing_plague 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dysentery
			FROM = { 
				trait = dysentery
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_flu
			FROM = { 
				trait = flu
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_food_poisoning
			FROM = { 
				trait = food_poisoning
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_gout
			FROM = { 
				trait = gout
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_syphilitic
			FROM = { 
				trait = syphilitic
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_typhoid_fever
			FROM = { 
				trait = has_typhoid_fever 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ill
			FROM = { 
				trait = ill
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_leper
			FROM = { 
				trait = leper
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_measles
			FROM = { 
				trait = has_measles
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_pneumonic
			FROM = { 
				trait = pneumonic
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_rabies
			FROM = { 
				trait = rabies
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_scurvy
			FROM = { 
				trait = scurvy
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -45
			localisation_key = tooltip_feudal_elector_vote_sickly
			FROM = { 
				trait = sickly
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_small_pox
			FROM = { 
				trait = has_small_pox
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_has_bubonic_plague
			FROM = { 
				trait = has_bubonic_plague
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_disfigured
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_disfigured_byzantine
			culture_group = byzantine
			FROM = { 
				trait = disfigured
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_disfigured_warrior
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_mangled
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = mangled
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_mangled_warrior
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = mangled
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_eyed
			FROM = { 
				trait = one_eyed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_handed
			FROM = { 
				trait = one_handed
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_legged
			FROM = { 
				trait = one_legged
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_severely_injured
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = severely_injured
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 20
			localisation_key = tooltip_feudal_elector_vote_genius_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_genius
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_quick_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_quick
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_strong
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = strong
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_strong_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = strong
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_clubfooted
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = clubfooted
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dwarf
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = dwarf
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_dwarf_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = dwarf
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_harelip
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = harelip
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_hunchback
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = hunchback
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_hunchback_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = hunchback
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_imbecile
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = imbecile
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_imbecile_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = imbecile
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_inbred
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = inbred
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_lisp
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = lisp
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_slow
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = slow
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_slow_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = slow
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stutter
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stutter
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_weak
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = weak
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_weak_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = weak
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_robust
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = robust
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_robust_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = robust
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_dull_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_dull
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_feeble
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = feeble
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_feeble_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = feeble
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}

		#The Seven Sins/Virtues
		additive_modifier = { #Praised for being Chaste
			value = 15
			localisation_key = tooltip_feudal_elector_vote_chaste_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			NOT = { trait = lustful }
			FROM = { 
				trait = chaste
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Chaste
			value = -15
			localisation_key = tooltip_feudal_elector_vote_chaste_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = lustful 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = chaste }
			FROM = { 
				trait = chaste
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Temperate
			value = 15
			localisation_key = tooltip_feudal_elector_vote_temperate_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
				religion = bon
				religion = bon_reformed
			}
			NOT = { trait = gluttonous }
			FROM = { 
				trait = temperate
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Temperate
			value = -15
			localisation_key = tooltip_feudal_elector_vote_temperate_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = gluttonous
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = temperate }
			FROM = { 
				trait = temperate
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Charitable
			value = 15
			localisation_key = tooltip_feudal_elector_vote_charitable_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
			}
			NOT = { trait = greedy }
			FROM = { 
				trait = charitable
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Charitable
			value = -15
			localisation_key = tooltip_feudal_elector_vote_charitable_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = greedy
			FROM = { 
				trait = charitable
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Diligent
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diligent_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = slothful }
			FROM = { 
				trait = diligent
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Diligent
			value = -15
			localisation_key = tooltip_feudal_elector_vote_diligent_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = diligent
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Patient
			value = 15
			localisation_key = tooltip_feudal_elector_vote_patient_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Patient
			value = -15
			localisation_key = tooltip_feudal_elector_vote_patient_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Kind
			value = 25
			localisation_key = tooltip_feudal_elector_vote_kind_positive
			NOT = { character = FROM } #Do not judge yourself.
			is_benevolent_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Kind
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kind_negative
			NOT = { character = FROM } #Do not judge yourself.
			is_evil_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Humble
			value = 15
			localisation_key = tooltip_feudal_elector_vote_humble_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			NOR = { 
				trait = proud 
				trait = envious
			}
			FROM = { 
				trait = humble
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Humble
			value = -15
			localisation_key = tooltip_feudal_elector_vote_humble_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = proud
				trait = envious
			}
			FROM = { 
				trait = humble
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Lustful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_lustful_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = lustful
				trait = hedonist
			}
			FROM = { 
				trait = lustful
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Lustful - Male
			value = -15
			localisation_key = tooltip_feudal_elector_vote_lustful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = lustful
					trait = hedonist
				}
			}
			FROM = { 
				trait = lustful
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Gluttonous
			value = 15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = gluttonous
				trait = hedonist
			}
			FROM = { 
				trait = gluttonous
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Gluttonous
			value = -15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = gluttonous
					trait = hedonist
				}
			}
			FROM = { 
				trait = gluttonous
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Greedy
			value = 15
			localisation_key = tooltip_feudal_elector_vote_greedy_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
				}
				trait = greedy
			}
			FROM = { 
				trait = greedy
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Greedy
			value = -15
			localisation_key = tooltip_feudal_elector_vote_greedy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = greedy }
			}
			FROM = { 
				trait = greedy
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Slothful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_slothful_positive
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = slothful
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Slothful
			value = -15
			localisation_key = tooltip_feudal_elector_vote_slothful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = slothful }
			}
			FROM = { 
				trait = slothful
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Wroth
			value = 15
			localisation_key = tooltip_feudal_elector_vote_wroth_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = wroth
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Wroth
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wroth_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = wroth
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Evil
			value = -25
			localisation_key = tooltip_feudal_elector_vote_evil_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { is_evil_trigger = yes }
			}
			FROM = { 
				is_evil_trigger = yes
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Proud
			value = 15
			localisation_key = tooltip_feudal_elector_vote_proud_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = humble
			}
			FROM = { 
				trait = proud
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Proud
			value = -15
			localisation_key = tooltip_feudal_elector_vote_proud_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				trait = humble
				AND = { 
					is_theocracy = yes 
					NOT = { trait = proud } 
				}
			}
			FROM = { 
				trait = proud
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Ambitious
			value = 5
			localisation_key = tooltip_feudal_elector_vote_ambitious_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = content
			}
			FROM = { 
				trait = ambitious
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Ambitious
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ambitious_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = ambitious }
			}
			FROM = { 
				trait = ambitious
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Arbitrary
			value = -10
			localisation_key = tooltip_feudal_elector_vote_arbitrary_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = just
				trait = arbitrary #Arbitraception
			}
			FROM = { 
				trait = arbitrary
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 5
			localisation_key = tooltip_feudal_elector_vote_brave_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Brave
			value = 10
			localisation_key = tooltip_feudal_elector_vote_brave_positive_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Brave
			value = -5
			localisation_key = tooltip_feudal_elector_vote_brave_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			OR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Content
			value = 10
			localisation_key = tooltip_feudal_elector_vote_content_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = buddhist
				religion = jain
				religion = bon
				pacifist = yes
			}
			FROM = { 
				trait = content
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Content
			value = -5
			localisation_key = tooltip_feudal_elector_vote_content_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				trait = content
				religion = bon
				religion = bon_reformed
			}
			FROM = { 
				trait = content
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -10
			localisation_key = tooltip_feudal_elector_vote_craven_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = craven
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Craven
			value = -25
			localisation_key = tooltip_feudal_elector_vote_craven_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = craven
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Cynical
			value = 10
			localisation_key = tooltip_feudal_elector_vote_cynical_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			NOT = { 
				trait = zealous
			}
			FROM = { 
				trait = cynical
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -20
			localisation_key = tooltip_feudal_elector_vote_cynical_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { has_religion_feature = religion_dogmatic }
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			OR = { 
				is_reformed_religion = yes
				NOT = { religion_group = pagan_group }
			}
			FROM = { 
				trait = cynical
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Cynical
			value = -50
			localisation_key = tooltip_feudal_elector_vote_cynical_negative_dogmatic
			NOT = { character = FROM } #Do not judge yourself.
			has_religion_feature = religion_dogmatic
			religion = FROM
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = cynical }
			}
			FROM = { 
				trait = cynical
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Deceitful
			value = -10
			localisation_key = tooltip_feudal_elector_vote_deceitful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				trait = honest
			}
			FROM = { 
				trait = deceitful
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Erudite
			value = 10
			localisation_key = tooltip_feudal_elector_vote_erudite_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = erudite
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Just
			value = 15
			localisation_key = tooltip_feudal_elector_vote_just_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = just
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Paranoid
			value = -5
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
				trait = paranoid
			}
			FROM = { 
				trait = paranoid
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Paranoid by Paranoid
			value = -15
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative_paranoid
			NOT = { character = FROM } #Do not judge yourself.
			trait = paranoid
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = paranoid
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Shy
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = shy
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Stubborn
			value = 5
			localisation_key = tooltip_feudal_elector_vote_stubborn_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Stubborn
			value = -10
			localisation_key = tooltip_feudal_elector_vote_stubborn_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Trusting
			value = 25
			localisation_key = tooltip_feudal_elector_vote_trusting_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = deceitful
				trait = schemer
				trait = ambitious
			}
			FROM = { 
				trait = trusting
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Zealous
			value = 10
			localisation_key = tooltip_feudal_elector_vote_zealous_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Zealous
			value = -20
			localisation_key = tooltip_feudal_elector_vote_zealous_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Pilgrim
			value = 10
			localisation_key = tooltip_feudal_elector_vote_pilgrim_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			trait = zealous
			FROM = { 
				OR = { 
					trait = pilgrim
					trait = indian_pilgrim
					trait = hajjaj
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Seaking/Sea_queen - Boosted for Eldership
			value = 25
			localisation_key = tooltip_feudal_elector_vote_seaking_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Seaking/Sea_queen - Reduced for Eldership
			value = -5
			localisation_key = tooltip_feudal_elector_vote_seaking_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Shieldmaiden
			value = 10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -40
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative_patriarchal
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			has_religion_feature = religion_patriarchal
			FROM = { 
				trait = shieldmaiden
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being a saoshyant_descendant 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_saoshyant_descendant_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = zoroastrian_group
			FROM = { 
				trait = saoshyant_descendant 
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Adventurer 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_adventurer_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = adventurer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Adventurer
			value = -10
			localisation_key = tooltip_feudal_elector_vote_adventurer_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = adventurer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Berserker
			value = 5
			localisation_key = tooltip_feudal_elector_vote_berserker_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = berserker
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Berserker
			value = -20
			localisation_key = tooltip_feudal_elector_vote_berserker_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = berserker
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -10
			localisation_key = tooltip_feudal_elector_vote_blinded_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -20
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being blind
			value = -75
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = blinded
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -25
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -50
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being eunuch
			value = -100
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -25
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous
				trait = cynical
			}
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -75
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		#Kinslayer - From stranger's perspective
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		#Kinslayer - From a far relative's perspective
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		#Kinslayer - From a close relative's perspective
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for loving the heathens
			value = -25
			localisation_key = tooltip_feudal_elector_vote_sympathy_heathens
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { religion_group = indian_group }
			NOT = { religion = bon }
			OR = { 
				AND = { 
					NOT = { has_dlc = "Holy Fury"}
					religion = bon_reformed
				}
				pacifist = yes
			}
			OR = { 
				trait = zealous
				has_religion_feature = religion_dogmatic
			}
			OR = { 
				trait = zealous
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				OR = { 
					trait = sympathy_christendom
					trait = sympathy_islam
					trait = sympathy_judaism
					trait = sympathy_zoroastrianism
					trait = sympathy_pagans
					trait = sympathy_indian
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being Giant
			value = 10
			localisation_key = tooltip_feudal_elector_vote_giant_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = giant
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Giant
			value = -10
			localisation_key = tooltip_feudal_elector_vote_giant_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = giant
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Lefthanded
			value = -10
			localisation_key = tooltip_feudal_elector_vote_lefthanded_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
			}
			FROM = { 
				trait = lefthanded
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being out of shape - Boosted for Eldership
			value = -15
			localisation_key = tooltip_feudal_elector_vote_shape_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				OR = { 
					trait = is_fat
					trait = is_malnourished
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being baptized by Bishop
			value = 5
			localisation_key = tooltip_feudal_elector_vote_baptized_by_bishop
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			FROM = { 
				trait = baptized_by_bishop
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being baptized by Pope
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_pope
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = catholic 
				religion = fraticelli
			} 
			religion = FROM
			FROM = { 
				trait = baptized_by_pope
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Praised for being baptized by Patriarch
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_patriarch
			NOT = { character = FROM } #Do not judge yourself.
			religion = orthodox
			religion = FROM
			FROM = { 
				trait = baptized_by_patriarch
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being of opposite pagan branch.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_pagan_branch_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM #Will care only if of same religion.
			OR = { 
				AND = { 
					trait = pagan_branch_1 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_2 	
					FROM = { 
						OR = { 
							trait = pagan_branch_1
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_3 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_1
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_4 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_1
						}
					}
				}
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		##########################   Raw Opinion bonus towards Candidate   ##########################
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			is_rival = FROM
		}
		additive_modifier = {
			value = -40
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -75 
				}
			}
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -50  
				}
			}
			opinion = {
				who = FROM
				value = -75 
			}
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -25
				}
			}
			opinion = {
				who = FROM
				value = -50
			}
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = 0
				}
			}
			opinion = {
				who = FROM
				value = -25 
			}
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 0
			}
			NOT = {
				opinion = {
					who = FROM
					value = 25
				}
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 25
			}
			NOT = {
				opinion = {
					who = FROM
					value = 50
				}
			}
		}
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 50
			}
			NOT = {
				opinion = {
					who = FROM
					value = 75 
				}
			}
		}
		additive_modifier = {
			value = 40
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 75
			}
		}

		##########################   Elder is Ecstatic + Title holder has selected a Candidate   ##########################
		additive_modifier = {
			value = 200
			localisation_key = tooltip_elder_elector_vote_ecstatic_candidate
			has_elector_stance = { stance = elder_ecstatic title = FROMFROM }
			FROMFROMFROM = { 
				character = ROOT_FROM 
			}
		}
		additive_modifier = {
			value = 60
			localisation_key = tooltip_elder_elector_vote_ecstatic_candidate_bad
			has_elector_stance = { stance = elder_ecstatic title = FROMFROM }
			FROMFROMFROM = { 
				character = ROOT_FROM 
			}
			OR = { 
				is_rival = FROM 
				FROM = { trait = inbred }
				FROM = { trait = imbecile }
				FROM = { trait = incapable }
			}
		}
		##########################   Elder is Pleased (OR Ecstatic but title holder has NOT selected a Candidate)   ##########################

		##########################   Candidate's traits   ##########################

		##########################   Elector voting himself - Less likely for Elders   ##########################
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_myself
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			NOT = { 
				FROMFROM = { 
					holder_scope = { 
						is_parent_of = ROOT
					} 
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_not_myself
			character = FROM
			NOT = { trait = ambitious }
			OR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_myself_heir
			character = FROM
			NOR = {
				trait = humble
				trait = content
				trait = craven
				trait = slothful
				trait = stressed
				trait = depressed
				trait = ambitious
			}
			FROMFROM = { 
				holder_scope = { 
					is_parent_of = ROOT
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_myself_ambitious
			character = FROM
			trait = ambitious
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Elders voting other elders.
		additive_modifier = {
			value = -25
			localisation_key = tooltip_elder_elector_vote_pleased_elder_candidate
			FROM = { 
				has_character_modifier = elder_long_life_modifier
			}
			FROM = {
				NOT = {
					character = ROOT #Don't judge yourself.
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}


		#Sexism
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_agnatic_woman
			FROMFROM = {
				has_law = cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Gender weights
			value = -30
			localisation_key = tooltip_feudal_elector_vote_enatic_man
			FROMFROM = {
				has_law = enatic_cognatic_succession
			}
			NOR = {
				has_religion_feature = religion_patriarchal
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Gender weights
			value = -50
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_0
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Gender weights
			value = -40
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_1
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Gender weights
			value = -20
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_2
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Gender weights
			value = -10
			localisation_key = tooltip_feudal_elector_vote_sow
			FROMFROM = {
				has_law = status_of_women_3
			}
			NOR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_equal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = equal
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
				has_religion_feature = religion_feature_bon
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_patriarchal
			has_religion_feature = religion_patriarchal
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Gender weights
			value = -75
			localisation_key = tooltip_feudal_elector_vote_matriarchal
			OR = {
				has_religion_feature = religion_matriarchal
				AND = {	# MOD
					has_game_rule = {
						name = flavor_events
						value = enatic
					}
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
				}
			}
			NOT = {
				has_game_rule = {
					name = gender
					value = all
				}
			}
			FROM = {
				is_female = no
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Ageism - Boosted for Elders, they will always prefer more experienced leaders.
		additive_modifier = { 
			value = -70
			localisation_key = tooltip_feudal_elector_vote_baby
			FROM = {
				NOT = {
					age = 5
				}
			}
		}
		additive_modifier = { 
			value = -50
			localisation_key = tooltip_feudal_elector_vote_child
			FROM = {
				age = 5
				NOT = {
					age = 10
				}
			}
		}
		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_child
			FROM = {
				age = 10
				NOT = {
					age = 16
				}
			}
		}
		additive_modifier = { #Still too young for older rulers
			value = -15
			localisation_key = tooltip_feudal_elector_vote_youngster
			age = 30
			FROM = {
				age = 16
				NOT = {
					age = 25
				}
			}
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_youngster
			age = 40
			FROM = {
				age = 25
				NOT = {
					age = 35
				}
			}
		}

		#Culturism - Eldership is a tribalistic succession, therefore malus/bonus on cultural bias are increased.
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_fellow_culture
			NOT = { character = FROM }
			culture = FROM
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -25
			localisation_key = tooltip_feudal_elector_vote_stranger
			NOT = { culture = FROM }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -40
			localisation_key = tooltip_feudal_elector_vote_foreigner
			FROMFROM = { holder_scope = { culture = ROOT } } #Only a concern if Elector and current ruler share culture.
			NOT = { culture_group = FROM }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Faithism - Eldership is more about choosing a good Dynastic member, so faith bias is slightly reduced.
		additive_modifier = { #Infidel
			value = -10
			localisation_key = tooltip_feudal_elector_vote_infidel
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { 
				religion_group = ROOT
				NOT = { religion = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Heathen
			value = -25
			localisation_key = tooltip_feudal_elector_vote_heathen
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			NOR = { 
				AND = {  
					trait = sympathy_christendom
					FROM = { religion_group = christian } 
				} 
				AND = {  
					trait = sympathy_islam
					FROM = { religion_group = muslim } 
				} 
				AND = {  
					trait = sympathy_pagans
					FROM = { religion_group = pagan_group } 
				} 
				AND = {  
					trait = sympathy_zoroastrianism
					FROM = { religion_group = zoroastrian_group } 
				} 
				AND = {  
					trait = sympathy_judaism
					FROM = { religion_group = jewish_group } 
				} 
				AND = {  
					trait = sympathy_indian
					FROM = { religion_group = indian_group } 
				} 
			}
			FROM = { 
				NOT = { religion_group = ROOT } 
				NOT = { is_heresy_of = ROOT } 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Heretic
			value = -30
			localisation_key = tooltip_feudal_elector_vote_heretic
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { has_religion_feature = religion_dogmatic }
			NOT = { religion_group = indian_group }
			FROM = { is_heresy_of = ROOT }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Dogmatics will hardly ever pick an infidel.
			value = -50
			localisation_key = tooltip_feudal_elector_vote_heathen_dogmatic
			has_religion_feature = religion_dogmatic
			FROM = { NOT = { religion = ROOT } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Barbarism - Tribal succession, that is the point.
	#	additive_modifier = { 
	#		value = -15
	#		localisation_key = tooltip_feudal_elector_vote_uncivilized
	#		OR = { 
	#			is_feudal = yes 
	#			is_merchant_republic = yes
	#			is_patrician = yes
	#		}
	#		FROM = { 
	#			NOR = { 
	#				is_feudal = yes 
	#				is_merchant_republic = yes
	#				is_patrician = yes
	#			} 
	#		}
	#	}
		#Tribalism

		additive_modifier = { 
			value = -30
			localisation_key = tooltip_feudal_elector_vote_tribalism
			is_tribal = yes
			FROM = {
				OR = {
					AND = { 
						is_ruler = yes
						is_tribal = no
					}
					AND = { 
						is_ruler = no
						liege = { is_tribal = no }
					}
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		#Nepotism
		additive_modifier = { #All characters are relatives, although some might not be of the same dynasty as the Elector.
			value = 10
			localisation_key = tooltip_feudal_elector_vote_dynasty
			NOT = { 
				character = FROM
			}
			FROM = { 
				dynasty = ROOT
				NOT = { 
					is_close_relative = ROOT
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = 20
			localisation_key = tooltip_feudal_elector_vote_relative
			NOT = { 
				character = FROM
			}
			FROM = { 
				is_close_relative = ROOT
				NOT = { 
					is_child_of = ROOT
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		#Prestige
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { prestige = -1000 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -1000 }
			FROM = { NOT = { prestige = -500 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -500 }
			FROM = { NOT = { prestige = -250 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_prestige_negative
			NOT = { 
				character = FROM
			}
			FROM = { prestige = -250 }
			FROM = { NOT = { prestige = 0 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 250 }
			FROM = { NOT = { prestige = 500 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 500 }
			FROM = { NOT = { prestige = 1000 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_prestige_positive
			NOT = { 
				character = FROM
			}
			FROM = { prestige = 1000 }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Piety
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { NOT = { piety = -500 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -500 }
			FROM = { NOT = { piety = -250 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -10
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -250 }
			FROM = { NOT = { piety = -100 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = -5
			localisation_key = tooltip_feudal_elector_vote_piety_negative
			NOT = { 
				character = FROM
			}
			FROM = { piety = -100 }
			FROM = { NOT = { piety = 0 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = 5
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 100 }
			FROM = { NOT = { piety = 250 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 250 }
			FROM = { NOT = { piety = 500 } }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_feudal_elector_vote_piety_positive
			NOT = { 
				character = FROM
			}
			FROM = { piety = 500 }
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Educational preferences
		additive_modifier = { # Elder prefers child with his same interests
			value = 10
			localisation_key = tooltip_feudal_elector_vote_martial_education
			OR = { 
				has_education_martial_trigger = yes 
				has_lifestyle_martial_trigger = yes
			} 
			FROM = { 
				martial = 10
				OR = { 
					has_education_martial_trigger = yes 
					has_lifestyle_martial_trigger = yes
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { # Elder prefers child with his same interests
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diplomatic_education
			OR = { 
				has_education_diplomacy_trigger = yes
				has_lifestyle_diplomacy_trigger = yes
				has_education_stewardship_trigger = yes
				has_lifestyle_stewardship_trigger = yes
			}
			FROM = { 
				OR = { 
					AND = { 
						diplomacy = 10
						OR = { 
							has_education_diplomacy_trigger = yes
							has_lifestyle_diplomacy_trigger = yes
						}
					}
					AND = { 
						stewardship = 10
						OR = { 
							has_education_stewardship_trigger = yes
							has_lifestyle_stewardship_trigger = yes
						}
					}
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { # Elder prefers child with his same interests
			value = 10
			localisation_key = tooltip_feudal_elector_vote_spiritual_education
			OR = { 
				has_education_learning_trigger = yes 
				has_lifestyle_learning_trigger = yes
			}
			FROM = { 
				learning = 10
				OR = { 
					has_education_learning_trigger = yes 
					has_lifestyle_learning_trigger = yes
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { # Eldership favors Stewardship
			value = -10
			localisation_key = tooltip_feudal_elector_vote_martial_score_negative
			FROM = { 
				NOT = { stewardship = 5 }
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { # Eldership favors Stewardship
			value = 5
			localisation_key = tooltip_feudal_elector_vote_martial_score
			FROM = { 
				stewardship = 10
				NOT = { stewardship = 15 }
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { # Eldership favors Stewardship
			value = 10
			localisation_key = tooltip_feudal_elector_vote_martial_score
			FROM = { 
				stewardship = 15
				NOT = { stewardship = 20 }
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { # Eldership favors Stewardship
			value = 15
			localisation_key = tooltip_feudal_elector_vote_martial_score
			FROM = { 
				stewardship = 20
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Claims - More emphasis on claimants for Elective Gavelkind.
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_strong_claimant
			FROM = { 
				has_claim = FROMFROM
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_weak_claimant
			FROM = { 
				has_weak_claim = FROMFROM
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#All the Traits
		#Child traits removed, the Elder will not think of children as good candidates to begin with.

		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_depressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = depressed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_drunkard
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { 
				religion_group = muslim
			}
			FROM = { 
				trait = drunkard
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_drunkard_muslim
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = muslim
			FROM = { 
				trait = drunkard
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { 	#Would mean the end of Elections
			value = -50
			localisation_key = tooltip_feudal_elector_vote_immortal
			NOT = { character = FROM } #Do not judge yourself.	
			FROM = { 
				trait = immortal
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_incapable
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = incapable
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_incapable_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = incapable
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_infirm
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = infirm
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_infirm_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = infirm
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_lunatic
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = lunatic
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_maimed
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = maimed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_maimed_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = maimed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_possessed
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = zealous }
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -60
			localisation_key = tooltip_feudal_elector_vote_possessed_vs_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			NOR = { 
				is_tribal = yes
				is_nomadic = yes
			}
			FROM = { 
				trait = possessed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_physician
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = physician
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_scarred
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_scarred_mid
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_mid
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 15
			localisation_key = tooltip_feudal_elector_vote_scarred_high
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = scarred_high
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stressed
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stressed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Judge yourself on illness. You should probably not candidate yourself if you are dying.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wounded
			FROM = { 
				trait = wounded
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_aztec_disease
			FROM = { 
				trait = has_aztec_disease
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_typhus
			FROM = { 
				trait = has_typhus 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_cancer
			FROM = { 
				trait = cancer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_has_tuberculosis
			FROM = { 
				trait = has_tuberculosis
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_dancing_plague
			FROM = { 
				trait = dancing_plague 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dysentery
			FROM = { 
				trait = dysentery
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_flu
			FROM = { 
				trait = flu
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_food_poisoning
			FROM = { 
				trait = food_poisoning
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_gout
			FROM = { 
				trait = gout
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_syphilitic
			FROM = { 
				trait = syphilitic
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_typhoid_fever
			FROM = { 
				trait = has_typhoid_fever 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ill
			FROM = { 
				trait = ill
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_leper
			FROM = { 
				trait = leper
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_has_measles
			FROM = { 
				trait = has_measles
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_pneumonic
			FROM = { 
				trait = pneumonic
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_rabies
			FROM = { 
				trait = rabies
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_scurvy
			FROM = { 
				trait = scurvy
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -45
			localisation_key = tooltip_feudal_elector_vote_sickly
			FROM = { 
				trait = sickly
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_has_small_pox
			FROM = { 
				trait = has_small_pox
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -35
			localisation_key = tooltip_feudal_elector_vote_has_bubonic_plague
			FROM = { 
				trait = has_bubonic_plague
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_disfigured
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_disfigured_byzantine
			culture_group = byzantine
			FROM = { 
				trait = disfigured
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_disfigured_warrior
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = disfigured
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_mangled
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = mangled
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_mangled_warrior
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = mangled
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_eyed
			FROM = { 
				trait = one_eyed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_handed
			FROM = { 
				trait = one_handed
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_one_legged
			FROM = { 
				trait = one_legged
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_severely_injured
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = severely_injured
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 20
			localisation_key = tooltip_feudal_elector_vote_genius_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_genius
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = genius
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_quick_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_quick
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = quick
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_strong
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = strong
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_strong_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = strong
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_clubfooted
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = clubfooted
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_dwarf
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = dwarf
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_dwarf_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = dwarf
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_harelip
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = harelip
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_hunchback
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = hunchback
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_hunchback_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = hunchback
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_imbecile
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = imbecile
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -20
			localisation_key = tooltip_feudal_elector_vote_imbecile_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = imbecile
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_inbred
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = inbred
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_lisp
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = lisp
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_slow
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = no
			FROM = { 
				trait = slow
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_slow_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			this_is_diplomatic_culture_trigger = yes
			FROM = { 
				trait = slow
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_stutter
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = stutter
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_weak
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = weak
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_weak_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = weak
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 5
			localisation_key = tooltip_feudal_elector_vote_robust
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = robust
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 10
			localisation_key = tooltip_feudal_elector_vote_robust_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = robust
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_dull_diplomat
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_dull
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = dull
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -5
			localisation_key = tooltip_feudal_elector_vote_feeble
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = feeble
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_feeble_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = feeble
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#The Seven Sins/Virtues
		additive_modifier = { #Praised for being Chaste
			value = 15
			localisation_key = tooltip_feudal_elector_vote_chaste_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			NOT = { trait = lustful }
			FROM = { 
				trait = chaste
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Chaste
			value = -15
			localisation_key = tooltip_feudal_elector_vote_chaste_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = lustful 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = chaste }
			FROM = { 
				trait = chaste
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Temperate
			value = 15
			localisation_key = tooltip_feudal_elector_vote_temperate_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
				religion = bon
				religion = bon_reformed
			}
			NOT = { trait = gluttonous }
			FROM = { 
				trait = temperate
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Temperate
			value = -15
			localisation_key = tooltip_feudal_elector_vote_temperate_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = gluttonous
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
			}
			NOT = { trait = temperate }
			FROM = { 
				trait = temperate
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Charitable
			value = 15
			localisation_key = tooltip_feudal_elector_vote_charitable_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian 
				religion_group = muslim
			}
			NOT = { trait = greedy }
			FROM = { 
				trait = charitable
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Charitable
			value = -15
			localisation_key = tooltip_feudal_elector_vote_charitable_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = greedy
			FROM = { 
				trait = charitable
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Diligent
			value = 15
			localisation_key = tooltip_feudal_elector_vote_diligent_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { trait = slothful }
			FROM = { 
				trait = diligent
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Diligent
			value = -15
			localisation_key = tooltip_feudal_elector_vote_diligent_negative
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = diligent
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Patient
			value = 15
			localisation_key = tooltip_feudal_elector_vote_patient_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Patient
			value = -15
			localisation_key = tooltip_feudal_elector_vote_patient_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = wroth
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = patient
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Kind
			value = 25
			localisation_key = tooltip_feudal_elector_vote_kind_positive
			NOT = { character = FROM } #Do not judge yourself.
			is_benevolent_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Kind
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kind_negative
			NOT = { character = FROM } #Do not judge yourself.
			is_evil_trigger = yes
			FROM = { 
				is_benevolent_trigger = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Humble
			value = 15
			localisation_key = tooltip_feudal_elector_vote_humble_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			NOR = { 
				trait = proud 
				trait = envious
			}
			FROM = { 
				trait = humble
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Humble
			value = -15
			localisation_key = tooltip_feudal_elector_vote_humble_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = proud
				trait = envious
			}
			FROM = { 
				trait = humble
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Lustful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_lustful_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = lustful
				trait = hedonist
			}
			FROM = { 
				trait = lustful
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Lustful - Male
			value = -15
			localisation_key = tooltip_feudal_elector_vote_lustful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = lustful
					trait = hedonist
				}
			}
			FROM = { 
				trait = lustful
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Gluttonous
			value = 15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
					NOT = { religion = hellenic_pagan }
					NOT = { religion = hellenic_pagan_reformed }
				}
				trait = gluttonous
				trait = hedonist
			}
			FROM = { 
				trait = gluttonous
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Gluttonous
			value = -15
			localisation_key = tooltip_feudal_elector_vote_gluttonous_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOR = { 
					trait = gluttonous
					trait = hedonist
				}
			}
			FROM = { 
				trait = gluttonous
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Greedy
			value = 15
			localisation_key = tooltip_feudal_elector_vote_greedy_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				AND = { 
					religion_group = pagan_group
					NOT = { religion = bon }
					NOT = { religion = bon_reformed }
				}
				trait = greedy
			}
			FROM = { 
				trait = greedy
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Greedy
			value = -15
			localisation_key = tooltip_feudal_elector_vote_greedy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = greedy }
			}
			FROM = { 
				trait = greedy
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Slothful
			value = 15
			localisation_key = tooltip_feudal_elector_vote_slothful_positive
			NOT = { character = FROM } #Do not judge yourself.
			trait = slothful
			FROM = { 
				trait = slothful
			}
			FROMFROM = { 
				holder_scope = { character = ROOT } 
			}
		}
		additive_modifier = { #Shunned for being Slothful
			value = -15
			localisation_key = tooltip_feudal_elector_vote_slothful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = slothful }
			}
			FROM = { 
				trait = slothful
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Wroth
			value = 15
			localisation_key = tooltip_feudal_elector_vote_wroth_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = wroth
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Wroth
			value = -15
			localisation_key = tooltip_feudal_elector_vote_wroth_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = wroth
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Evil
			value = -25
			localisation_key = tooltip_feudal_elector_vote_evil_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { is_evil_trigger = yes }
			}
			FROM = { 
				is_evil_trigger = yes
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Proud
			value = 15
			localisation_key = tooltip_feudal_elector_vote_proud_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = humble
			}
			FROM = { 
				trait = proud
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Proud
			value = -15
			localisation_key = tooltip_feudal_elector_vote_proud_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = indian_group
				religion_group = jewish_group
			}
			OR = { 
				trait = arbitrary #No need for consistency
				trait = humble
				AND = { 
					is_theocracy = yes 
					NOT = { trait = proud } 
				}
			}
			FROM = { 
				trait = proud
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Ambitious
			value = 5
			localisation_key = tooltip_feudal_elector_vote_ambitious_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				religion = bon
				religion = bon_reformed
				trait = content
			}
			FROM = { 
				trait = ambitious
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Ambitious
			value = -5
			localisation_key = tooltip_feudal_elector_vote_ambitious_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
				religion_group = jewish_group
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = ambitious }
			}
			FROM = { 
				trait = ambitious
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Arbitrary
			value = -10
			localisation_key = tooltip_feudal_elector_vote_arbitrary_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = just
				trait = arbitrary #Arbitraception
			}
			FROM = { 
				trait = arbitrary
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Brave
			value = 5
			localisation_key = tooltip_feudal_elector_vote_brave_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Brave
			value = 10
			localisation_key = tooltip_feudal_elector_vote_brave_positive_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Brave
			value = -5
			localisation_key = tooltip_feudal_elector_vote_brave_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			OR = { 
				trait = envious
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = brave
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Content
			value = 10
			localisation_key = tooltip_feudal_elector_vote_content_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = buddhist
				religion = jain
				religion = bon
				pacifist = yes
			}
			FROM = { 
				trait = content
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Content
			value = -5
			localisation_key = tooltip_feudal_elector_vote_content_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = pagan_group
			NOR = { 
				trait = content
				religion = bon
				religion = bon_reformed
			}
			FROM = { 
				trait = content
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Craven
			value = -10
			localisation_key = tooltip_feudal_elector_vote_craven_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = craven
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Craven
			value = -25
			localisation_key = tooltip_feudal_elector_vote_craven_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = craven
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Cynical
			value = 10
			localisation_key = tooltip_feudal_elector_vote_cynical_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			NOT = { 
				trait = zealous
			}
			FROM = { 
				trait = cynical
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Cynical
			value = -20
			localisation_key = tooltip_feudal_elector_vote_cynical_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { has_religion_feature = religion_dogmatic }
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				religion = hellenic_pagan
				trait = cynical
			}
			OR = { 
				is_reformed_religion = yes
				NOT = { religion_group = pagan_group }
			}
			FROM = { 
				trait = cynical
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Cynical
			value = -50
			localisation_key = tooltip_feudal_elector_vote_cynical_negative_dogmatic
			NOT = { character = FROM } #Do not judge yourself.
			has_religion_feature = religion_dogmatic
			religion = FROM
			OR = { 
				trait = arbitrary #No need for consistency
				NOT = { trait = cynical }
			}
			FROM = { 
				trait = cynical
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Deceitful
			value = -10
			localisation_key = tooltip_feudal_elector_vote_deceitful_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = arbitrary #No need for consistency
				trait = honest
			}
			FROM = { 
				trait = deceitful
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Erudite
			value = 10
			localisation_key = tooltip_feudal_elector_vote_erudite_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_spiritual_culture_trigger = yes
			}
			FROM = { 
				trait = erudite
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Just
			value = 15
			localisation_key = tooltip_feudal_elector_vote_just_positive
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = just
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Paranoid
			value = -5
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = deceitful
				trait = arbitrary
				trait = paranoid
			}
			FROM = { 
				trait = paranoid
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Paranoid by Paranoid
			value = -15
			localisation_key = tooltip_feudal_elector_vote_paranoid_negative_paranoid
			NOT = { character = FROM } #Do not judge yourself.
			trait = paranoid
			NOR = { 
				trait = deceitful
				trait = arbitrary
			}
			FROM = { 
				trait = paranoid
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Shy
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shy_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_diplomatic_culture_trigger = yes
				this_is_warrior_culture_trigger = yes
			}
			FROM = { 
				trait = shy
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Stubborn
			value = 5
			localisation_key = tooltip_feudal_elector_vote_stubborn_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Stubborn
			value = -10
			localisation_key = tooltip_feudal_elector_vote_stubborn_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_spiritual_culture_trigger = yes
			FROM = { 
				trait = stubborn
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Trusting
			value = 25
			localisation_key = tooltip_feudal_elector_vote_trusting_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				trait = deceitful
				trait = schemer
				trait = ambitious
			}
			FROM = { 
				trait = trusting
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Zealous
			value = 10
			localisation_key = tooltip_feudal_elector_vote_zealous_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Zealous
			value = -20
			localisation_key = tooltip_feudal_elector_vote_zealous_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			OR = { 
				has_religion_feature = religion_cosmopolitan
				pacifist = yes
				trait = cynical
			}
			FROM = { 
				trait = zealous
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Pilgrim
			value = 10
			localisation_key = tooltip_feudal_elector_vote_pilgrim_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			trait = zealous
			FROM = { 
				OR = { 
					trait = pilgrim
					trait = indian_pilgrim
					trait = hajjaj
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Seaking/Sea_queen - Boosted for Eldership
			value = 25
			localisation_key = tooltip_feudal_elector_vote_seaking_positive
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Seaking/Sea_queen - Reduced for Eldership
			value = -5
			localisation_key = tooltip_feudal_elector_vote_seaking_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				this_is_warrior_culture_trigger = yes
				has_religion_feature = religion_seafaring
			}
			FROM = { 
				OR = { 
					trait = seaking
					trait = sea_queen
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Shieldmaiden
			value = 10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -10
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { has_religion_feature = religion_patriarchal }
			FROM = { 
				trait = shieldmaiden
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Shieldmaiden
			value = -40
			localisation_key = tooltip_feudal_elector_vote_shieldmaiden_negative_patriarchal
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			has_religion_feature = religion_patriarchal
			FROM = { 
				trait = shieldmaiden
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being a saoshyant_descendant 
			value = 10
			localisation_key = tooltip_feudal_elector_vote_saoshyant_descendant_positive
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = zoroastrian_group
			FROM = { 
				trait = saoshyant_descendant 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Adventurer - Boosted for Elective Gavelkind
			value = 20
			localisation_key = tooltip_feudal_elector_vote_adventurer_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = adventurer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Adventurer
			value = -10
			localisation_key = tooltip_feudal_elector_vote_adventurer_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = adventurer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Berserker - Boosted for Elective Gavelkind
			value = 10
			localisation_key = tooltip_feudal_elector_vote_berserker_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = berserker
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Berserker
			value = -20
			localisation_key = tooltip_feudal_elector_vote_berserker_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = berserker
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being blind
			value = -10
			localisation_key = tooltip_feudal_elector_vote_blinded_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being blind
			value = -20
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOT = { 
				culture_group = byzantine
			}
			FROM = { 
				trait = blinded
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being blind
			value = -75
			localisation_key = tooltip_feudal_elector_vote_blinded_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			culture_group = byzantine
			FROM = { 
				trait = blinded
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being eunuch
			value = -25
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being eunuch
			value = -50
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_warrior
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			NOR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being eunuch
			value = -100
			localisation_key = tooltip_feudal_elector_vote_eunuch_negative_byzantine
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				culture_group = byzantine
				religion_group = muslim
			}
			FROM = { 
				trait = eunuch
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -25
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative
			NOT = { character = FROM } #Do not judge yourself.
			NOR = { 
				trait = zealous
				trait = cynical
			}
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being excommunicated
			value = -75
			localisation_key = tooltip_feudal_elector_vote_excommunicated_negative_zealous
			NOT = { character = FROM } #Do not judge yourself.
			trait = zealous
			OR = { 
				NOT = { trait = excommunicated }
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				excommunicated_for = ROOT
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		#Kinslayer - From stranger's perspective - Elders are for family values, all Kinslayer maluses are boosted.
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -40
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_stranger
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { dynasty = FROM }
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		#Kinslayer - From a far relative's perspective
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -40
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			NOT = { is_close_relative = FROM }
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		#Kinslayer - From a close relative's perspective
		additive_modifier = {
			value = -40
			localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = dynastic_kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = familial_kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -60
			localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
			NOT = { character = FROM } #Do not judge yourself.
			is_close_relative = FROM 
			dynasty = FROM
			OR = { 
				NOR = { 
					trait = dynastic_kinslayer 
					trait = familial_kinslayer
					trait = kinslayer
				}
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				trait = kinslayer
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for loving the heathens
			value = -25
			localisation_key = tooltip_feudal_elector_vote_sympathy_heathens
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM
			NOT = { has_religion_feature = religion_cosmopolitan }
			NOT = { religion_group = indian_group }
			NOT = { religion = bon }
			OR = { 
				AND = { 
					NOT = { has_dlc = "Holy Fury"}
					religion = bon_reformed
				}
				pacifist = yes
			}
			OR = { 
				trait = zealous
				has_religion_feature = religion_dogmatic
			}
			OR = { 
				trait = zealous
				trait = arbitrary #No need for consistency
			}
			FROM = { 
				OR = { 
					trait = sympathy_christendom
					trait = sympathy_islam
					trait = sympathy_judaism
					trait = sympathy_zoroastrianism
					trait = sympathy_pagans
					trait = sympathy_indian
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being Giant
			value = 10
			localisation_key = tooltip_feudal_elector_vote_giant_positive
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				trait = giant
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Giant
			value = -10
			localisation_key = tooltip_feudal_elector_vote_giant_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = no
			FROM = { 
				trait = giant
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being Lefthanded
			value = -10
			localisation_key = tooltip_feudal_elector_vote_lefthanded_negative
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion_group = christian
				religion_group = muslim
			}
			FROM = { 
				trait = lefthanded
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being out of shape - Boosted for Eldership
			value = -15
			localisation_key = tooltip_feudal_elector_vote_shape_negative
			NOT = { character = FROM } #Do not judge yourself.
			this_is_warrior_culture_trigger = yes
			FROM = { 
				OR = { 
					trait = is_fat
					trait = is_malnourished
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being baptized by Bishop
			value = 5
			localisation_key = tooltip_feudal_elector_vote_baptized_by_bishop
			NOT = { character = FROM } #Do not judge yourself.
			religion_group = christian
			FROM = { 
				trait = baptized_by_bishop
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being baptized by Pope
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_pope
			NOT = { character = FROM } #Do not judge yourself.
			OR = { 
				religion = catholic 
				religion = fraticelli
			} 
			religion = FROM
			FROM = { 
				trait = baptized_by_pope
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Praised for being baptized by Patriarch
			value = 10
			localisation_key = tooltip_feudal_elector_vote_baptized_by_patriarch
			NOT = { character = FROM } #Do not judge yourself.
			religion = orthodox
			religion = FROM
			FROM = { 
				trait = baptized_by_patriarch
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Shunned for being of opposite pagan branch.
			value = -15
			localisation_key = tooltip_feudal_elector_vote_pagan_branch_negative
			NOT = { character = FROM } #Do not judge yourself.
			religion = FROM #Will care only if of same religion.
			OR = { 
				AND = { 
					trait = pagan_branch_1 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_2 	
					FROM = { 
						OR = { 
							trait = pagan_branch_1
							trait = pagan_branch_3
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_3 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_1
							trait = pagan_branch_4
						}
					}
				}
				AND = { 
					trait = pagan_branch_4 	
					FROM = { 
						OR = { 
							trait = pagan_branch_2
							trait = pagan_branch_3
							trait = pagan_branch_1
						}
					}
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		##########################   Ruler's traits   ##########################
		#Ruler is lunatic, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_lunatic
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
				trait = zealous #Might be the gods speaking
			}
			FROMFROM = { 
				holder_scope = {
					trait = lunatic
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		#Ruler is possessed, vote against his pick
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_possessed
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			trait = zealous
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					trait = possessed
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		#Ruler is just, trust his pick
		additive_modifier = {
			value = 25
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_just
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't like it
			}
			FROMFROM = { 
				holder_scope = {
					trait = just
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		#Ruler is a Tyrant (Opinion), vote against his pick
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_tyrant
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			NOR = {
				trait = lunatic #Don't care
				trait = possessed #Don't care
				trait = arbitrary #Don't care
			}
			FROMFROM = { 
				holder_scope = {
					ROOT = {
						has_opinion_modifier = {
							modifier = opinion_tyrant
							who = PREV
						} 
					} 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		##########################   Raw Opinion bonus towards Candidate - Boosted for Eldership   ##########################
		additive_modifier = {
			value = -50
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			is_rival = FROM
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -30
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -75 
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -25
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -50  
				}
			}
			opinion = {
				who = FROM
				value = -75 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -15
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = -25
				}
			}
			opinion = {
				who = FROM
				value = -50
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = -10
			localisation_key = tooltip_feudal_elector_vote_opinion_negative
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			NOT = {
				opinion = {
					who = FROM
					value = 0
				}
			}
			opinion = {
				who = FROM
				value = -25 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 30
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 0
			}
			NOT = {
				opinion = {
					who = FROM
					value = 25
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 50
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 25
			}
			NOT = {
				opinion = {
					who = FROM
					value = 50
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 70
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 50
			}
			NOT = {
				opinion = {
					who = FROM
					value = 75 
				}
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = {
			value = 120
			localisation_key = tooltip_feudal_elector_vote_opinion_positive
			NOT = { character = FROM } #But not if it's me.
			NOT = { is_rival = FROM } #Special case
			opinion = {
				who = FROM
				value = 75
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		##########################   Raw Opinion bonus towards Ruler - Boosted for Eldership   ##########################
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -35
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { 
						reverse_opinion = { who = ROOT value = -75 } 
					} 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -25
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { 
						reverse_opinion = { who = ROOT value = -50 } 
					} 
					reverse_opinion = { who = ROOT value = -75 } 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -15
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { 
						reverse_opinion = { who = ROOT value = -25 } 
					} 
					reverse_opinion = { who = ROOT value = -50 } 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Vassal hates ruler, therefore votes against the ruler's candidate (FROMFROMFROM)
			value = -10
			localisation_key = tooltip_feudal_elector_anti_vote_ruler_opinion_negative
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					NOT = { 
						reverse_opinion = { who = ROOT value = 0 } 
					} 
					reverse_opinion = { who = ROOT value = -25 } 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 20
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					reverse_opinion = { who = ROOT value = 0 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 25 } 
					} 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 35
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					reverse_opinion = { who = ROOT value = 25 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 50 } 
					} 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 45
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					reverse_opinion = { who = ROOT value = 50 } 
					NOT = { 
						reverse_opinion = { who = ROOT value = 75 } 
					} 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}
		additive_modifier = { #Vassal loves ruler, therefore votes for the ruler's candidate (FROMFROMFROM)
			value = 65
			localisation_key = tooltip_feudal_elector_pro_vote_ruler_opinion_positive
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
			FROMFROM = { 
				holder_scope = {
					reverse_opinion = { who = ROOT value = 75 } 
				} 
			}
			has_elector_stance = { stance = elder_pleased title = FROMFROM }
		}

		##########################   Elder is Displeased   ##########################
		additive_modifier = { #If Displeased, the Elder will not be likely to pick the ruler's candidate on purpose.
			value = -1000
			localisation_key = tooltip_elder_elector_vote_displeased_ruler_candidate
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			FROM = { character = ROOT_FROMFROMFROM }
			NOT = { character = FROM } #But not if it's me.
		}

		#Displeased Elders will consider poor candidates to spite the ruler.
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_elder_elector_vote_displeased_incapable
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { trait = incapable }
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_elder_elector_vote_displeased_elder
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				has_character_modifier = elder_long_life_modifier
			}
		}
		additive_modifier = { 
			value = 30
			localisation_key = tooltip_elder_elector_vote_displeased_friend
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					is_lover = yes
					is_friend = yes
				}
			}
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_elder_elector_vote_displeased_bad_face
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					trait = ugly
					trait = disfigured
					trait = harelip
					trait = lisp
				}
			}
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_elder_elector_vote_displeased_deformed
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					trait = dwarf
					trait = mangled
					trait = hunchback
					trait = inbred
				}
			}
		}
		additive_modifier = { 
			value = 20
			localisation_key = tooltip_elder_elector_vote_displeased_idiot
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					trait = imbecile
					trait = slow
					trait = infirm
					trait = dull
					trait = inbred
				}
			}
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_elder_elector_vote_displeased_cautious
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					trait = craven
					trait = shy
					trait = paranoid
					trait = content
				}
			}
		}
		additive_modifier = { 
			value = 20
			localisation_key = tooltip_elder_elector_vote_displeased_endearing
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					trait = drunkard
					trait = arbitrary
					trait = slothful
					trait = gluttonous
				}
			}
		}
		additive_modifier = { 
			value = 10
			localisation_key = tooltip_elder_elector_vote_displeased_celibate
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				trait = celibate
				NOT = { 
					num_of_children = 1
				}
			}
		}

		additive_modifier = { 
			value = 15
			localisation_key = tooltip_elder_elector_vote_displeased_low_martial
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				is_adult = yes
				NOT = { 
					martial = 6
				}
			}
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_elder_elector_vote_displeased_low_diplomacy
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				is_adult = yes
				NOT = { 
					diplomacy = 6
				}
			}
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_elder_elector_vote_displeased_low_stewardship
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				is_adult = yes
				NOT = { 
					stewardship = 6
				}
			}
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_elder_elector_vote_displeased_low_intrigue
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				is_adult = yes
				NOT = { 
					intrigue = 6
				}
			}
		}
		additive_modifier = { 
			value = 15
			localisation_key = tooltip_elder_elector_vote_displeased_low_learning
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				is_adult = yes
				NOT = { 
					learning = 6
				}
			}
		}
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_elder_elector_vote_displeased_reckless
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					trait = brave
					trait = strong
					trait = robust
					trait = ambitious
					trait = zealous
				}
			}
		}
		additive_modifier = { 
			value = -20
			localisation_key = tooltip_elder_elector_vote_displeased_devious
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				OR = { 
					trait = deceitful
					trait = genius
					trait = quick
					trait = shrewd
				}
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_elder_elector_vote_displeased_high_martial
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				martial = 12
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_elder_elector_vote_displeased_high_diplomacy
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				diplomacy = 12
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_elder_elector_vote_displeased_high_stewardship
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				stewardship = 12
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_elder_elector_vote_displeased_high_intrigue
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				intrigue = 12
			}
		}
		additive_modifier = { 
			value = -15
			localisation_key = tooltip_elder_elector_vote_displeased_high_learning
			has_elector_stance = { stance = elder_displeased title = FROMFROM }
			NOT = { character = FROM } #Do not judge yourself.
			FROM = { 
				learning = 12
			}
		}	
	}
	
	#ROOT = Current Title holder, FROM = Candidate, FROMFROM = Title, FROMFROMFROM = Null
	candidate_trigger = {
		NOT = { character = FROM } #Not the current ruler.
		FROM = { 
			NOR = { 
				trait = crusader_king 
				trait = crusader_queen
			} 
		} 
		FROM = { #Either the candidate is in the realm, or is landless, or the title is independent, or the realm of the title does NOT have protected inheritance.
			OR = { 
				any_liege = { 
					character = ROOT
				} 
				is_ruler = no
				ROOT_FROMFROM = { holder_scope = { independent = yes } }
				NOR = { 
					ROOT_FROMFROM = { has_law = out_of_realm_inheritance_law_1 } 
					ROOT_FROMFROM = { has_law = crown_authority_3 } 
					ROOT_FROMFROM = { has_law = crown_authority_4 } 
				} 
			} 
		}
		dynasty = FROM
		FROM = {
			OR = { #Candidate should not be a landless Courtier that is about to inherit a Theocracy or Republic
				AND = {
					is_ruler = yes
					is_landed = yes
					is_republic = no
					is_merchant_republic = no
					is_theocracy = no
				}
				NOR = {
					any_heir_title = {
						is_republic = yes
					}
					any_heir_title = {
						is_merchant_republic = yes
					}
					any_heir_title = {
						is_theocracy = yes
					}
				}
			}
			OR = { #If the title controls the religion, candidates must be of the same religion.
				ROOT = { 
					NOT = { 
						controls_religion = yes
					}
				}
				religion = ROOT
			}
			NOR = {
				trait = cat
				trait = disinherited
				trait = horse
				trait = eunuch
				trait = bastard
				is_ascetic_trigger = yes
				is_theocracy = yes
				is_republic = yes
				is_merchant_republic = yes
			}
		}
	}
} 
