##############################################################
###	PORTRAITS SETTINGS
###
### Which portraits are used is set in 
### common\species_classes\00_species_classes.txt
###
###	This file configures how portraits and planet backgrounds are built.
###	Default position orientation is lower left.
##############################################################



portraits = {

	#希灵使徒
	chenjun = {	texturefile = "gfx/models/portraits/xilin/chenjun.dds"  }
	chenqian = {	texturefile = "gfx/models/portraits/xilin/chenqian.dds"  }
	xuqianqian = {	texturefile = "gfx/models/portraits/xilin/xuqianqian.dds"  }
	linxue = {	texturefile = "gfx/models/portraits/xilin/linxue.dds"  }
	
	shanduola = {	texturefile = "gfx/models/portraits/xilin/shanduola.dds"  }
	panduola = {	texturefile = "gfx/models/portraits/xilin/panduola.dds"  }
	weisika = {	texturefile = "gfx/models/portraits/xilin/weisika.dds"  }
	xikaluo = {	texturefile = "gfx/models/portraits/xilin/xikaluo.dds"  }
	xiweisi = {	texturefile = "gfx/models/portraits/xilin/xiweisi.dds"  }
	taweier = {	texturefile = "gfx/models/portraits/xilin/taweier.dds"  }
	anaiye = {	texturefile = "gfx/models/portraits/xilin/anaiye.dds"  }
	paopao = {	texturefile = "gfx/models/portraits/xilin/paopao.dds"  }
	
	dingdang = {	texturefile = "gfx/models/portraits/xilin/dingdang.dds"  }
	lilina = {	texturefile = "gfx/models/portraits/xilin/lilina.dds"  }
	
	xilin_male_1 = {	texturefile = "gfx/models/portraits/xilin/xilin_male_1.dds"  }
	xilin_male_2 = {	texturefile = "gfx/models/portraits/xilin/xilin_male_2.dds"  }
	xilin_male_3 = {	texturefile = "gfx/models/portraits/xilin/xilin_male_3.dds"  }
	xilin_female_1 = {	texturefile = "gfx/models/portraits/xilin/xilin_female_1.dds"  }
	xilin_female_2 = {	texturefile = "gfx/models/portraits/xilin/xilin_female_2.dds"  }
	xilin_female_3 = {	texturefile = "gfx/models/portraits/xilin/xilin_female_3.dds"  }
	pop1 = {	texturefile = "gfx/models/portraits/xilin/pop1.dds"  }
}

portrait_groups = {
	xilin_apostle = {
		default =chenjun
		game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist
			add = {
				portraits = {
					chenjun
				}
			}
			
			#set = {
			#	trigger = { ... }
			#	portraits = { ... }
			#	#using "set =" instead of "add" will first clear any portraits already added
			#}
		}		
		
		#species scope
		species = { #generic portrait for a species
			add = {
				portraits = {
					chenjun
				}
			}
		}		
		
		#pop scope
		pop = { #for a specific pop
			add = {
				portraits = {
#					pop1
					xilin_male_1
					xilin_male_2
					xilin_male_3
					xilin_female_1
					xilin_female_2
					xilin_female_3
				}
			}
		}
		
		#leader scope
		leader = { #scientists, generals, admirals, governor
			#潘多拉
			add = {
				trigger = {
					 has_trait = leader_trait_panduola
				}
				portraits = {
					panduola
				}
			}
			#西卡罗
			add = {
				trigger = {
					 has_trait = leader_trait_xikaluo
				}
				portraits = {
					xikaluo
				}
			}
			#西维斯
			add = {
				trigger = {
					 has_trait = leader_trait_xiweisi
				}
				portraits = {
					xiweisi
				}
			}
			#塔维尔(棺材控)
			add = {
				trigger = {
					 has_trait = leader_trait_taweier
				}
				portraits = {
					taweier
				}
			}
			#珊多拉
			add = {
				trigger = {
					 has_trait = leader_trait_shanduola
				}
				portraits = {
					 shanduola
				}
			}
			#维斯卡
			add = {
				trigger = {
					 has_trait = leader_trait_weisika
				}
				portraits = {
					 weisika
				}
			}
			#阿赖耶
			add = {
				trigger = {
					 has_trait = leader_trait_anaiye
				}
				portraits = {
					 anaiye
				}
			}
			#泡泡
			add = {
				trigger = {
					 has_trait = leader_trait_paopao
				}
				portraits = {
					 paopao
				}
			}
			#普通男性领袖
			add = {
			  trigger = {
					 gender = male
					 NOR = { 
					 		has_trait = leader_trait_panduola
					    has_trait = leader_trait_xiweisi
					    has_trait = leader_trait_taweier
					    has_trait = leader_trait_shanduola
					    has_trait = leader_trait_weisika
					    has_trait = leader_trait_anaiye
					    has_trait = leader_trait_paopao
					 		has_trait = leader_trait_xikaluo
					 }
				}
				portraits = {
					xilin_male_1
					xilin_male_2
					xilin_male_3
				}
			}
			#普通女性领袖
			add = {
			  trigger = {
					 gender = female
					 NOR = {
					    has_trait = leader_trait_panduola
					    has_trait = leader_trait_xiweisi
					    has_trait = leader_trait_taweier
					    has_trait = leader_trait_shanduola
					    has_trait = leader_trait_weisika
					    has_trait = leader_trait_anaiye
					    has_trait = leader_trait_paopao
					    has_trait = leader_trait_xikaluo
					 }
				}
				portraits = {
					xilin_female_1
					xilin_female_2
					xilin_female_3
				}
			}
		}

			
		#leader scope 
		ruler = {
			add = {			
				portraits = {
					chenjun
				}
			}
		}
	}
	
	human_god = {
		default = chenjun
		game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist
			add = {
				portraits = {
					chenjun
					chenqian
					xuqianqian
				}
			}
			
			#set = {
			#	trigger = { ... }
			#	portraits = { ... }
			#	#using "set =" instead of "add" will first clear any portraits already added
			#}
		}		
		
		#species scope
		species = { #generic portrait for a species
			add = {
				portraits = {
					chenjun
				}
			}
		}		
		
		#pop scope
		pop = { #for a specific pop
			add = {
				portraits = {
					chenjun
				}
			}
		}
		
		#leader scope
		leader = { #scientists, generals, admirals, governor
			#陈倩
			add = {
				trigger = {
					 has_trait = leader_trait_chenqian 
				}
				portraits = {
					chenqian
				}
			}
			#许浅浅
			add = {
				trigger = {
					 has_trait = leader_trait_xuqianqian 
				}
				portraits = {
					xuqianqian
				}
			}
			#林雪
			add = {
				trigger = {
					 has_trait = leader_trait_linxue 
				}
				portraits = {
					linxue
				}
			}
			#陈俊
			add = {
				trigger = {
					 has_trait = leader_trait_chenjun
				}
				portraits = {
					chenjun
				}
			}
		}

			
		#leader scope 
		ruler = {
			add = {				
				portraits = {
					chenjun
				}
			}
		}
	}
}