nomination = {
    elector_selection = {
        value = -1
        additive_modifier = {
            value = 2
            nsl_ROOT_holds_FROMFROM_trigger = yes
        }
    }
    elector_vote_strength = { value = 1 }
    candidate_trigger = { nsl_is_candidate_trigger = yes }
    
    candidate_vote_score = {
        value = 0
        
        # The following has been copypasta'd from 00_succession_voting/feudal_elective
        # and the bits that don't make sense have been pruned
        
        ##########################   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 }
            }
            NOT = { is_rival = FROM }
        }

        #Sexism
        additive_modifier = { #Gender weights
            value = -30
            localisation_key = tooltip_feudal_elector_vote_agnatic_woman
            FROMFROM = { has_law = cognatic_succession }
            nsl_status_of_women_applies_trigger = yes
            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
                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 }
            nsl_status_of_women_applies_trigger = yes
            FROM = { is_female = yes }
        }
        additive_modifier = { #Gender weights
            value = -40
            localisation_key = tooltip_feudal_elector_vote_sow
            FROMFROM = { has_law = status_of_women_1 }
            nsl_status_of_women_applies_trigger = yes
            FROM = { is_female = yes }
        }
        additive_modifier = { #Gender weights
            value = -20
            localisation_key = tooltip_feudal_elector_vote_sow
            FROMFROM = { has_law = status_of_women_2 }
            nsl_status_of_women_applies_trigger = yes
            FROM = { is_female = yes }
        }
        additive_modifier = { #Gender weights
            value = -10
            localisation_key = tooltip_feudal_elector_vote_sow
            FROMFROM = { has_law = status_of_women_3 }
            nsl_status_of_women_applies_trigger = yes
            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
            has_religion_feature = religion_matriarchal
            NOT = {
                has_game_rule = {
                    name = gender
                    value = all
                }
            }
            FROM = { is_female = no }
        }

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

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

        #Culturism
        additive_modifier = { 
            value = 10
            localisation_key = tooltip_feudal_elector_vote_fellow_culture
            culture = FROM
        }
        additive_modifier = { 
            value = -15
            localisation_key = tooltip_feudal_elector_vote_stranger
            FROMFROM = { #Only a concern if Elector and current ruler share culture.
                holder_scope = { culture = ROOT }
            }
            NOT = { culture = FROM }
        }
        additive_modifier = { 
            value = -30
            localisation_key = tooltip_feudal_elector_vote_foreigner
            FROMFROM = {
                holder_scope = { culture = ROOT }
            }
            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
            NOR = {
                has_religion_feature = religion_cosmopolitan
                has_religion_feature = religion_dogmatic
                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
            NOR = {
                religion_group = indian_group
                has_religion_feature = religion_cosmopolitan
                has_religion_feature = religion_dogmatic
                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 = { 
                NOR = {
                    religion_group = ROOT
                    is_heresy_of = ROOT
                } 
            }
        }
        additive_modifier = { #Heretic
            value = -50
            localisation_key = tooltip_feudal_elector_vote_heretic
            NOR = {
                has_religion_feature = religion_cosmopolitan
                has_religion_feature = religion_dogmatic
                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
            FROM = {
                dynasty = ROOT
                NOT = { is_close_relative = ROOT }
            }
        }
        additive_modifier = { 
            value = 20
            localisation_key = tooltip_feudal_elector_vote_relative
            FROM = {
                is_close_relative = ROOT
                NOT = { is_child_of = ROOT }
            }
        }
        additive_modifier = { 
            value = 30
            localisation_key = tooltip_feudal_elector_vote_parent
            FROM = { is_child_of = ROOT }
            NOT = { nsl_ROOT_holds_FROMFROM_trigger = yes }
        }
        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
            FROM = { is_child_of = ROOT }
            nsl_ROOT_holds_FROMFROM_trigger = yes
        }

        #Prestige
        additive_modifier = { 
            value = -20
            localisation_key = tooltip_feudal_elector_vote_prestige_negative
            FROM = { prestige < -1000 }
        }
        additive_modifier = { 
            value = -15
            localisation_key = tooltip_feudal_elector_vote_prestige_negative
            FROM = {
                prestige >= -1000
                prestige < -500
            }
        }
        additive_modifier = { 
            value = -10
            localisation_key = tooltip_feudal_elector_vote_prestige_negative
            FROM = {
                prestige >= -500
                prestige < -250
            }
        }
        additive_modifier = { 
            value = -5
            localisation_key = tooltip_feudal_elector_vote_prestige_negative
            FROM = {
                prestige >= -250
                prestige < 0
            }
        }
        additive_modifier = { 
            value = 5
            localisation_key = tooltip_feudal_elector_vote_prestige_positive
            FROM = {
                prestige >= 250
                prestige < 500
            }
        }
        additive_modifier = { 
            value = 10
            localisation_key = tooltip_feudal_elector_vote_prestige_positive
            FROM = {
                prestige >= 500
                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
            FROM = { piety < -500 }
        }
        additive_modifier = { 
            value = -15
            localisation_key = tooltip_feudal_elector_vote_piety_negative
            FROM = {
                piety >= -500
                piety < -250
            }
        }
        additive_modifier = { 
            value = -10
            localisation_key = tooltip_feudal_elector_vote_piety_negative
            FROM = {
                piety >= -250
                piety < -100
            }
        }
        additive_modifier = { 
            value = -5
            localisation_key = tooltip_feudal_elector_vote_piety_negative
            FROM = {
                piety >= -100
                piety < 0
            }
        }
        additive_modifier = { 
            value = 5
            localisation_key = tooltip_feudal_elector_vote_piety_positive
            FROM = {
                piety >= 100
                piety < 250
            }
        }
        additive_modifier = { 
            value = 10
            localisation_key = tooltip_feudal_elector_vote_piety_positive
            FROM = {
                piety >= 250
                piety < 500
            }
        }
        additive_modifier = { 
            value = 15
            localisation_key = tooltip_feudal_elector_vote_piety_positive
            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
            this_is_warrior_culture_trigger = yes
            FROM = { trait = playful }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_rowdy
            this_is_warrior_culture_trigger = yes
            FROM = { trait = rowdy }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_haughty
            this_is_diplomatic_culture_trigger = yes
            FROM = { trait = haughty }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_conscientious
            this_is_diplomatic_culture_trigger = yes
            FROM = { trait = conscientious }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_curious
            this_is_spiritual_culture_trigger = yes
            FROM = { trait = curious }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_idolizer
            this_is_spiritual_culture_trigger = yes
            FROM = { trait = idolizer }
        }
        additive_modifier = {
            value = -25
            localisation_key = tooltip_feudal_elector_vote_depressed
            FROM = { trait = depressed }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_drunkard
            NOT = { religion_group = muslim }
            FROM = { trait = drunkard }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_drunkard_muslim
            religion_group = muslim
            FROM = { trait = drunkard }
        }
        additive_modifier = {
            value = -35
            localisation_key = tooltip_feudal_elector_vote_incapable
            this_is_warrior_culture_trigger = no
            FROM = { trait = incapable }
        }
        additive_modifier = {
            value = -50
            localisation_key = tooltip_feudal_elector_vote_incapable_warrior
            this_is_warrior_culture_trigger = yes
            FROM = { trait = incapable }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_infirm
            this_is_diplomatic_culture_trigger = no
            FROM = { trait = infirm }
        }
        additive_modifier = {
            value = -30
            localisation_key = tooltip_feudal_elector_vote_infirm_diplomat
            this_is_diplomatic_culture_trigger = yes
            FROM = { trait = infirm }
        }
        additive_modifier = {
            value = -30
            localisation_key = tooltip_feudal_elector_vote_lunatic
            NOR = { 
                trait = zealous 
                is_tribal = yes
                is_nomadic = yes
            }
            FROM = { trait = lunatic }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_maimed
            this_is_warrior_culture_trigger = no
            FROM = { trait = maimed }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_maimed_warrior
            this_is_warrior_culture_trigger = yes
            FROM = { trait = maimed }
        }
        additive_modifier = {
            value = -35
            localisation_key = tooltip_feudal_elector_vote_possessed
            NOR = { 
                trait = zealous
                is_tribal = yes
                is_nomadic = yes
            }
            FROM = { trait = possessed }
        }
        additive_modifier = {
            value = -60
            localisation_key = tooltip_feudal_elector_vote_possessed_vs_zealous
            trait = zealous
            NOR = { 
                is_tribal = yes
                is_nomadic = yes
            }
            FROM = { trait = possessed }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_physician
            this_is_spiritual_culture_trigger = yes
            FROM = { trait = physician }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_scarred
            this_is_warrior_culture_trigger = yes
            FROM = { trait = scarred }
        }
        additive_modifier = {
            value = 10
            localisation_key = tooltip_feudal_elector_vote_scarred_mid
            this_is_warrior_culture_trigger = yes
            FROM = { trait = scarred_mid }
        }
        additive_modifier = {
            value = 15
            localisation_key = tooltip_feudal_elector_vote_scarred_high
            this_is_warrior_culture_trigger = yes
            FROM = { trait = scarred_high }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_stressed
            FROM = { trait = stressed }
        }
        additive_modifier = {
            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
            is_feudal = yes
            FROM = { trait = bastard }
        }
        additive_modifier = {
            value = 10
            localisation_key = tooltip_feudal_elector_vote_born_in_the_purple
            culture_group = byzantine
            FROM = { trait = born_in_the_purple }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_child_of_consort
            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
            nsl_may_attract_to_FROM_trigger = yes
            FROM = { is_attractive_trigger = yes }
        }
        additive_modifier = { #Ugliness bonus
            value = -10
            localisation_key = tooltip_feudal_elector_vote_ugly
            nsl_may_attract_to_FROM_trigger = yes
            FROM = { is_unattractive_trigger = yes }
        }
        additive_modifier = {
            value = 20
            localisation_key = tooltip_feudal_elector_vote_genius_diplomat
            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
            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
            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
            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
            this_is_warrior_culture_trigger = no
            FROM = { trait = strong }
        }
        additive_modifier = {
            value = 10
            localisation_key = tooltip_feudal_elector_vote_strong_warrior
            this_is_warrior_culture_trigger = yes
            FROM = { trait = strong }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_clubfooted
            FROM = { trait = clubfooted }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_dwarf
            this_is_warrior_culture_trigger = no
            FROM = { trait = dwarf }
        }
        additive_modifier = {
            value = -30
            localisation_key = tooltip_feudal_elector_vote_dwarf_warrior
            this_is_warrior_culture_trigger = yes
            FROM = { trait = dwarf }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_harelip
            FROM = { trait = harelip }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_hunchback
            this_is_warrior_culture_trigger = no
            FROM = { trait = hunchback }
        }
        additive_modifier = {
            value = -30
            localisation_key = tooltip_feudal_elector_vote_hunchback_warrior
            this_is_warrior_culture_trigger = yes
            FROM = { trait = hunchback }
        }
        additive_modifier = {
            value = -10
            localisation_key = tooltip_feudal_elector_vote_imbecile
            this_is_diplomatic_culture_trigger = no
            FROM = { trait = imbecile }
        }
        additive_modifier = {
            value = -20
            localisation_key = tooltip_feudal_elector_vote_imbecile_diplomat
            this_is_diplomatic_culture_trigger = yes
            FROM = { trait = imbecile }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_inbred
            FROM = { trait = inbred }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_lisp
            FROM = { trait = lisp }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_slow
            this_is_diplomatic_culture_trigger = no
            FROM = { trait = slow }
        }
        additive_modifier = {
            value = -10
            localisation_key = tooltip_feudal_elector_vote_slow_diplomat
            this_is_diplomatic_culture_trigger = yes
            FROM = { trait = slow }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_stutter
            FROM = { trait = stutter }
        }
        additive_modifier = {
            value = -5
            localisation_key = tooltip_feudal_elector_vote_weak
            this_is_warrior_culture_trigger = no
            FROM = { trait = weak }
        }
        additive_modifier = {
            value = -10
            localisation_key = tooltip_feudal_elector_vote_weak_warrior
            this_is_warrior_culture_trigger = yes
            FROM = { trait = weak }
        }
        additive_modifier = {
            value = 5
            localisation_key = tooltip_feudal_elector_vote_robust
            this_is_warrior_culture_trigger = no
            FROM = { trait = robust }
        }
        additive_modifier = {
            value = 10
            localisation_key = tooltip_feudal_elector_vote_robust_warrior
            this_is_warrior_culture_trigger = yes
            FROM = { trait = robust }
        }
        additive_modifier = {
            value = -10
            localisation_key = tooltip_feudal_elector_vote_dull_diplomat
            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
            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
            this_is_warrior_culture_trigger = no
            FROM = { trait = feeble }
        }
        additive_modifier = {
            value = -10
            localisation_key = tooltip_feudal_elector_vote_feeble_warrior
            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
            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
            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
            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
            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
            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
            trait = greedy
            FROM = { trait = charitable }
        }
        additive_modifier = { #Praised for being Diligent
            value = 15
            localisation_key = tooltip_feudal_elector_vote_diligent_positive
            NOT = { trait = slothful }
            FROM = { trait = diligent }
        }
        additive_modifier = { #Shunned for being Diligent
            value = -15
            localisation_key = tooltip_feudal_elector_vote_diligent_negative
            trait = slothful
            FROM = { trait = diligent }
        }
        additive_modifier = { #Praised for being Patient
            value = 15
            localisation_key = tooltip_feudal_elector_vote_patient_positive
            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
            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
            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
            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
            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
            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
            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
            OR = { 
                religion_group = christian
                religion_group = muslim
                religion_group = jewish_group
            }
            OR = { 
                trait = arbitrary
                NOR = { 
                    trait = lustful
                    trait = hedonist
                }
            }
            FROM = { trait = lustful }
        }
        additive_modifier = { #Praised for being Gluttonous
            value = 15
            localisation_key = tooltip_feudal_elector_vote_gluttonous_positive
            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
            OR = { 
                religion_group = christian
                religion_group = muslim
                religion_group = jewish_group
            }
            OR = { 
                trait = arbitrary
                NOR = { 
                    trait = gluttonous
                    trait = hedonist
                }
            }
            FROM = { trait = gluttonous }
        }
        additive_modifier = { #Praised for being Greedy
            value = 15
            localisation_key = tooltip_feudal_elector_vote_greedy_positive
            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
            OR = { 
                religion_group = christian
                religion_group = muslim
                religion_group = indian_group
            }
            OR = { 
                trait = arbitrary
                NOT = { trait = greedy }
            }
            FROM = { trait = greedy }
        }
        additive_modifier = { #Praised for being Slothful
            value = 15
            localisation_key = tooltip_feudal_elector_vote_slothful_positive
            trait = slothful
            FROM = { trait = slothful }
        }
        additive_modifier = { #Shunned for being Slothful
            value = -15
            localisation_key = tooltip_feudal_elector_vote_slothful_negative
            OR = { 
                trait = arbitrary
                NOT = { trait = slothful }
            }
            FROM = { trait = slothful }
        }
        additive_modifier = { #Praised for being Wroth
            value = 15
            localisation_key = tooltip_feudal_elector_vote_wroth_positive
            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
            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
            OR = { 
                trait = arbitrary
                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
            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
            OR = { 
                religion_group = christian
                religion_group = muslim
                religion_group = indian_group
                religion_group = jewish_group
            }
            OR = { 
                trait = arbitrary
                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
            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
            OR = { 
                religion_group = christian
                religion_group = muslim
                religion_group = jewish_group
                religion_group = indian_group
                religion = bon
                religion = bon_reformed
            }
            OR = { 
                trait = arbitrary
                NOT = { trait = ambitious }
            }
            FROM = { trait = ambitious }
        }
        additive_modifier = { #Shunned for being Arbitrary
            value = -10
            localisation_key = tooltip_feudal_elector_vote_arbitrary_negative
            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
            this_is_warrior_culture_trigger = no
            NOR = { 
                trait = envious
                trait = arbitrary
            }
            FROM = { trait = brave }
        }
        additive_modifier = { #Praised for being Brave
            value = 10
            localisation_key = tooltip_feudal_elector_vote_brave_positive_warrior
            this_is_warrior_culture_trigger = yes
            NOR = { 
                trait = envious
                trait = arbitrary
            }
            FROM = { trait = brave }
        }
        additive_modifier = { #Shunned for being Brave
            value = -5
            localisation_key = tooltip_feudal_elector_vote_brave_negative
            this_is_warrior_culture_trigger = no
            OR = { 
                trait = envious
                trait = arbitrary
            }
            FROM = { trait = brave }
        }
        additive_modifier = { #Praised for being Content
            value = 10
            localisation_key = tooltip_feudal_elector_vote_content_positive
            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
            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
            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
            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
            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 = { 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
            has_religion_feature = religion_dogmatic
            religion = FROM
            OR = { 
                trait = arbitrary
                NOT = { trait = cynical }
            }
            FROM = { trait = cynical }
        }
        additive_modifier = { #Shunned for being Deceitful
            value = -10
            localisation_key = tooltip_feudal_elector_vote_deceitful_negative
            OR = { 
                trait = arbitrary
                trait = honest
            }
            FROM = { trait = deceitful }
        }
        additive_modifier = { #Praised for being Erudite
            value = 10
            localisation_key = tooltip_feudal_elector_vote_erudite_positive
            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
            NOR = { 
                trait = deceitful
                trait = arbitrary
            }
            FROM = { trait = just }
        }
        additive_modifier = { #Shunned for being Paranoid
            value = -5
            localisation_key = tooltip_feudal_elector_vote_paranoid_negative
            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
            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
            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
            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
            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
            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
            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
            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
            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
            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
            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
            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
            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
            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
            religion_group = zoroastrian_group
            FROM = { trait = saoshyant_descendant }
        }
        additive_modifier = { #Praised for being Adventurer
            value = 10
            localisation_key = tooltip_feudal_elector_vote_adventurer_positive
            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
            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
            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
            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
            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
            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
            culture_group = byzantine
            FROM = { trait = blinded }
        }
        additive_modifier = { #Shunned for being eunuch
            value = -25
            localisation_key = tooltip_feudal_elector_vote_eunuch_negative
            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
            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
            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
            NOR = { 
                trait = zealous
                trait = cynical
            }
            OR = { 
                NOT = { trait = excommunicated }
                trait = arbitrary
            }
            FROM = { 
                excommunicated_for = ROOT
            }
        }
        additive_modifier = { #Shunned for being excommunicated
            value = -75
            localisation_key = tooltip_feudal_elector_vote_excommunicated_negative_zealous
            trait = zealous
            OR = { 
                NOT = { trait = excommunicated }
                trait = arbitrary
            }
            FROM = { 
                excommunicated_for = ROOT
            }
        }
        #Kinslayer - From stranger's perspective
        additive_modifier = {
            value = -10
            localisation_key = tooltip_feudal_elector_vote_kinslayer_1_stranger
            NOT = { dynasty = FROM }
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = dynastic_kinslayer }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_kinslayer_2_stranger
            NOT = { dynasty = FROM }
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = familial_kinslayer }
        }
        additive_modifier = {
            value = -20
            localisation_key = tooltip_feudal_elector_vote_kinslayer_3_stranger
            NOT = { dynasty = FROM }
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = kinslayer }
        }
        #Kinslayer - From a far relative's perspective
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
            NOT = { is_close_relative = FROM }
            dynasty = FROM
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = dynastic_kinslayer }
        }
        additive_modifier = {
            value = -20
            localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
            NOT = { is_close_relative = FROM }
            dynasty = FROM
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = familial_kinslayer }
        }
        additive_modifier = {
            value = -25
            localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
            NOT = { is_close_relative = FROM }
            dynasty = FROM
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = kinslayer }
        }
        #Kinslayer - From a close relative's perspective
        additive_modifier = {
            value = -20
            localisation_key = tooltip_feudal_elector_vote_kinslayer_1_dynast
            is_close_relative = FROM 
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = dynastic_kinslayer }
        }
        additive_modifier = {
            value = -25
            localisation_key = tooltip_feudal_elector_vote_kinslayer_2_dynast
            is_close_relative = FROM 
            dynasty = FROM
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = familial_kinslayer }
        }
        additive_modifier = {
            value = -30
            localisation_key = tooltip_feudal_elector_vote_kinslayer_3_dynast
            is_close_relative = FROM 
            dynasty = FROM
            OR = { 
                NOR = { 
                    trait = dynastic_kinslayer 
                    trait = familial_kinslayer
                    trait = kinslayer
                }
                trait = arbitrary
            }
            FROM = { trait = kinslayer }
        }
        additive_modifier = { #Shunned for loving the heathens
            value = -25
            localisation_key = tooltip_feudal_elector_vote_sympathy_heathens
            religion = FROM
            NOR = {
                has_religion_feature = religion_cosmopolitan
                religion_group = indian_group
                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
            }
            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
            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
            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
            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
            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
            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
            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
            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
            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 }
            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
                }
            }
        }

        ##########################   Raw Opinion bonus towards Candidate   ##########################
        additive_modifier = {
            value = -150
            localisation_key = tooltip_feudal_elector_vote_opinion_negative
            is_rival = FROM
        }
        additive_modifier = {
            value = -100
            localisation_key = tooltip_feudal_elector_vote_opinion_negative
            NOT = { is_rival = FROM }
            NOT = {
                opinion = {
                    who = FROM
                    value = -75 
                }
            }
        }
        additive_modifier = {
            value = -50
            localisation_key = tooltip_feudal_elector_vote_opinion_negative
            NOT = { is_rival = FROM }
            opinion = {
                who = FROM
                value = -75 
            }
            NOT = {
                opinion = {
                    who = FROM
                    value = -50  
                }
            }
        }
        additive_modifier = {
            value = -30
            localisation_key = tooltip_feudal_elector_vote_opinion_negative
            NOT = { is_rival = FROM }
            opinion = {
                who = FROM
                value = -50
            }
            NOT = {
                opinion = {
                    who = FROM
                    value = -25
                }
            }
        }
        additive_modifier = {
            value = -15
            localisation_key = tooltip_feudal_elector_vote_opinion_negative
            NOT = { is_rival = FROM }
            opinion = {
                who = FROM
                value = -25 
            }
            NOT = {
                opinion = {
                    who = FROM
                    value = 0
                }
            }
        }
        additive_modifier = {
            value = 15
            localisation_key = tooltip_feudal_elector_vote_opinion_positive
            NOT = { is_rival = FROM }
            opinion = {
                who = FROM
                value = 0
            }
            NOT = {
                opinion = {
                    who = FROM
                    value = 25
                }
            }
        }
        additive_modifier = {
            value = 30
            localisation_key = tooltip_feudal_elector_vote_opinion_positive
            NOT = { is_rival = FROM }
            opinion = {
                who = FROM
                value = 25
            }
            NOT = {
                opinion = {
                    who = FROM
                    value = 50
                }
            }
        }
        additive_modifier = {
            value = 50
            localisation_key = tooltip_feudal_elector_vote_opinion_positive
            NOT = { is_rival = FROM }
            opinion = {
                who = FROM
                value = 50
            }
            NOT = {
                opinion = {
                    who = FROM
                    value = 75 
                }
            }
        }
        additive_modifier = {
            value = 70
            localisation_key = tooltip_feudal_elector_vote_opinion_positive
            NOT = { is_rival = FROM }
            opinion = {
                who = FROM
                value = 75
            }
        }
    }
}
