﻿# We can use these modifiers for adding specific hairstyles and beards to historical and vanity characters

hairstyles_scripted_characters = {

    usage = game
    selection_behavior = weighted_random
    priority = 9

    male_hair_western_01 = { # Bowl cut
        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 = 999
				exists = this
                exists = character:142 #robert_curthose
                this = character:142 #robert_curthose
            }
        }   
    }

    male_hair_western_02= { # Medium/long wavy
        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 = 999
                exists = this
                exists = character:vigg_04 #Hengest
                this = character:vigg_04 #Hengest
            }
        } 
    }

    male_hair_western_03 = { # Buzz cut
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.06 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_olof_bjork
                this = character:easteregg_olof_bjork
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_maximilian_olbers
                this = character:easteregg_maximilian_olbers
            }
            modifier = {
                add = 999
                exists = this
                exists = character:syagri_06 #Syagrus
                this = character:syagri_06 #Syagrus
            }
        }   
    }

    male_hair_western_04 = { # Fade, shaved sides
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.08 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:6878 #jarl_haesteinn
				this = character:6878 #jarl_haesteinn
            }
            modifier = {
                add = 999
                exists = this
                exists = character:aelling_01 #Aelle
                this = character:aelling_01 #Aelle
            }
        }   
    }

    male_hair_western_05 = { # Medium/long wavy with fringe
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.10 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0

        }
    }

    male_hair_western_06 = { # Messy bowl
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.13 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:6448 #count_eudes
				this = character:6448 #count_eudes
            }
            modifier = {
                add = 999
				exists = this
                exists = character:107500 #king_sancho
                this = character:107500 #king_sancho
            }
            modifier = {
                add = 999
				exists = this
                exists = character:214 #king_philippe
                this = character:214 #king_philippe
            }
            modifier = {
                add = 999
				exists = this
                exists = character:146 #william_the_red
                this = character:146 #william_the_red
            }
        }
    }

    male_hair_western_07 = { # Long side part
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.15 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:163112 #halfdan_whiteshirt
				this = character:163112 #halfdan_whiteshirt
            }
            modifier = {
                add = 999
				exists = this
                exists = character:30228 #king_louis
                this = character:30228 #king_louis
            }
            modifier = {
                add = 999
				exists = this
                exists = character:984 #king_malcom
                this = character:984 #king_malcom
            }
            modifier = {
                add = 999
				exists = this
                exists = character:212892 #ota_the_handsome
                this = character:212892 #ota_the_handsome
            }
            modifier = {
                add = 999
                exists = this
                exists = character:762 #king_boleslaw
                this = character:762 #king_boleslaw
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_joel_hansson
                this = character:easteregg_joel_hansson
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_peter_johannesson
                this = character:easteregg_peter_johannesson
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_petter_vilberg
                this = character:easteregg_petter_vilberg
            }

             modifier = {
                add = 999
                exists = this
                exists = character:168137
                this = character:168137
            }
            modifier = {
                add = 999
                exists = this
                exists = character:200290 #Atawulf
                this = character:200290 #Arawulf
            }
            modifier = {
                add = 999
                exists = this
                exists = character:180618 #Bahram
                this = character:180618 #Bahram
            }
            modifier = {
                add = 999
                exists = this
                exists = character:997004 #Childeric
                this = character:997004 #Childeric
            }
        }
    }

    male_hair_western_08 = { # Medium/long center part
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.18 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:quadi_04 # Hermerich of the Quadi
                this = character:quadi_04 # Hermerich of the Quadi
            }
        }
    }

    male_hair_western_09 = { # Short clumpy
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.2 # For the randomness to work correctly
            }
        } 
        weight = {
           base = 0
            modifier = {
                add = 400
                exists = this
				exists = character:83355 #petty_king_murchad
				this = character:83355 #petty_king_murchad
            }
            modifier = {
                add = 999
				exists = this
                exists = character:109500 #king_garcia
                this = character:109500 #king_garcia
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_henrik_fahraeus
                this = character:easteregg_henrik_fahraeus
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_jakub_potapczyk
                this = character:easteregg_jakub_potapczyk
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_petter_lundh
                this = character:easteregg_petter_lundh
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_max_weltz
                this = character:easteregg_max_weltz
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_max_collin
                this = character:easteregg_max_collin
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_martin_anward
                this = character:easteregg_martin_anward
            }
            modifier = {
                add = 999
                exists = this
		        exists = character:6392 #charlemagne
		        this = character:6392 #charlemagne
            }
	}
    }

    male_hair_western_10 = { # Tonsure
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.22 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            
        }
    }

    male_hair_mena_01 = { # Short curly
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.24 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:3924 #emir_yahya
				this = character:3924 #emir_yahya
            }
            modifier = {
                add = 999
				exists = this
                exists = character:106000 #king_antso
                this = character:106000 #king_antso
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_alexander_oltner
                this = character:easteregg_alexander_oltner
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_ismael_serrano
                this = character:easteregg_ismael_serrano
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_christian_daflos
                this = character:easteregg_christian_daflos
            }
        }
    }

    male_hair_mena_02 = { # Well kempt wavy
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.27 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            
            modifier = {
                add = 999
				exists = this
				exists = character:522 #duke_vratislav
				this = character:522 #duke_vratislav
            }
            modifier = {
                add = 999
				exists = this
                exists = character:108500 #king_alfonso
                this = character:108500 #king_alfonso
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_sean_hughes
                this = character:easteregg_sean_hughes
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_paul_depre
                this = character:easteregg_paul_depre
            }
            modifier = {
                add = 999
                exists = this
                exists = character:easteregg_zack_holmgren
                this = character:easteregg_zack_holmgren
            }
            modifier = {
                add = 999
                exists = this
                exists = character:159431 #Conan Meriadoc
                this = character:159431 #tiberius
            } 
            modifier = {
               	add = 999
                exists = this
		        exists = character:999103 #king_alaric
		        this = character:999103 #king_alaric
            }
            modifier = {
                add = 999
                exists = this
                exists = character:159038 #Coel
                this = character:159038 #ACoel
            }
            modifier = {
                add = 999
                exists = this
                exists = character:constantinus_05 #Ambrosius
                this = character:constantinus_05 #Ambrosius
            }
        }
    }

    male_hair_mena_03 = { # Curly ball
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.30 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
                exists = this
                exists = character:205141 #Ceredig
                this = character:205141 #Ceredig
            }
        }
    }

    male_hair_mena_04 = { # Medium curly
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.32 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:easteregg_james_beaumont
				this = character:easteregg_james_beaumont
            }
            modifier = {
                add = 999
                exists = this
                exists = character:maldras_06 #Hermenerich
                this = character:maldras_06 #Hermenerich
            }
	    modifier = {
                add = 999
                exists = this
                exists = character:982001 #Abu Karib
                this = character:982001 #Abu Karib
            }
	    modifier = {
                add = 999
                exists = this
                exists = character:xionite_001 #Kidara
                this = character:xionite_001 #Kidara
            }
        }
    }

    male_hair_byzantine_01 = { # Curled bowl
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.35 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:90104 #charles_the_bald
				this = character:90104 #charles_the_bald
            }
            modifier = {
                add = 999
				exists = this
                exists = character:1316 #emperor_heinrich
                this = character:1316 #emperor_heinrich
            }
            modifier = {
                add = 999
                exists = this
                exists = character:992016 #theodoric_the_great
                this = character:992016 #theodoric_the_great
            }
            modifier = {
                add = 999
		        exists = this
                exists = character:83432 #Eochaid
                this = character:83432 #Eochaid
            }
        }
    }

    male_hair_byzantine_02 = { # Roman style
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.38 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
             modifier = {
                add = 999
				exists = this
                exists = character:easteregg_nils_wadensten
                this = character:easteregg_nils_wadensten
            }
              	add = 999
                exists = this
		        exists = character:900062 #stilicho
		        this = character:900062 #stilicho
            }
            modifier = {
                add = 999
                exists = this
                exists = character:70519  #Imperator Arcadius I
                this = character:70519  #Imperator Arcadius I
	        }
            modifier = {
                add = 999
                exists = this
                exists = character:145227 #Imperator Honorius I
                this = character:145227 #Imperator Honorius I
	        }
            modifier = {
                add = 999
                exists = this
                exists = character:nepos_02  #Nepos
                this = character:nepos_02  #Nepos
	        }
            modifier = {
                add = 999
                exists = this
                exists = character:70515  #Zeno
                this = character:70515  #Zeno
	        }
            modifier = {
               	add = 999
                exists = this
			    exists = character:145237 #julian_the_apostate
			    this = character:145237 #julian_the_apostate
            }
            modifier = {
                add = 999
                exists = this
                exists = character:londinium_01 #Riothamus
                this = character:londinium_01 #Riothamus
            }
	    modifier = {
               	add = 999
                exists = this
		exists = character:arsacid_58 #vramshapuh
		this = character:arsacid_58 #vramshapuh
	    }
	   }
    }

    male_hair_sub_saharan_01 = { # Short african
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.41 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
        weight = {
               	base = 0
		modifier = {
			add = 999
                	exists = this
                	exists = character:nuvelan_11 #Gildo
                	this = character:nuvelan_11 #Gildo
		}
		modifier = {
			add = 999
                	exists = this
                	exists = character:aksum_16 #Ouazeba
                	this = character:aksum_16 #Ouazeba
		}
    	}
    }

    male_hair_sub_saharan_02 = { # Small afro
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.43 # For the randomness to work correctly
            }
        }   
        weight = {
            	base = 0
            	modifier = {
               	add = 999
                exists = this
		        exists = character:aksum_17 #eon
		        this = character:aksum_17 #eon
	        }
	}
    }

    male_hair_sub_saharan_03 = { # Short dreads
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.46 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_rtt_01 = { # Scottish Mullet
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.49 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_magne_skjaeran
                this = character:easteregg_magne_skjaeran
            }
        }
    }

    male_hair_rtt_02 = { # Big page boy
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.52 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_indian_01 = { # Short Pompadour
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.54 # For the randomness to work correctly
            }
	    }
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_joacim_carlberg
                this = character:easteregg_joacim_carlberg
            }
        }
    }

    male_hair_indian_02 = { # Pompadour with curled neck hair
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.57 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_matthew_clohessy
                this = character:easteregg_matthew_clohessy
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_emil_tisander
                this = character:easteregg_emil_tisander
            }
        }
    }

    male_hair_indian_03 = { # High man bun
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.60 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_northern_01 = { # Long wavy metal hair
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.62 # For the randomness to work correctly
            }
        }   
        weight = {
           base = 0
           modifier = {
            modifier = {
                add = 999
				exists = this
				exists = character:163111 #ivar_the_boneless
				this = character:163111 #ivar_the_boneless
            }
            modifier = {
                add = 999
				exists = this
                exists = character:102531 #harald_hardrade
                this = character:102531 #harald_hardrade
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_joacim_carlberg
                this = character:easteregg_joacim_carlberg
            }
            modifier = {
				add = 999
				exists = this
				exists = character:easteregg_struan_mccallum
				this = character:easteregg_struan_mccallum
			}
                add = 999
                exists = this
		        exists = character:999105 #athaulf
		        this = character:999105 #athaulf
            }
	    }
    }

    male_hair_northern_02 = { # Long partly let out with ponytail
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.65 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:163110 #sigurdr_snake_in_the_eye
				this = character:163110 #sigurdr_snake_in_the_eye
            }
            modifier = {
                add = 999
                exists = this
                exists = character:144000 #haraldr_fairhair
                this = character:144000 #haraldr_fairhair
            }
            modifier = {
                add = 999
				exists = this
                exists = character:40605 #rurik_rurikid
                this = character:40605 #rurik_rurikid
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_jonas_wickerstrom
                this = character:easteregg_jonas_wickerstrom
            }
            modifier = {
                add = 999
                exists = this
		        exists = character:900016 #faramund
		        this = character:900016 #faramund
            }
	    }
    }

    male_hair_northern_03 = { # Norman style short with shaved back and sides
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.68 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:163108 #bjorn_ironside
				this = character:163108 #bjorn_ironside
            }
            modifier = {
                add = 999
				exists = this
                exists = character:140 #william_the_bastard
                this = character:140 #william_the_bastard
            }
            modifier = {
                add = 999
				exists = this
                exists = character:101515 #king_svend
                this = character:101515 #king_svend
            }
            modifier = {
                add = 999
				exists = this
                exists = character:42018 #karlmann
                this = character:42018 #karlmann
            }
        }
    }

    male_hair_steppe_01 = { # Looped twin braids, forehead patch
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.71 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:159137 #almos_arpad
				this = character:159137 #almos_arpad
            }
        }
    }

    male_hair_steppe_02 = { # Long twin tails, forward combed mohawk
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.74 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_baby = { # baby hair
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = western_baby_hairstyles
                range = { 0 1 } # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_pontus_olofsson
                this = character:easteregg_pontus_olofsson
            }
        }
    }

    ### FP2 Hair ###



    male_hair_fp2_iberian_muslim_01 = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.1 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0

        }
    }

    male_hair_fp2_iberian_muslim_02 = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.2 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
                exists = this
                exists = character:200284 #euric
                this = character:200284 #euric
            }
        }
    }

    male_hair_fp2_iberian_muslim_03 = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.4 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
                exists = this
                exists = character:danis0005
                this = character:danis0005
            }

            modifier = {
                add = 999
                exists = this
                exists = character:surunbaqi0001
                this = character:surunbaqi0001
            }
            modifier = {
                add = 999
                exists = this
                exists = character:107590 #el_cid
                this = character:107590 #el_cid
            }
            modifier = {
                add = 999
                exists = this
                exists = character:159012 #Cadwallon
                this = character:159012 #Cadwallon
            }
        }
    }

     male_hair_fp2_iberian_christian_01 = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.6 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0

        }
    }

    male_hair_fp2_iberian_christian_02 = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.84 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0

        }
    }

    male_hair_fp2_iberian_christian_03 = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 1 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0

        }
    }


    ### FP1 Hair ###

    male_hair_fp1_01 = { # Medium short center part
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.77 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
                exists = this
                exists = character:996002 #odoacer
                this = character:996002 #odoacer
            }
        }
    }

    male_hair_fp1_02 = { # Center part ponytail
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.79 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_fp1_03 = { # Mohawk ish
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.82 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_fp1_04 = { # Medium short pulled back
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.84 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_fp1_05 = { # Long fine
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.87 # For the randomness to work correctly
            }
        }   
	   weight = {
           base = 0
            modifier = {
                add = 999
                exists = this
                exists = character:900016 #Faramund
                this = character:900016 #Faramund
            }
        }
    }

    male_hair_fp1_06 = { # Medium long side part well kempt
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.89 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_fp1_07 = { # Medium long side part thick
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.93 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0   
        }
    }

    male_hair_fp1_08 = { # Long straight with bangs as braids
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.96 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    male_hair_fp1_09 = { # Single braid in back, shaved sides
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.99 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }



##############################################################################################################################################
##############################################################################################################################################
#									#
# 			Female Hairstyles		#
#									#
##############################################################################################################################################
##############################################################################################################################################




    female_hair_western_01 = { # Crown braid
        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 = 999
				exists = this
				exists = character:168314 #waldrada
				this = character:168314 #waldrada
            }
            modifier = {
                add = 999
				exists = this
                exists = character:1183 #empress_bertha
                this = character:1183 #empress_bertha
            }
        }
    }

    female_hair_western_02= { # Long wavy
        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 = 999
				exists = this
                exists = character:easteregg_mathilda_bjarnehed
                this = character:easteregg_mathilda_bjarnehed
            }
        }
    }

    female_hair_western_03 = { # Rolled braid
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.08 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:7757 #duchess_matilda
				this = character:7757 #duchess_matilda
            }
            modifier = {
                add = 999
				exists = this
                exists = character:102505 #queen_ingebjorg
                this = character:102505 #queen_ingebjorg
            }
            modifier = {
                add = 999
				exists = this
                exists = character:765 #princess_swietoslawa
                this = character:765 #princess_swietoslawa
            }
            modifier = {
               	add = 999
                exists = this
                exists = character:930551279 #eudoxia
                this = character:930551279 #eudoxia
            }
            modifier = {
               	add = 999
                exists = this
                exists = character:placidia_01 #placidia
                this = character:placidia_01 #placidia
            }
            modifier = {
               	add = 999
                exists = this
                exists = character:900065 #serena
                this = character:900065 #serena
            }
	}
    }

    female_hair_western_04 = { # Twin braids wavy
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.10 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:123 #queen_ealdgyth
                this = character:123 #queen_ealdgyth
            }
            modifier = {
                add = 999
				exists = this
                exists = character:367 #duchess_mathilde
                this = character:367 #duchess_mathilde
        }
    }
    }

    female_hair_western_05 = { # Behind head wavy
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.13 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_lysann_schlegel
                this = character:easteregg_lysann_schlegel
            }
        }
    }

    female_hair_western_06 = { # Tight updo with barbette
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.15 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
    }
    }

    female_hair_western_07 = { # Twin tails with ribbons
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.18 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
				exists = character:108501 #infanta_urraca
				this = character:108501 #infanta_urraca
            }
            modifier = {
                add = 999
				exists = this
                exists = character:131 #eadgifu_the_fair
                this = character:131 #eadgifu_the_fair
            }
        }
    }

    female_hair_western_08 = { # Twin braids tied up on head
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.21 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:633 #queen_yelizaveta
                this = character:633 #queen_yelizaveta
            }
        }
    }

    female_hair_western_09 = { # Chignon
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.23 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_bianca_savazzi
                this = character:easteregg_bianca_savazzi
            }
            modifier = {
            	add = 999
            	exists = this
				exists = character:easteregg_claudia_baldassi
				this = character:easteregg_claudia_baldassi
            }
	}
    }

    female_hair_western_10 = { # Big tail with ribbons
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.26 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_linda_tiger
                this = character:easteregg_linda_tiger
            }
        }
    }

    female_hair_mena_01 = { # Gold band and braids
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.28 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_mena_02 = { # Behind head long curly
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.31 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_byzantine_01 = { # Twin tails with spiral ribbons
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.34 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_byzantine_02 = { # Curly updo with earrings
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.36 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_sub_saharan_01 = { # Medium afro
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.39 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_sub_saharan_02 = { # Long Rasta braids
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.42 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
			    exists = character:251187 #daurama_daura
			    this = character:251187 #daurama_daura
            }
        }
    }

    female_hair_sub_saharan_03 = { # Short Rasta braids
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.45 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_rtt_01 = { # Milla
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.49 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_rtt_02 = { # Joan of Arc bob
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.51 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_hanna_lohman
                this = character:easteregg_hanna_lohman
            }
        }
    }

    female_hair_rtt_03 = { # Milla gradient
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.54 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_milla_lankinen
                this = character:easteregg_milla_lankinen
            }
        }
    }

    female_hair_indian_01 = { # Tight updo with jewelry
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.57 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_indian_02 = { # Braids with jewelry
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.61 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_indian_03 = { # Let out wavy with jewelry
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.61 # For the randomness to work correctly
            }
        } 
	    weight = {
           base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_debbie_lane
                this = character:easteregg_debbie_lane
            }
        }
    }

    female_hair_northern_01 = { # Small braids and hair tied at neck
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.66 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:6863 #ingrid_bjornsdottir
                this = character:6863 #ingrid_bjornsdottir
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_linnea_thimren
                this = character:easteregg_linnea_thimren
            }
        }
    }

    female_hair_northern_02 = { # Single tight braid
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.69 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_malin_jonsson
                this = character:easteregg_malin_jonsson
            }
        }
    }

    female_hair_northern_03 = { # Long straight
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.73 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 999
				exists = this
                exists = character:6839 #iliana_of_uppland
                this = character:6839 #iliana_of_uppland
            }
            modifier = {
                add = 999
                exists = this
                exists = character:161257 #queen_wyszeslawa
                this = character:161257 #queen_wyszeslawa
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_steacy_mcilwham
                this = character:easteregg_steacy_mcilwham
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_katya_boestad
                this = character:easteregg_katya_boestad
            }
            modifier = {
                add = 999
				exists = this
                exists = character:easteregg_tegan_harris
                this = character:easteregg_tegan_harris
            }
			modifier = {
                add = 999
				exists = this
                exists = character:easteregg_bahar_shefket
                this = character:easteregg_bahar_shefket
            }
            modifier = {
                add = 999
                exists = this
                exists = character:easteregg_alexia_belfort
                this = character:easteregg_alexia_belfort
            }
        }
    }

    female_hair_steppe_01 = { # Twin braids with ribbons and earrings
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.76 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_steppe_02 = { # Tight with twin braids rolled up into two balls, earrings
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.79 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    ### FP2 Hair ###



    female_hair_fp2_iberian_muslim_01 = { # Let out but with smaller braids braided in
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.1 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_fp2_iberian_muslim_02 = { # Let out but with smaller braids braided in
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.2 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
        }
    }

    female_hair_fp2_iberian_muslim_03 = { # Let out but with smaller braids braided in
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.4 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0

             modifier = {
                add = 999
                exists = this
                exists = character:73683
                this = character:73683
            }
             modifier = {
                add = 999
                exists = this
                exists = character:vandals_003
                this = character:vandals_003
            }
        }
    }

    female_hair_fp2_iberian_christian_01 = { # Let out but with smaller braids braided in
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.6 # For the randomness to work correctly
            }
        }
        weight = {
            base = 0

             modifier = {
                add = 999
                exists = this
                exists = character:73759
                this = character:73759
            }
        }
    }

    female_hair_fp2_iberian_christian_02 = { # Let out but with smaller braids braided in
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 0.83 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0

             modifier = {
                add = 999
				exists = this
				exists = character:73857
				this = character:73857
            }

            modifier = {
                add = 999
                exists = this
                exists = character:70292
                this = character:70292
            }
        }
    }

    female_hair_fp2_iberian_christian_03 = { # Let out but with smaller braids braided in
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_03
                value = 1 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0

             modifier = {
                add = 999
                exists = this
                exists = character:73783
                this = character:73783
            }
        }
    }



    ### FP1 Hair ###

    female_hair_fp1_01 = { # Let out but with smaller braids braided in
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.83 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_fp1_02 = { # Very big loose braid on one shoulder
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.86 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0

            modifier = {
                add = 999
                exists = this
                exists = character:easteregg_elisabeth_gangenes
                this = character:easteregg_elisabeth_gangenes
            }
        }
    }

    female_hair_fp1_03 = { # Pigtail braids
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.90 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_fp1_04 = { # Crown braid with ribbon
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.92 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_fp1_05 = { # Twin tails on chest, let out in back
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.95 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }

    female_hair_fp1_06 = { # Let out fluffy straight
        dna_modifiers = {
            accessory = {
                mode = add
                gene = hairstyles
                template = scripted_character_hairstyles_01
                value = 0.98 # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
        }
    }



}
