# This is a template which multiple species can use. 
fingol_beard = {
	default = "gfx/models/portraits/fingol/facialhair/suomilakki-manchuviikset.dds"
	
	game_setup = {#will run with a limited country scope. species and government is set but the country does not actually exist
		default = "gfx/models/portraits/fingol/facialhair/suomilakki-manchuviikset.dds"
	}
	
	#species scope
	species = { #generic portrait for a species
		default = "gfx/models/portraits/fingol/facialhair/suomilakki-manchuviikset.dds"
	}
	
	#pop scope
	pop = { #for a specific pop
	
		default = "gfx/models/portraits/fingol/facialhair/suomilakki-manchuviikset.dds"

		random = {
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}	
	}
	
	
	
	
	#leader scope
	leader = { #scientists, generals, admirals, governor
	
		random = {
			trigger = { leader_class = general }
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}		
		
		random = {
			trigger = { leader_class = admiral }
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}	
		
		random = {
			trigger = { leader_class = scientist }
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}		
		
		random = {
			trigger = { leader_class = governor }
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}
	}

	#leader scope
	ruler = { #for rulers
		
		random = {
			trigger = {
				owner = { has_militarist_government = yes }
			}
				
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}		
		
		random = {
			trigger = {
				owner = { has_spiritualist_government = yes }
			}
			
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}
		
		random = {
			trigger = {
				owner = {
					OR = {
						has_government = gov_stagnant_ascendancy
						has_primitive_government = yes
						has_materialist_government = yes
						has_pacifist_government = yes
					}
				}
			}
			
			list = {
"gfx/models/portraits/fingol/facialhair/hattu1.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/hattu1-parta.dds"
"gfx/models/portraits/fingol/facialhair/humanoid_hp_02_beard_white_05.dds"
"gfx/models/portraits/fingol/facialhair/manchuviikset.dds"
"gfx/models/portraits/fingol/facialhair/manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/parta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-harmaaparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-manchuviiksetparta.dds"
"gfx/models/portraits/fingol/facialhair/suomilakki-parta.dds"
			}
		}
	}
}