﻿historical_characters_accessories = {

    usage = game
    selection_behavior = max
    priority = 2

    #----------------------------------------------------867 The Carolingians------------------------------------------------------------#

    # Charles the Bald #
    90104_charles_the_bald_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_01
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
            }
			accessory = {
                mode = add
                gene = headgear
                template = ep2_western_era1_imperial
                accessory = m_headgear_sec_ep2_western_era1_imp_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = ep2_western_era1_high_nobility_clothes
                accessory = m_clothes_sec_ep2_western_era1_nob_02_hi
            }
			accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_royalty_nobility
                accessory = male_west_sagum_02a_imperial
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:90104
				this = character:90104
                portrait_royalty_trigger = {
                    CULTURE_INPUT = western
                }   
            }
        }
    }

    90104_charles_the_bald = { # This is a fallback in case rank or culture changes - our character will keep hairstyle and beard but otherwise use regular triggers 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:90104
                this = character:90104
            }
        }
    }

    90123_louis_the_stammerer_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_06
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:90123
				this = character:90123
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = western
                } 
            }
        }
    }

    90123_louis_the_stammerer = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_06
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:90123
                this = character:90123
            }
        }
    }

    # King Lothaire #
    144998_king_lothaire_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_05
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0
            }
            accessory = {
                mode = add
                gene = headgear
                template = ep1_western_royalty
                accessory = male_headgear_secular_ep1_western_royalty_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = ep2_western_era1_high_nobility_clothes
                accessory = m_clothes_sec_ep2_western_era1_nob_01_hi
            }
			accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_royalty_nobility
                accessory = m_cloaks_sec_ep2_western_era1_nob_01_roy
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:144998
				this = character:144998
                portrait_royalty_trigger = {
                    CULTURE_INPUT = western
                }
            }
        }
    }

    168314_king_lothaire = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_05
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:144998
                this = character:144998
            }
        }
    }

    168314_waldrada = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_01
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:168314
                this = character:168314
            }
        }
    }

    # Ludwig the German #
    90107_ludwig_the_german_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_04
            }
            accessory = {
                mode = add
                gene = headgear
                template = ep2_western_era1_royalty
                accessory = m_headgear_sec_ep2_western_era1_roy_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = ep2_western_era1_high_nobility_clothes
                accessory = m_clothes_sec_ep2_western_era1_nob_01_hi
            }
			accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_royalty_nobility
                accessory = male_west_sagum_02a_royalty
            }

        }
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:90107
				this = character:90107
                portrait_royalty_trigger = {
                    CULTURE_INPUT = dde_hre
                } 
            }
        }
    }

    # Prince Karlmann #
    42018_prince_karlmann_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_06
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_07
            }
            accessory = {
                mode = add
                gene = headgear
                template = ep2_western_era1_nobility
                accessory = m_headgear_sec_ep2_western_era1_nob_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:42018
				this = character:42018
                portrait_high_nobles_trigger = {
                    CULTURE_INPUT = dde_hre
                } 
            }
        }
    }

    42018_prince_karlmann = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_06
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_07
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:42018
                this = character:42018
            }
        }
    }

    7945_arnulf = {  
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_02
            }
            accessory = {
                mode = add
                gene = beards
                template = ep2_beards
                accessory = m_beard_ep2_western_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:7945
                this = character:7945
            }
        }
    }

    # Ludwig the German
    90107_ludwig_the_german = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:90107
                this = character:90107
            }
        }
    }

    90105_karl_karling_start = { # Son of Ludwig the German
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep2_western_01
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:90105
				this = character:90105
                portrait_high_nobles_trigger = {
                    CULTURE_INPUT = dde_hre
                } 
            }
        }
    }

    90105_karl_karling = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_01
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:90105
                this = character:90105
            }
        }
    }

	42019_ludwig_younger_start = { # Son of Ludwig the German
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_08
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:42019
				this = character:42019
                portrait_high_nobles_trigger = {
                    CULTURE_INPUT = dde_hre
                } 
            }
        }
    }

    42019_ludwig_younger = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_08
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:42019
                this = character:42019
            }
        }
    }

    # King Louis #
	30228_king_louis_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
			accessory = {
                mode = add
                gene = beards
                template = ep2_beards
                accessory = m_beard_ep2_western_01
            }
			accessory = {
                mode = add
                gene = headgear
                template = ep1_crown_of_lombardy
                accessory = male_headgear_secular_ep1_crown_of_lombardy
            }
			accessory = {
                mode = add
                gene = clothes
                template = ep2_western_era1_high_nobility_clothes
                accessory = m_clothes_sec_ep2_western_era1_nob_01_hi
            }
			accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_royalty_nobility
                accessory = m_cloaks_sec_ep2_western_era1_nob_01_roy
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:30228
                this = character:30228
                portrait_royalty_trigger = {
                    CULTURE_INPUT = western
                }
            }
        }
    }

    30228_king_louis = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = ep2_beards
                accessory = m_beard_ep2_western_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:30228
                this = character:30228
            }
        }
    }

    #----------------------------------------------------867 The Great Adventures------------------------------------------------------------#

    40605_rurik_rurikid_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_02
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }
			accessory = {
                mode = add
                gene = headgear
                template = fp1_nobility
                accessory = male_headgear_religious_northern_high_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = fp1_high_nobility_clothes
                accessory = male_clothes_secular_fp1_nobility_01_high
            }
			accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak_berserker
                accessory = male_furs_secular_fp1_nobility_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:40605
				this = character:40605
                portrait_high_nobles_trigger = {
                    CULTURE_INPUT = northern
                }
            }
        }
    }

    40605_rurik_rurikid = { 
        dna_modifiers = {
        accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:40605
                this = character:40605
            }
        }
    }

    159137_almos_arpad_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_steppe_02
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_09
            }
			accessory = {
                mode = add
                gene = headgear
                template = western_turkic_headgear
                accessory = male_Turkic_Fur_Cap_04
            }
			accessory = {
                mode = add
                gene = clothes
                template = steppe_high_nobility_clothes
                accessory = male_clothes_secular_steppe_nobility_01_high
			}
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:159137
				this = character:159137
                portrait_royalty_trigger = {
                    CULTURE_INPUT = steppe
                } 
            }
        }
    }

    159137_almos_arpad = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_steppe_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_09
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:159137
                this = character:159137
            }
        }
    }

    6448_count_eudes_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_06
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_northern_03
            }
			accessory = {
                mode = add
                gene = clothes
                template = ep2_western_era1_low_nobility_clothes
                accessory = m_clothes_sec_ep2_western_era1_nob_01_lo
            } 
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:6448
                this = character:6448
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = western
                }
            }
        }
    }

    6448_count_eudes = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_06
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_northern_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:6448
                this = character:6448                
            }
        }
    }

    6878_jarl_haesteinn_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_03
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_northern_02
            }
			accessory = {
                mode = add
                gene = headgear
                template = fp1_common
                accessory = male_headgear_secular_fp1_common_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = fp1_high_nobility_clothes
                accessory = male_clothes_secular_fp1_nobility_02_high
            }
			accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_cloaks_secular_fp1_nobility_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:6878
				this = character:6878
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = northern
                }  
            }
        }
    }

    6878_jarl_haesteinn = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_northern_02
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:6878
                this = character:6878 
            }
        }
    }

    251187_daurama_daura_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_sub_saharan_01 
            }
			accessory = {
                mode = add
                gene = clothes
                template = sub_saharan_low_nobility_clothes
                accessory = male_clothes_secular_sub_saharan_nobility_01_low 
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:251187
				this = character:251187
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = african
                } 
            }
        }
    }

    251187_daurama_daura = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_sub_saharan_01 
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:251187
                this = character:251187
            }
        }
    }

    #----------------------------------------------------867 Wrath of the Northmen------------------------------------------------------------#
    
    163108_bjorn_ironside_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_fp1_03
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_01
            }
			accessory = {
                mode = add
                gene = headgear
                template = fp1_royalty
                accessory = male_headgear_secular_fp1_royalty_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = fp1_high_nobility_clothes
                accessory = male_clothes_secular_fp1_nobility_01_high
            }
			accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_furs_secular_fp1_nobility_02
            }

        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:163108
				this = character:163108
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = northern
                }
            }
        }
    }

    163108_bjorn_ironside = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_fp1_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163108
                this = character:163108
            }
        }
    }

    6863_ingrid_bjornsdotter = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_northern_01
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:6863
                this = character:6863
            }
        }
    }

    100500_eirikr_bjornsson = { # Son of Björn Ironside
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp1_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:100500
                this = character:100500
            }
        }
    }

    6839_iliana_of_uppland = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_northern_03
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:6839
                this = character:6839
            }
        }
    }

    163110_sigurdr_snake_in_the_eye_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_02
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_02
            }
			accessory = {
                mode = add
                gene = headgear
                template = religious_northern_high
                accessory = male_headgear_religious_northern_high_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = fp1_high_nobility_clothes
                accessory = male_clothes_secular_fp1_nobility_02_high
            }
			accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_cloaks_secular_fp1_nobility_02
            }

        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:163110
				this = character:163110
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = northern
                } 
            }
        }
    }

    163110_sigurdr_snake_in_the_eye = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_02
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163110
                this = character:163110 
            }
        }
    }

    163111_ivar_the_boneless_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_01
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_02
            }
			accessory = {
                mode = add
                gene = headgear
                template = fp1_nobility
                accessory = male_headgear_religious_northern_high_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = northern_high_nobility_clothes
                accessory = male_clothes_secular_northern_nobility_02_high
            }
			accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_cloaks_secular_fp1_nobility_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:163111
				this = character:163111
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = northern
                } 
            }
        }
    }

    163111_ivar_the_boneless = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_02
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163111
                this = character:163111
            }
        }
    }

    163112_halfdan_whiteshirt_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_fp1_06
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_03
            }
			accessory = {
                mode = add
                gene = headgear
                template = religious_northern_high
                accessory = male_headgear_religious_northern_high_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = fp1_high_nobility_clothes
                accessory = male_clothes_secular_fp1_nobility_02_high
            }
			accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_cloaks_secular_fp1_nobility_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:163112
				this = character:163112
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = northern
                } 
            }
        }
    }

    163112_halfdan_whiteshirt = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_fp1_06
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_fp1_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163112
                this = character:163112
            }
        }
    }

    168336_gudfrid = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_fp1_05
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp1_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:168336
                this = character:168336
            }
        }
    }

    7627_earl_alfred_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_02
            }
			accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }
			accessory = {
                mode = add
                gene = headgear
                template = northern_common
                accessory = male_headgear_secular_northern_common_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = northern_high_nobility_clothes
                accessory = male_clothes_secular_northern_nobility_02_high
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:7627
				this = character:7627
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = western
                } 
            }
        }
    }

    7627_earl_alfred = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep2_western_02
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_ep2_western_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:7627
                this = character:7627
            }
        }
    }

    33358_aethelred = { # Alfred's brother Aethelred 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep2_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_ep2_western_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:33358
                this = character:33358
            }
        }
    }

    #---------------------------------------------------# 867 The Struggle for Iberia #-------------------------------------------------#
    
    # Count Hermenexildo Gutierrez #
    73857_mendo_guterres_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_02
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_straight
                accessory = male_beard_fp2_iberian_christian_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = ep2_western_era1_high_nobility_clothes
                accessory = m_clothes_sec_ep2_western_era1_nob_01_hi
            } 
            accessory = {
                mode = add
                gene = headgear
                template = fp2_scripted_headgear_01
                value = 0.1 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:73857
                this = character:73857
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = fp2_iberian_christian
                } 
            }
        }
    }

    73857_mendo_guterres = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:73857
                this = character:73857
            }
        }
    }

    73759_ermesenda = { # wife of count Mendo
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:73759
                this = character:73759
            }
        }
    }

    # Lubb Muzez #
    73813_lupp_ibn_musa_start = {  
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp2_muslim_war_nobility
                accessory = m_headgear_sec_fp2_iberian_muslim_war_nob_01_lo
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_muslim_war_nobility_clothes
                accessory = m_clothes_sec_fp2_iberian_muslim_war_nob_01_hi
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:73813
                this = character:73813
                portrait_low_nobles_armor_trigger = { 
                    CULTURE_INPUT = fp2_iberian_muslim
                }
            }
        }
    }

    73813_lupp_ibn_musa = {  
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_muslim_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:73813
                this = character:73813
            }
        }
    }

    73783_oria = {  # Lubb's daughter
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = female_hair_fp2_iberian_christian_03
                type = female
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:73783
                this = character:73783
            }
        }
    }

    73815_mohamed = {  # Lubb's son
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:73815
                this = character:73815
            }
        }
    }

    # Guifre the Hairy #
    70150_wilfred_the_hairy_start = {  
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_06
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp2_christian_war_nobility
                accessory = m_headgear_sec_fp2_iberian_christian_war_nob_01_hi
            }
            accessory = {
                mode = add
                gene = clothes
                template = ep2_western_era1_war_nobility_clothes
                accessory = m_clothes_sec_ep2_western_era1_war_nob_01_hi
            }  
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:70150
                this = character:70150
                portrait_low_nobles_armor_trigger = { 
                    CULTURE_INPUT = fp2_iberian_christian
                }
            }
        }
    }

    70150_wilfred_the_hairy = {  
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_06
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:70150
                this = character:70150
            }
        }
    }

    168137_bernat_of_gothia = { # Wilfred's Liege
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:168137
                this = character:168137
            }
        }
    }

    barcelona_00003_count_sunyer = { # Wilfred's Cousin
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:barcelona_00003
                this = character:barcelona_00003
            }
        }
    }

    # Emir Abd-al-Rahman Marwanez
    73957_ibn_marwan_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_02
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp2_muslim_low_nobility
                accessory = male_headgear_secular_fp2_iberian_muslim_common_01_high
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_muslim_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_muslim_nobility_02_high
            }  
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:73957
                this = character:73957
                portrait_high_nobles_headgear_trigger = { 
                    CULTURE_INPUT = fp2_iberian_muslim
                }
            }
        }
    }

    73957_ibn_marwan = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:73957
                this = character:73957
            }
        }
    }

    surunbaqi0001_sadun_of_porto = { # Marwan's friend 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:surunbaqi0001
                this = character:surunbaqi0001
            }
        }
    }

    # Emir Adanis
    danis0005_emir_adanis_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_03
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp2_muslim_low_nobility
                accessory = male_headgear_secular_fp2_iberian_muslim_nobility_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_muslim_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_muslim_nobility_01_high
            }  
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:danis0005
                this = character:danis0005
                portrait_high_nobles_headgear_trigger = { 
                    CULTURE_INPUT = fp2_iberian_muslim
                }
            }
        }
    }

    danis0005_emir_adanis = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_03
            } 
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:danis0005
                this = character:danis0005
            }
        }
    }

    # Others #
    70292_king_gartzia = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:70292
                this = character:70292
            }
        }
    }

    70019_king_adelfonso = { # King Adelfonso III of Asturias
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_01
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_straight
                accessory = male_beard_fp2_iberian_christian_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = ep2_western_era1_royalty
                accessory = m_headgear_sec_ep2_western_era1_roy_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_christian_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_christian_nobility_02_high
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:70019
                this = character:70019
            }
        }
    }

    #----------------------------------------------------867 Iranian Revival------------------------------------------------------------#

    # Amir Yaqub Al-Laith #
    163101_amir_yaqub_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp2_hairstyles_iberian_muslim_straight
                accessory = male_hair_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp3_iranian_low_nobility
                accessory = m_headgear_sec_fp3_iranian_nob_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp3_iranian_high_nobility_clothes
                accessory = m_clothes_sec_fp3_iranian_nob_01_hi
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:163101
                this = character:163101
                portrait_royalty_trigger = {
                    CULTURE_INPUT = fp3_iranian
                }
            }
        }
    }

    163101_amir_yaqub = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp2_hairstyles_iberian_muslim_straight
                accessory = male_hair_fp2_iberian_muslim_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_muslim_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163101
                this = character:163101
            }
        }
    }

    # Sebuk #
    extra_turks_0001_sebuk = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp3_hairstyles_turkic_straight
                accessory = m_hair_fp3_iranian_02
            }
            accessory = {
                mode = add
                gene = beards
                template = thin_beards_straight
                accessory = male_beard_steppe_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = western_turkic_headgear
                accessory = m_headgear_sec_fp3_turkic_nob_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = steppe_low_nobility_clothes
                accessory = male_clothes_secular_steppe_nobility_01_low
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:extra_turks_0001
                this = character:extra_turks_0001
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = fp3_turkic
                }
            }
        }
    }

    # Caliph Al-Mutazz #
    34014_Caliph_Al_Mutazz = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:34014
                this = character:34014
            }
        }
    }

    # Muhammad Tahirid #
    1000230509_muhammad_tahirid_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_curly
                accessory = m_beard_fp3_iranian_02
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp3_iranian_high_nobility
                accessory = m_headgear_sec_fp3_iranian_nob_02
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp3_iranian_high_nobility_clothes
                accessory = m_clothes_sec_fp3_iranian_nob_02_hi
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:1000230509
                this = character:1000230509
                portrait_high_nobles_trigger = {
                    CULTURE_INPUT = fp3_iranian
                }
            }
        }
    }

    1000230509_muhammad_tahirid = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_curly
                accessory = m_beard_fp3_iranian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1000230509
                this = character:1000230509
            }
        }
    }

    # Amir-e Amiran Muhammad #
    163100_Muhammad  = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_04
            }
            accessory = {
                mode = add
                gene = beards
                template = mena_beards_curly
                accessory = male_beard_mena_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = all_headgear
                accessory = male_headgear_secular_dde_abbasid_royalty_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = dde_abbasid_high_nobility_clothes
                accessory = male_clothes_secular_dde_abbasid_nobility_03_high
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:163100
                this = character:163100
                portrait_royalty_trigger = {
                    CULTURE_INPUT = fp3_iranian
                }
            }
        }
    }

    # Rostam Bavandid #
    45105_rostam_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_05
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_curly
                accessory = m_beard_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp3_iranian_low_nobility
                accessory = m_headgear_sec_fp3_iranian_nob_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp3_iranian_low_nobility_clothes
                accessory = m_clothes_sec_fp3_iranian_nob_03_lo
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:45105
                this = character:45105
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = fp3_iranian
                }
            }
        }
    }

    45105_rostam = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_05
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_curly
                accessory = m_beard_fp3_iranian_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:45105
                this = character:45105
            }
        }
    }

    # Hasan the Missionary #
    45108_hasan_the_missionary = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_03
            }
            accessory = {
                mode = add
                gene = headgear
                template = mena_high_nobility
                accessory = male_headgear_religious_dde_muslim_head_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = mena_high_nobility_clothes
                accessory = male_clothes_secular_mena_nobility_02_high
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:45108
                this = character:45108
                portrait_high_nobles_trigger = {
                    CULTURE_INPUT = mena
                }
            }
        }
    }

    # Ismail samani #
    8816_ismail_samani_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp3_hairstyles_iranian_straight
                accessory = m_hair_fp3_iranian_01
            }
            accessory = {
                mode = add
                gene = beards
                template = mena_beards_straight
                accessory = male_beard_mena_04
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp3_iranian_low_nobility
                accessory = m_headgear_sec_fp3_iranian_nob_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp3_iranian_low_nobility_clothes
                accessory = m_clothes_sec_fp3_iranian_nob_01_lo
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:163157
                this = character:163157
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = fp3_iranian
                }
            }
        }
    }

    8816_ismail_samani = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp3_hairstyles_iranian_straight
                accessory = m_hair_fp3_iranian_01
            }
            accessory = {
                mode = add
                gene = beards
                template = mena_beards_straight
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163157
                this = character:163157
            }
        }
    }

    # Nasr Samani #
    163099_Nars_Samani = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_04
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp3_iranian_high_nobility
                accessory = m_headgear_sec_fp3_iranian_nob_02
            }
            accessory = {
                mode = add
                gene = clothes
                template = most_clothes
                accessory = m_clothes_sec_fp3_iranian_nob_01_hi
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:163099
                this = character:163099
                portrait_royalty_trigger = {
                    CULTURE_INPUT = fp3_iranian
                }
            }
        }
    }

    # Suri of Mandesh #
    1230316_suri_of_mandesh_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp3_hairstyles_iranian_straight
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_straight
                accessory = m_beard_fp3_iranian_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp3_iranian_low_nobility
                accessory = m_headgear_sec_fp3_iranian_nob_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp3_iranian_high_nobility_clothes
                accessory = m_clothes_sec_fp3_iranian_nob_02_hi
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:1230316
                this = character:1230316
                portrait_high_nobles_trigger = {
                    CULTURE_INPUT = fp3_iranian
                }
            }
        }
    }

    1230316_suri_of_mandesh = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp3_hairstyles_iranian_straight
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_straight
                accessory = m_beard_fp3_iranian_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1230316
                this = character:1230316
            }
        }
    }

    # Abdullah #
    extra_habbaris_3_abdullah = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = indian_hairstyles_curly
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = indian_beards_curly
                accessory = male_beard_indian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:extra_habbaris_3
                this = character:extra_habbaris_3
            }
        }
    }
    
    #--------------------------------------------------------1066 fate of england-------------------------------------------------------#
    
    122_king_harold_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_05
            }
			accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_sp2_western_01
            }
			accessory = {
                mode = add
                gene = headgear
                template = ep1_western_royalty
                accessory = male_headgear_secular_ep1_western_royalty_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = northern_high_nobility_clothes
                accessory = male_clothes_secular_northern_nobility_01_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = western_royalty
                accessory = male_cloaks_secular_western_royalty_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:122
				this = character:122
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = northern
                }
            }
        }
    }

    122_king_harold = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_05
            }
			accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_sp2_western_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:122
                this = character:122
            }
        }
    }

    123_queen_ealdgyth = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_04
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:123
                this = character:123
            }
        }
    }

    124_tostig = { # Harold's brother
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep2_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_05
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:124
                this = character:124
            }
        }
    }

    131_eadgifu_the_fair = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_07
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:131
                this = character:131
            }
        }
    }

    140_william_the_bastard_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = northern_hairstyles_straight
                accessory = male_hair_northern_03
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0
            }
			accessory = {
                mode = add
                gene = headgear
                template = western_high_nobility
                accessory = male_headgear_secular_western_high_nobility_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = western_high_nobility_clothes
                accessory = male_clothes_secular_western_nobility_03_high
            }
			accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_high_nobility
                accessory = m_cloaks_sec_ep2_western_era1_nob_01_hi
            }			
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:140
                this = character:140
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = western
                }
            }
        }
    }

    140_william_the_bastard = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = northern_hairstyles_straight
                accessory = male_hair_northern_03
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:140
                this = character:140
            }
        }
    }
	
    140_william_the_conqueror = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = northern_hairstyles_straight
                accessory = male_hair_northern_03
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0
            }

			accessory = {
                mode = add
                gene = clothes
                template = western_high_nobility_clothes
                accessory = male_clothes_secular_western_nobility_03_high
            }
			accessory = {
                mode = add
                gene = headgear
                template = western_royalty
                accessory = m_headgear_sec_ep2_western_era1_roy_01
            }			
			accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_royalty_nobility
                accessory = m_cloaks_sec_ep2_western_era2_nob_01_roy
            }				
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:140
                this = character:140
                OR = {
                    portrait_royalty_clothing_trigger = {
                        CULTURE_INPUT = western
                    }
                    portrait_imperial_clothing_trigger = {
                        CULTURE_INPUT = western
                    }
                }
            }
        }
    }	

    367_duchess_mathilde = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_04
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:367
                this = character:367
            }
        }
    }

    146_william_the_red = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_06
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:146
                this = character:146
            }
        }
    }

    984_king_malcolm_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_08
            }   
			accessory = {
                mode = add
                gene = headgear
                template = ep1_western_royalty
                accessory = male_headgear_secular_ep1_western_royalty_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = western_high_nobility_clothes
                accessory = male_clothes_secular_western_nobility_03_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = western_royalty
                accessory = male_cloaks_secular_western_royalty_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:984
				this = character:984
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = western
                }
            }
        }
    }

    984_king_malcolm = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_08
            }       
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:984
                this = character:984
            }
        }
    }

    986_donald_start = { # "The Fair", Malcolm's brother
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_rtt_01
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }  
            accessory = {
                mode = add
                gene = headgear
                template = no_headgear
                value = 0.5
            }     
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:986
                this = character:986
                OR = {
                    portrait_commoner_trigger = { 
                        CULTURE_INPUT = western
                    }
                    portrait_low_nobles_trigger = { 
                        CULTURE_INPUT = western
                    }
                }
            }
        }
    }

    986_donald = { # "The Fair", Malcolm's brother
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_rtt_01
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }     
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:986
                this = character:986
            }
        }
    }

    988_duncan = { # Malcolm's son
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep2_western_01
            }      
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:988
                this = character:988
            }
        }
    }

    102505_queen_ingebjorg = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_03
                type = female
            }      
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:102505
                this = character:102505
            }
        }
    }

    101515_king_svend_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_09
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }    
			accessory = {
                mode = add
                gene = headgear
                template = fp1_royalty
                accessory = male_headgear_secular_fp1_royalty_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = northern_high_nobility_clothes
                accessory = male_clothes_secular_northern_nobility_01_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_cloaks_secular_fp1_nobility_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:101515
				this = character:101515
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = northern
                }
            }
        }
    }

    101515_king_svend = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_09
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:101515
                this = character:101515
            }
        }
    }

    101517_harald_the_whetstone = { # Svend's son
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_northern_03
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp1_02
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:101517
                this = character:101517
            }
        }
    }

    101517_knud= { # Svend's son
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:101519
                this = character:101519
            }
        }
    }

    102531_harald_hardrade_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_01
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_northern_01
			}
			accessory = {
                mode = add
                gene = headgear
                template = fp1_imperial
                accessory = male_headgear_secular_fp1_imperial_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = northern_high_nobility_clothes
                accessory = male_clothes_secular_northern_nobility_02_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_furs_secular_fp1_nobility_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:102531
				this = character:102531
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = northern
                }
            }
        }
    }

    102531_harald_hardrade = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_northern_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:102531
                this = character:102531
            }
        }
    }

    633_queen_yelizaveta = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_08
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:633
                this = character:633
            }
        }
    }

    #----------------------------------------------------------------------# 1066 Rags to Riches#----------------------------------------------------------------#

    83355_petty_king_murchad_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_05
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_02
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp1_nobility
                accessory = male_headgear_religious_northern_high_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = northern_low_nobility_clothes
                accessory = male_clothes_secular_northern_nobility_01_low
            }
            accessory = {
                mode = add
                gene = cloaks
                template = fp1_cloak
                accessory = male_furs_secular_fp1_nobility_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:83355
                this = character:83355
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = northern
                }
            }
        }
    }

    83355_petty_king_murchad = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_05
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:83355
                this = character:83355
            }
        }
    }

    83357_brian = { # Murchad's son Brian
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = northern_hairstyles_straight
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:83357
                this = character:83357
            }
        }
    }

    522_duke_vratislav_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_fp2_iberian_muslim_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_03
            }
            accessory = {
                mode = add
                gene = headgear
                template = sp2_western_high_nobility
                accessory = m_headgear_sec_sp2_western_hi_nob_01
            }
			accessory = {
                mode = add
                gene = clothes
                template = western_high_nobility_clothes
                accessory = male_clothes_secular_western_nobility_01_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_high_nobility
                accessory = m_cloaks_sec_ep2_western_era1_nob_01_hi
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:522
                this = character:522
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = western
                }
            }
        }
    }

    522_duke_vratislav = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:522
                this = character:522
            }
        }
    }

    212892_ota_the_handsome = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_sp2_western_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:212892
                this = character:212892
            }
        }
    }

    765_princess_swietoslawa = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_03
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:765
                this = character:765
            }
        }
    }

    1128_duke_robert_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_08
            }
			accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
			}
            accessory = {
                mode = add
                gene = headgear
                template = western_high_nobility
                accessory = male_headgear_secular_western_high_nobility_01
            }		
			accessory = {
                mode = add
                gene = clothes
                template = western_high_nobility_clothes
                accessory = male_clothes_secular_western_nobility_03_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_high_nobility
                accessory = m_cloaks_sec_ep2_western_era1_nob_01_hi
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:1128
                this = character:1128
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = western
                }
            }
        }
    }

    1128_duke_robert = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_08
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1128
                this = character:1128
            }
        }
    }

    1123_sichelgaita = { # Robert's wife Sichelgaita
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_01
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1123
                this = character:1123
            }
        }
    }

    1140_duke_robert = { # Robert's son Bohemond
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_08
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1140
                this = character:1140
            }
        }
    }

    3924_emir_yahya_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_01
            }
			accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_straight
                accessory = m_beard_fp3_iranian_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = religious_muslim_high
                accessory = male_headgear_religious_muslim_high_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_muslim_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_muslim_nobility_01_high
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:3924
                this = character:3924
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = mena
                }
            }
        }
    }

    3924_emir_yahya = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:3924
                this = character:3924
            }
        }
    }

    7757_duchess_matilda_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = headgear
                template = sp2_western_high_nobility
                accessory = m_headgear_sec_sp2_western_hi_nob_01
            }		
            accessory = {
                mode = add
                gene = clothes
                template = western_high_nobility_clothes
                accessory = female_clothes_secular_western_nobility_01_high
				type = female
            }
            accessory = {
                mode = add
                gene = cloaks
                template = ep2_cloak_western_era1_high_nobility
                accessory = f_cloaks_sec_ep2_western_era1_01_hi
                type = female
            }
            accessory = {
                mode = add
                gene = additive_headgear
                template = no_additive
                value = 0
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:7757
				this = character:7757
                portrait_high_nobles_headgear_trigger = { 
                    CULTURE_INPUT = western
                }
            }
        }
    }

    7757_duchess_matilda = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_western_03
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:7757
                this = character:7757
            }
        }
    }

    gottfried_the_hunchback = { # Matildas spouse Gottfried the Hunchback
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_02
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_03
                accessory = m_beard_ep2_western_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:20248
                this = character:20248
            }
        }
    }

    #----------------------------------------------------------------------# 1066 Iberia in Pieces #----------------------------------------------------------------#

    109500_king_garcia_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_05
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp2_christian_royalty
                accessory = male_headgear_secular_fp2_iberian_christian_royalty_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_christian_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_christian_nobility_02_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = western_royalty
                accessory = male_cloaks_secular_western_royalty_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:109500
                this = character:109500
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = fp2_iberian_christian
                }
            }
        }
    }

    109500_king_garcia = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_05
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:109500
                this = character:109500
            }
        }
    }

    108500_king_alfonso_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_01
            }           
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_03
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_christian_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_christian_nobility_01_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = western_royalty
                accessory = male_cloaks_secular_western_royalty_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:108500
                this = character:108500
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = fp2_iberian_christian
                }
            }
        }
    }

    108500_king_alfonso = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_christian_01
            }           
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_christian_03
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:108500
                this = character:108500
            }
        }
    }

    107511_sancha_start = { # Alfonso's mother
        dna_modifiers = {
            accessory = {
                mode = add
                gene = headgear
                template = all_headgear
                accessory = female_headgear_secular_western_nobility_01_2
                type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:107511
                this = character:107511
            }
        }
    }

    70076_nuno = { # Alfonso's uncle
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_04
            }           
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_01
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:70076
                this = character:70076
            }
        }
    }

    107500_king_sancho_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_09
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp2_christian_royalty
                accessory = male_headgear_secular_fp2_iberian_christian_royalty_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_christian_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_christian_nobility_01_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = western_royalty
                accessory = male_cloaks_secular_western_royalty_01
            }  
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:107500
                this = character:107500
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = fp2_iberian_christian
                }
            }
        }
    }

    107500_king_sancho = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_09
            } 
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:107500
                this = character:107500
            }
        }
    }

    108501_infanta_urraca_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_08
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_christian_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_christian_nobility_01_high
            }
            accessory = {
                mode = add
                gene = headgear
                template = fp2_scripted_headgear_01
                value = 0.1 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:108501
                this = character:108501
                portrait_low_nobles_trigger = { 
                    CULTURE_INPUT = fp2_iberian_christian
                }
            }
        }
    }

    108501_infanta_urraca = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_08
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:108501
                this = character:108501
            }
        }
    }

    106000_king_antso_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_06
            }
            accessory = {
                mode = add
                gene = headgear
                template = ep1_western_royalty
                accessory = male_headgear_secular_ep1_western_royalty_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = fp2_christian_high_nobility_clothes
                accessory = male_clothes_secular_fp2_iberian_christian_nobility_02_high
            }
            accessory = {
                mode = add
                gene = cloaks
                template = western_royalty
                accessory = male_cloaks_secular_western_royalty_01
            }  
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:106000
                this = character:106000
                portrait_royalty_trigger = { 
                    CULTURE_INPUT = fp2_iberian_christian
                }
            }
        }
    }

    106000_king_antso = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_western_06
            } 
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:106000
                this = character:106000
            }
        }
    }

    107590_el_cid = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_03
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_ep3_byzantine_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:107590
                this = character:107590
            }
        }
    }

    110500_king_sancho_of_aragon = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_fp2_iberian_muslim_02
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp2_iberian_christian_02
            } 
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:110500
                this = character:110500
            }
        }
    }

    #----------------------------------------------------------------------# Others (non-bookmarks) #----------------------------------------------------------------#

    214_king_philippe_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = sp3_hairstyles
                accessory = m_hair_sp3_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = sp3_beards_straight
                accessory = m_beard_sp3_western_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = sp3_western_royalty
                accessory = m_headgear_sec_sp3_western_roy_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = sp3_western_royalty_clothes
                accessory = m_clothes_sec_sp3_western_roy_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:214
                this = character:214
                portrait_royalty_trigger = {
                    CULTURE_INPUT = western
                }
                has_dlc_feature = couture_of_the_capets
            }
        }
    }
    
    214_king_philippe = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = sp3_hairstyles
                accessory = m_hair_sp3_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = sp3_beards_straight
                accessory = m_beard_sp3_western_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:214
                this = character:214
            }
        }
    }

    1316_emperor_heinrich_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_byzantine_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:1316
                this = character:1316
                portrait_imperial_trigger = { 
                    CULTURE_INPUT = dde_hre
                }
            }
        }
    }

    1316_emperor_heinrich = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_byzantine_01
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_01
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1316
                this = character:1316
            }
        }
    }

    1183_empress_bertha_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.0 # For the randomness to work correctly
            }
            accessory = {
                mode = add
                gene = headgear
                template = sp2_western_imperial
                value = 1.0
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:1183
                this = character:1183
                OR = {
                    portrait_royalty_trigger = { 
                        CULTURE_INPUT = dde_hre
                    }
                    portrait_imperial_trigger = { 
                        CULTURE_INPUT = dde_hre
                    }
                }
            }
        }
    }

    1183_empress_bertha = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.0 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1183
                this = character:1183
            }
        }
    }

    41552_maria_of_alania = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.04 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:41552
                this = character:41552
            }
        }
    }

    762_king_boleslaw = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_ep2_western_01 # As per Artur's request :) 
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:762
                this = character:762
            }
        }
    }

    161257_queen_wyszeslawa = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = female_hair_northern_03
                type = female
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:161257
                this = character:161257
            }
        }
    }

    73683_sultan_muhammad = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                accessory = male_hair_fp2_iberian_muslim_03
            }
            accessory = {
                mode = add
                gene = beards
                template = scripted_character_beards_02
                accessory = male_beard_fp2_iberian_muslim_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:73683
                this = character:73683
            }
        }
    }

    # Harald Fairhair's hair when it ain't so fair.
    harald_tanglehair = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                accessory = male_hair_northern_01
            }
        }   
        outfit_tags = { male_hair_northern_01 }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                OR = {
                    has_character_modifier = harald_tanglehairs_vow_modifier 
                    has_character_modifier = harald_tanglehairs_reminder_modifier
                    has_character_modifier = harald_tanglehairs_vow_broken_modifier
                }
            }
        }
    }

    # Wards and Wardens special easter egg character
    uzluk_of_narim_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_steppe_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_steppe_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = steppe_low_nobility_clothes
                accessory = male_clothes_secular_steppe_nobility_02_low
            }
            accessory = {
                mode = add
                gene = headgear
                template = steppe_common
                accessory = male_headgear_secular_steppe_common_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:302866
                this = character:302866
                portrait_low_nobles_trigger = {
                    CULTURE_INPUT = steppe
                }
            }
        }
    }

    uzluk_of_narim = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_steppe_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_steppe_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:302866
                this = character:302866
            }
        }
    }

    gunes_of_narim = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = steppe_hairstyles_straight
                accessory = female_hair_steppe_01
                type = female
            }
            accessory = {
                mode = add
                gene = clothes
                template = steppe_low_nobility_clothes
                accessory = female_clothes_secular_steppe_nobility_02_low
                type = female
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:additional_karakar_3
                this = character:additional_karakar_3
            }
        }
    }

    466517_princess_tamar_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = f_hair_ep3_byzantine_04
                type = female 
            }
            accessory = {
                mode = add
                gene = headgear
                template = byzantine_high_nobility
                accessory = f_headgear_sec_ep3_byzantine_era2_hi_nob_01	
                type = female
            }		
            accessory = {
                mode = add
                gene = clothes
                template = byzantine_high_nobility_clothes
                accessory = f_clothes_sec_ep3_georgian_era2_nob_02_hi
				type = female
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 200
				exists = this
				exists = character:466517
				this = character:466517
                portrait_high_nobles_headgear_trigger = { 
                    CULTURE_INPUT = epe_georgian
                }
            }
        }
    }

    466517_princess_tamar_start = { 
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = f_hair_ep3_byzantine_04
                type = female 
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
				exists = this
				exists = character:466517
				this = character:466517
            }
        }
    }

        163115_ahmad_egypt = { # Ahmad ibn Tulun
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_09
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_fp3_iranian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163115
                this = character:163115
            }
        }
    }
    144000_haraldr_vestfold = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_northern_01
            }
            accessory = {
                mode = add
                gene = beards
                template = fp1_beards_straight
                accessory = male_beard_fp1_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:144000
                this = character:144000
            }
        }
    }
    # 163103_aella_northumberland = { # Aella
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_western_01
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = western_beards_straight
    #             accessory = male_beard_western_09
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:163103
    #             this = character:163103
    #         }
    #     }
    # }
    # 41505_ashot_armenia = { # Ashot
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_byzantine_02
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = scripted_character_beards_01
    #             accessory = male_beard_western_01
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:41505
    #             this = character:41505
    #         }
    #     }
    # }
    145201_gregorios_napoli = { # Gregorios
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = orthodox_beards
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:145201
                this = character:145201
            }
        }
    }
    145646_dawit_dembiya = { # Dawit
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_sub_saharan_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_sub_saharan_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:145646
                this = character:145646
            }
        }
    }
    161555_werner_worms = { # Werner Salian
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep2_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_05
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:161555
                this = character:161555
            }
        }
    }
    82235_siemowit_wielkopolska = { # Siemowit Piast
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_fp1_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:82235
                this = character:82235
            }
        }
    }
    # 6811_dyre_kiev = { # Dyre the Stranger
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_fp1_03
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = male_beard_fp1_02
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:6811
    #             this = character:6811
    #         }
    #     }
    # }
    159458_dumnarth_cornwall = { # Dumnarth
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_05
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_07
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:159458
                this = character:159458
            }
        }
    }
    145611_aba_socotra = { # Aba
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_mena_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:145611
                this = character:145611
            }
        }
    }
    81831_rhodri_gwynedd = { # Rhodri the Great
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:81831
                this = character:81831
            }
        }
    }
    5788_gudrod_western_isles = { # Gudrod
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_northern_02
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_07
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:5788
                this = character:5788
            }
        }
    }
    1152_richard_capua = { # Richard Drengot
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_09
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_10
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1152
                this = character:1152
            }
        }
    }
    20734_fariburz_shirvan = { # Fariburz
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = mena_hairstyles_wavy
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = fp3_iranian_beards_straight
                accessory = m_beard_fp3_iranian_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:20734
                this = character:20734
            }
        }
    }
    109610_shisnand_coimbra = { # Shishnand
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp2_hairstyles_iberian_christian_straight
                accessory = male_hair_fp2_iberian_christian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_straight
                accessory = male_beard_fp2_iberian_muslim_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:109610
                this = character:109610
            }
        }
    }
    724_alusian_vidin = { # Alusian
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:724
                this = character:724
            }
        }
    }
    670_rostislav_tmutarakan = { # Rostislav
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = northern_hairstyles_curly
                accessory = male_hair_mena_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:670
                this = character:670
            }
        }
    }
    20289_werner_aargau = { # Werner
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:20289
                this = character:20289
            }
        }
    }
    # 418_herbert_vermandois = { # Herbert
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_western_03
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = no_beard
    #             value = 0.5
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:418
    #             this = character:418
    #         }
    #     }
    # }
    20770_ishaq_baalbek = { # Ishaq
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = no_hairstyles
                accessory = bald
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_mena_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:20770
                this = character:20770
            }
        }
    }
    100546_erik_svealand = { # Erik the Heathen
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_fp1_06
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp1_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:100546
                this = character:100546
            }
        }
    }
    20584_krutoj_nordmark = { # Krutoj
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_northern_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_northern_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:20584
                this = character:20584
            }
        }
    }
    72048_piarres_albarracin = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_fp2_iberian_christian_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp2_iberian_christian_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:72048
                this = character:72048
            }
        }
    }
    214000_john_ulster = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = no_hairstyles
                accessory = bald
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:214000
                this = character:214000
            }
        }
    }
    218800_kulin_bosna = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = m_hair_ep3_byzantine_01
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_curly
                accessory = m_beard_ep3_byzantine_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:218800
                this = character:218800
            }
        }
    }
    205570_rogier_albi = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_byzantine_02
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_05
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:205570
                this = character:205570
            }
        }
    }
    125501_temujin_ulaanbaatar_start = {
        dna_modifiers = {
             accessory = {
                mode = add
                gene = hairstyles
                template = mpo_mongol_hairstyles
                accessory = m_hair_mpo_mongol_03
            }
            accessory = {
                mode = add
                gene = beards
                template = mpo_mongol_beards
                accessory = m_beard_mpo_mongol_02
            }
            accessory = {
                mode = add
                gene = headgear
                template = mpo_mongol_headgear
                accessory = m_headgear_sec_mpo_mongol_com_01
            }
            accessory = {
                mode = add
                gene = clothes
                template = mpo_mongol_clothes
                accessory = m_clothes_sec_mpo_mongol_nob_01_hi
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 2000
                exists = this
                exists = character:125501
                this = character:125501
                portrait_high_nobles_headgear_trigger = {
                    CULTURE_INPUT = steppe
                }
            }
        }
    }

    125501_temujin_ulaanbaatar = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = mpo_mongol_hairstyles
                accessory = m_hair_mpo_mongol_03
            }
            accessory = {
                mode = add
                gene = beards
                template = mpo_mongol_beards
                accessory = m_beard_mpo_mongol_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 1000
                exists = this
                exists = character:125501
                this = character:125501
            }
        }
    }
    172004_borte = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = mpo_mongol_hairstyles
                accessory = f_hair_mpo_mongol_02
                type = female
            }
            accessory = {
                mode = add
                gene = headgear
                template = no_headgear
                value = 0.5
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 1000
                exists = this
                exists = character:172004
                this = character:172004
            }
        }
    }	
	
    144228_nur_al_din_muhammed_nizari = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_mena_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:144228
                this = character:144228
            }
        }
    }
    189226_gunda_orangallu = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = no_hairstyles
                accessory = bald
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:189226
                this = character:189226
            }
        }
    }
    82198_algimantas_lithuanians = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_07
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_northern_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:82198
                this = character:82198
            }
        }
    }
    232758_sargis_greater_armenia = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = m_hair_ep3_byzantine_04
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_straight
                accessory = m_beard_ep3_byzantine_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:232758
                this = character:232758
            }
        }
    }
    144139_khusraw_malik_punjab = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = mena_hairstyles_straight
                accessory = male_hair_western_09
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_fp3_iranian_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:144139
                this = character:144139
            }
        }
    }
    215529_andronikos_komnenos = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = byzantine_hairstyles_wavy
                accessory = male_hair_western_09
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_curly
                accessory = m_beard_ep3_byzantine_03
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100 
                exists = this
                exists = character:215529
                this = character:215529
            }
        }
    }
    # 215518_manuel = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = byzantine_hairstyles_wavy
    #             accessory = male_hair_western_08
    #             type = male
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = male_beard_fp1_02
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:215518
    #             this = character:215518
    #         }
    #     }
    # }
    # 231066_theodora = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             type = female
    #             template = ep3_byzantine_hairstyle
    #             accessory = f_hair_ep3_byzantine_03
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:231066
    #             this = character:231066
    #         }
    #     }
    # }
    # 466517_tamar = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = ep3_byzantine_hairstyle
    #             accessory = f_hair_ep3_byzantine_04
    #             type = female
    #         }
    #         accessory = {
    #             mode = add
    #             gene = cloaks
    #             template = no_cloak
    #             value = 0.5
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:466517
    #             this = character:466517
    #         }
    #     }
    # }
    # 216510_rusudan = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = ep3_byzantine_hairstyle
    #             accessory = f_hair_ep3_byzantine_03
    #             type = female
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:216510
    #             this = character:216510
    #         }
    #     }
    # }
    # 216515_giorgi = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = ep3_byzantine_hairstyle
    #             accessory = m_hair_ep3_byzantine_01
    #             type = male
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = ep3_beards_curly
    #             accessory = m_beard_ep3_byzantine_04
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:216515
    #             this = character:216515
    #         }
    #     }
    # }
    # 225000_kilij_arslan = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = steppe_hairstyles_wavy
    #             accessory = male_hair_steppe_01
    #             type = male
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = fp3_turkic_beards_straight
    #             accessory = m_beard_fp3_iranian_02
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:225000
    #             this = character:225000
    #         }
    #     }
    # }
    # 225004_suleyman = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = steppe_hairstyles_wavy
    #             accessory = male_hair_steppe_01
    #             type = male
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = ep3_beards_straight
    #             accessory = m_beard_ep3_byzantine_01
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:225004
    #             this = character:225004
    #         }
    #     }
    # }
    # 225002_kaykhusraw = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = steppe_hairstyles_wavy
    #             accessory = male_hair_steppe_01
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:225002
    #             this = character:225002
    #         }
    #     }
    # }
    34412_ioannes_kantakouzenos = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = m_hair_ep3_byzantine_01
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_curly
                accessory = m_beard_ep3_byzantine_04
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:34412
                this = character:34412
            }
        }
    }
    34410_michael_kantakouzenos = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = byzantine_hairstyles_straight
                accessory = male_hair_byzantine_02
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = orthodox_beards
                accessory = male_beard_western_03
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:34410
                this = character:34410
            }
        }
    }
    215504_andronikos_angelos = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = m_hair_ep3_byzantine_02
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_straight
                accessory = m_beard_ep3_byzantine_02
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:215504
                this = character:215504
            }
        }
    }
    # 215503_alexios = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_western_09
    #             type = male
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = m_beard_ep2_western_01
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:215503
    #             this = character:215503
    #         }
    #     }
    # }
    # 215508_ioannes = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = m_hair_ep2_western_01
    #             type = male
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = ep3_beards_curly
    #             accessory = m_beard_ep3_byzantine_04
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:215508
    #             this = character:215508
    #         }
    #     }
    # }
    34281_alexios_palaiologos = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = m_hair_ep3_byzantine_03
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_curly
                accessory = m_beard_ep3_byzantine_03
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:34281
                this = character:34281
            }
        }
    }
    34408_eirene = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                type = female
                template = byzantine_hairstyles_straight
                accessory = female_hair_byzantine_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:34408
                this = character:34408
            }
        }
    }
    # 226000_saladin = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = mena_hairstyles_wavy
    #             accessory = male_hair_western_03
    #             type = male
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = fp2_beards_straight
    #             accessory = male_beard_fp2_iberian_muslim_01
    #             type = male
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:226000
    #             this = character:226000
    #         }
    #     }
    # }
    226052_saphadin = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = mena_hairstyles_wavy
                accessory = male_hair_western_03
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = mena_beards_curly
                accessory = male_beard_mena_02
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:226052
                this = character:226052
            }
        }
    }
    226051_ali = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = mena_hairstyles_curly
                accessory = male_hair_mena_04
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_curly
                accessory = m_beard_ep3_byzantine_03
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:226051
                this = character:226051
            }
        }
    }
    # 223522_sibylla = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = western_hairstyles_straight
    #             accessory = female_hair_western_03
    #             type = female
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:223522
    #             this = character:223522
    #         }
    #     }
    # }
    223000_levon_roupenid = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep3_byzantine_hairstyle
                accessory = m_hair_ep3_byzantine_01
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_straight
                accessory = m_beard_ep3_byzantine_01
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:223000
                this = character:223000
            }
        }
    }
    223003_roupen = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_01
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_01
                type = male
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:223003
                this = character:223003
            }
        }
    }
    begteginid_1_gokbori = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = turkic_hairstyles_curly
                accessory = male_hair_mena_04
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_curly
                accessory = male_beard_fp2_iberian_christian_03
            }			
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:begteginid_1
                this = character:begteginid_1
            }
        }
    }
    begteginid_1_gokbori_low_noble = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = turkic_hairstyles_curly
                accessory = male_hair_mena_04
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_curly
                accessory = male_beard_fp2_iberian_christian_03
            }
            accessory = {
                mode = add
                gene = headgear
                template = seljuk_turkic_headgear
                accessory = male_headgear_epe_white_mena_nobility_03
            }
            accessory = {
                mode = add
                gene = clothes
                template = seljuk_turkic_clothes
                accessory = male_clothes_secular_seljuk_nobility_01_low
            }			
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:begteginid_1
                this = character:begteginid_1
				highest_held_title_tier = tier_county				
            }
        }
    }	
    144041_ghazi = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = turkic_hairstyles_straight
                accessory = male_hair_turkic_04
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = turkic_thin_beards_straight
                accessory = male_beard_steppe_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:144041
                this = character:144041
            }
        }
    }
    144041_ghazi_hi_noble = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = turkic_hairstyles_straight
                accessory = male_hair_turkic_04
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = turkic_thin_beards_straight
                accessory = male_beard_steppe_02
            }
            accessory = {
                mode = add
                gene = headgear
                template = seljuk_turkic_headgear
                accessory = male_Seljuk_Leather_Hat_02
            }
            accessory = {
                mode = add
                gene = clothes
                template = seljuk_turkic_clothes
                accessory = m_clothes_fp3_seljuk_nobility_06_high
            }				
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:144041
                this = character:144041
				highest_held_title_tier = tier_duchy				
            }
        }
    }	
    begteginid_5_yusuf = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = sp4_mena_hairstyles
                accessory = m_hair_sp4_mena_01
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_straight
                accessory = male_beard_fp2_iberian_christian_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:begteginid_5
                this = character:begteginid_5
            }
        }
    }
	
    begteginid_5_yusuf_low_noble = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = sp4_mena_hairstyles
                accessory = m_hair_sp4_mena_01
                type = male
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_straight
                accessory = male_beard_fp2_iberian_christian_01
            }
            accessory = {
                mode = add
                gene = headgear
                template = seljuk_turkic_headgear
                accessory = male_headgear_epe_white_mena_nobility_02
            }
            accessory = {
                mode = add
                gene = clothes
                template = seljuk_turkic_clothes
                accessory = m_clothes_fp3_seljuk_nobility_07_lo
            }				
        }
        weight = {
            base = 0
            modifier = {
                add = 200
                exists = this
                exists = character:begteginid_5
                this = character:begteginid_5
				highest_held_title_tier = tier_county					
            }
        }
    }	
    223650_raimon = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = ep2_beards
                accessory = m_beard_ep2_western_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:223650
                this = character:223650
            }
        }
    }
    31384_eschiva = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                type = female
                template = all_hairstyles
                accessory = female_hair_western_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:31384
                this = character:31384
            }
        }
    }
    # 223523_baudouin = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_western_03_disease
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = no_beard
    #             value = 0.5
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:223523
    #             this = character:223523
    #         }
    #     }
    # }
    223541_baby_baudouin = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = clothes
                template = western_royalty_clothes
                accessory = male_clothes_secular_western_nobility_01_high
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:223541
                this = character:223541
            }
        }
    }
    163096_muhammad = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_mena_02
            }
            accessory = {
                mode = add
                gene = beards
                template = mena_beards_curly
                accessory = male_beard_mena_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:163096
                this = character:163096
            }
        }
    }
    175080_vicayalaya = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = indian_hairstyles_curly
                accessory = male_hair_mena_04
            }
            accessory = {
                mode = add
                gene = beards
                template = mena_beards_curly
                accessory = male_beard_mena_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:175080
                this = character:175080
            }
        }
    }
    71908_lambert = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = ep2_hairstyles_western
                accessory = m_hair_ep2_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:71908
                this = character:71908
            }
        }
    }
    175030_amoghavarsha = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = no_hairstyles
                value = 0.5
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:175030
                this = character:175030
            }
        }
    }
    34980_badr = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_curly
                accessory = m_beard_ep3_byzantine_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:34980
                this = character:34980
            }
        }
    }
    110520_berenguer = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = fp2_hairstyles_iberian_christian_wavy
                accessory = male_hair_fp2_iberian_christian_02
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_09
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:110520
                this = character:110520
            }
        }
    }
    40406_raoul = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_09
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:40406
                this = character:40406
            }
        }
    }
    20829_benavert = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = fp2_beards_curly
                accessory = male_beard_fp2_iberian_muslim_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:20829
                this = character:20829
            }
        }
    }
    112_edgar = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep2_western_02
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_09
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:112
                this = character:112
            }
        }
    }
    45035_ali = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = no_hairstyles
                accessory = bald
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_mena_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:45035
                this = character:45035
            }
        }
    }
    1182_pierre = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = western_hairstyles_straight
                accessory = male_hair_western_01
            }
            accessory = {
                mode = add
                gene = beards
                template = no_beard
                value = 0.5
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:1182
                this = character:1182
            }
        }
    }
    burman001_anawrahta = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_indian_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp2_iberian_christian_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:burman001
                this = character:burman001
            }
        }
    }
    188142_prithviraja = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_indian_01
            }
            accessory = {
                mode = add
                gene = beards
                template = indian_beards_straight
                accessory = male_beard_indian_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:188142
                this = character:188142
            }
        }
    }
    223590_renaud = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_09
            }
            accessory = {
                mode = add
                gene = beards
                template = western_beards_straight
                accessory = male_beard_western_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:223590
                this = character:223590
            }
        }
    }
    # 205966_henri = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = no_hairstyles
    #             value = 0.5
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = m_beard_ep2_western_01
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:205966
    #             this = character:205966
    #         }
    #     }
    # }
    # 204510_richard = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_western_09
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = male_beard_fp2_iberian_muslim_01
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:204510
    #             this = character:204510
    #         }
    #     }
    # }
    161018_maghan = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = sub_saharan_hairstyles_afro
                accessory = male_hair_sub_saharan_02
            }
            accessory = {
                mode = add
                gene = beards
                template = sub_saharan_beards_afro
                accessory = male_beard_sub_saharan_03
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:161018
                this = character:161018
            }
        }
    }
    32233_lalibela = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = sub_saharan_hairstyles_afro
                accessory = male_hair_sub_saharan_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_western_07
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:32233
                this = character:32233
            }
        }
    }
    212600_heinrich_start = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_fp2_iberian_muslim_02
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp2_iberian_christian_01
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:212600
                this = character:212600
            }
        }
    }
    # 212501_barbarossa = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_western_01
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = male_beard_western_06
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:212501
    #             this = character:212501
    #         }
    #     }
    # }
    # 1700_basileios_makedon = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = male_hair_byzantine_02
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = male_beard_mena_01
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:1700
    #             this = character:1700
    #         }
    #     }
    # }
    144052_mohammed = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = male_hair_western_03
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_mena_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:144052
                this = character:144052
            }
        }
    }
    90028_hereweard_the_wake = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep3_byzantine_04
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = male_beard_fp2_iberian_christian_04
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:90028
                this = character:90028
            }
        }
    }
    norman_crispin_06_robert_phrangopoulos = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_ep3_byzantine_01
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_ep3_byzantine_02
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:norman_crispin_06
                this = character:norman_crispin_06
            }
        }
    }
    41702_hasan = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = iranian_hairstyles_wavy
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = ep3_beards_curly
                accessory = m_beard_ep3_byzantine_04
            }
			accessory = {
				mode = add
				gene = clothes
				template = fp3_iranian_low_nobility_clothes
				accessory = male_clothes_secular_iranian_nobility_03_low
			}
			accessory = {
				mode = add
				gene = headgear
				template = fp3_iranian_low_nobility
				accessory = male_headgear_secular_iranian_qalansuwwa_04_white
			}			
			
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:41702
                this = character:41702
            }
        }
    }
    3046_suleyman = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = all_hairstyles
                accessory = m_hair_fp3_iranian_03
            }
            accessory = {
                mode = add
                gene = beards
                template = all_beards
                accessory = m_beard_ep3_byzantine_02
            }
			accessory = {
				mode = add
				gene = clothes
				template = seljuk_turkic_clothes
				accessory = m_clothes_fp3_seljuk_nobility_07_high
			}
			accessory = {
				mode = add
				gene = headgear
				template = seljuk_turkic_headgear
				accessory = m_headgear_sec_fp3_turkic_nob_02
			}			
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                exists = this
                exists = character:3046
                this = character:3046
            }
        }
    }
    1066_tatus = {
        dna_modifiers = {
            accessory = {
				mode = add
				gene = beards
				template = seljuk_beards_straight
				accessory = mena_islamic_pointed_beard_03
			}
			accessory = {
				mode = add
				gene = hairstyles
				template = turkic_hairstyles_straight
				accessory = m_hair_fp3_iranian_01
			}
			accessory = {
				mode = add
				gene = clothes
				template = western_turkic_clothes
				accessory = male_clothes_Cuman_nobility_02_high
			}
			accessory = {
				mode = add
				gene = headgear
				template = western_turkic_headgear
				accessory = male_Turkic_Eagle_Crown_02
			}
        }
        weight = {
            base = 0
            modifier = {
                add = 1000
                exists = this
                exists = character:20641
                this = character:20641
				highest_held_title_tier = tier_kingdom
            }
        }
    }	
    # 1700_basil_i = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = m_hair_ep3_byzantine_01
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = m_beard_ep3_byzantine_03
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:1700
    #             this = character:1700
    #         }
    #     }
    # }
    # 1732_konstantinos_x = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = m_hair_ep3_byzantine_04
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = m_beard_ep3_byzantine_04
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:1732
    #             this = character:1732
    #         }
    #     }
    # }
    # 215530_manuel_i_start = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = m_hair_ep3_byzantine_01
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = m_beard_ep3_byzantine_02
    #         }
    #         accessory = {
    #             mode = add
    #             gene = headgear
    #             template = ep3_byzantine_era2_imperial
    #             accessory = m_headgear_sec_ep3_byzantine_era2_imp_01
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 200
    #             exists = this
    #             exists = character:215530
    #             this = character:215530
    #             portrait_imperial_trigger = {
    #                 CULTURE_INPUT = byzantine
    #             }
    #         }
    #     }
    # }
    # 215530_manuel_i = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = all_hairstyles
    #             accessory = m_hair_ep3_byzantine_01
    #         }
    #         accessory = {
    #             mode = add
    #             gene = beards
    #             template = all_beards
    #             accessory = m_beard_ep3_byzantine_02
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:215530
    #             this = character:215530
    #         }
    #     }
    # }
    # 223743_maria_of_antioch = {
    #     dna_modifiers = {
    #         accessory = {
    #             mode = add
    #             gene = hairstyles
    #             template = ep3_byzantine_hairstyle
    #             accessory = f_hair_ep3_byzantine_04
    #             type = female
    #         }
    #     }
    #     weight = {
    #         base = 0
    #         modifier = {
    #             add = 100
    #             exists = this
    #             exists = character:223743
    #             this = character:223743
    #         }
    #     }
    # }

}