##############################################################
###	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 = {

	# Lithoid
	lith1 = {	entity = "portrait_lithoid_01_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_1_golem"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_01_portrait_bluegreen.dds"
			"gfx/models/portraits/lithoid/lithoid_01_portrait_cyan.dds"
			"gfx/models/portraits/lithoid/lithoid_01_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_01_portrait_tealred.dds"
		}
	}
	lith2 = {	entity = "portrait_lithoid_02_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_2_lava"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_02_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_02_portrait_grey.dds"
			"gfx/models/portraits/lithoid/lithoid_02_portrait_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_02_portrait_yellow.dds"
		}
	}
	lith2_inf = {	entity = "portrait_lithoid_02_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_2_lava"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_02_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_02_portrait_grey.dds"
			"gfx/models/portraits/lithoid/lithoid_02_portrait_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_02_portrait_yellow.dds"
		}
	}
	lith3 = {	entity = "portrait_lithoid_03_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_3_geode"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_03_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_03_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_03_portrait_red.dds"
			"gfx/models/portraits/lithoid/lithoid_03_portrait_teal.dds"
		}
	}
	lith4 = {	entity = "portrait_lithoid_04_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_4_angelic"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_04_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_04_portrait_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_04_portrait_red.dds"
			"gfx/models/portraits/lithoid/lithoid_04_portrait_yellow.dds"
		}
	}
	lith5 = {	entity = "portrait_lithoid_05_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_5_mantis"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_05_portrait_bluepurple.dds"
			"gfx/models/portraits/lithoid/lithoid_05_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_05_portrait_greenpurple.dds"
			"gfx/models/portraits/lithoid/lithoid_05_portrait_orange.dds"
		}
	}
	lith6 = {	entity = "portrait_lithoid_06_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_6_symbiotic"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_06_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_06_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_06_portrait_orange.dds"
			"gfx/models/portraits/lithoid/lithoid_06_portrait_red.dds"
		}
	}
	lith7 = {	entity = "portrait_lithoid_07_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_7_pyrite"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_07_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_07_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_07_portrait_orange.dds"
			"gfx/models/portraits/lithoid/lithoid_07_portrait_purple.dds"
		}
	}
	lith8 = {	entity = "portrait_lithoid_08_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_8_sedimentary"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_08_portrait_brown.dds"
			"gfx/models/portraits/lithoid/lithoid_08_portrait_orange.dds"
			"gfx/models/portraits/lithoid/lithoid_08_portrait_pink.dds"
			"gfx/models/portraits/lithoid/lithoid_08_portrait_red.dds"
		}
	}
	lith9 = {	entity = "portrait_lithoid_09_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_9_spider"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_09_portrait_bronze.dds"
			"gfx/models/portraits/lithoid/lithoid_09_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_09_portrait_yellow.dds"
			"gfx/models/portraits/lithoid/lithoid_09_portrait_red.dds"
		}
	}
	lith10 = {	entity = "portrait_lithoid_10_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_10_spined"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_10_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_10_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_10_portrait_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_10_portrait_red.dds"
		}
	}
	lith11 = {	entity = "portrait_lithoid_11_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_11_levitating"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_11_portrait_yellow.dds"
			"gfx/models/portraits/lithoid/lithoid_11_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_11_portrait_red.dds"
			"gfx/models/portraits/lithoid/lithoid_11_portrait_purple.dds"
		}
	}
	lith12 = {	entity = "portrait_lithoid_12_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_12_crystal"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_12_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_12_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_12_portrait_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_12_portrait_turquoise.dds"
		}
	}
	lith13 = {	entity = "portrait_lithoid_13_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_13_exo"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_13_portrait_grey.dds"
			"gfx/models/portraits/lithoid/lithoid_13_portrait_green.dds"
			"gfx/models/portraits/lithoid/lithoid_13_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_13_portrait_red.dds"
		}
	}
	lith14 = {	entity = "portrait_lithoid_14_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_14_snake"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_14_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_14_portrait_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_14_portrait_red.dds"
			"gfx/models/portraits/lithoid/lithoid_14_portrait_yellow.dds"
		}
	}
	lith15 = {	entity = "portrait_lithoid_15_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_15_unicorn"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_15_portrait_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_15_portrait_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_15_portrait_red.dds"
			"gfx/models/portraits/lithoid/lithoid_15_portrait_turquoise.dds"
		}
		custom_close_up_position_offset = { x = 100 y = 70 }
		custom_close_up_scale = 1.2
	}
	lith_machine = { entity = "portrait_lithoid_machine_entity" clothes_selector = "no_texture" attachment_selector = "no_texture"	greeting_sound = "lithoid_portrait_machine"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_machine_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_machine_orange.dds"
			"gfx/models/portraits/lithoid/lithoid_machine_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_machine_red.dds"
		}
	}
	lith_human_male = {	entity = "portrait_lithoid_human_entity" clothes_selector = "no_texture" attachment_selector = "lith_human_hair"	greeting_sound = "lithoid_portrait_15_unicorn"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_human_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_human_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_human_green.dds"
		}

		custom_attachment_label = "HAIR_STYLE"

		custom_close_up_position_offset = { x = -10 y = 118 }
		custom_close_up_scale = 1.5
		custom_mid_close_up_position_offset = { x = 0 y = -75 }
		custom_mid_close_up_scale = 0.85
	}

	lith_human_female = {	entity = "portrait_lithoid_human_entity" clothes_selector = "no_texture" attachment_selector = "lith_human2_hair"	greeting_sound = "lithoid_portrait_15_unicorn"
		character_textures = {
			"gfx/models/portraits/lithoid/lithoid_human2_blue.dds"
			"gfx/models/portraits/lithoid/lithoid_human2_purple.dds"
			"gfx/models/portraits/lithoid/lithoid_human2_green.dds"
		}

		custom_attachment_label = "HAIR_STYLE"

		custom_close_up_position_offset = { x = -10 y = 118 }
		custom_close_up_scale = 1.5
		custom_mid_close_up_position_offset = { x = 0 y = -75 }
		custom_mid_close_up_scale = 0.85
	}
}

portrait_groups = {
	lith_human = {
		default = lith_human_male
		game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist
			add = {
				trigger = {
					ruler = {
						OR = {
							gender = male
							gender = indeterminable
						}
					}
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					ruler = {
						OR = {
							gender = female
							gender = indeterminable
						}
					}
				}
				portraits = {
					lith_human_female
				}
			}

		}

		#species scope
		species = { #generic portrait for a species
			add = {
				trigger = {
					exists = species
					NOT = { species = { species_gender = female } }
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					exists = species
					NOT = { species = { species_gender = male } }
				}
				portraits = {
					lith_human_female
				}
			}
		}

		#pop scope
		pop = { #for a specific pop
			add = {
				trigger = {
					NOT = { species = { species_gender = female } }
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					NOT = { species = { species_gender = male } }
				}
				portraits = {
					lith_human_female
				}
			}
		}

		leader = {
			add = {
				trigger = {
					OR = {
						gender = male
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					OR = {
						gender = female
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_female
				}
			}
		}

		ruler = {
			add = {
				trigger = {
					OR = {
						gender = male
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					OR = {
						gender = female
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_female
				}
			}
		}
	}
	lith_human_inf = {
		default = lith_human_male
		game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist
			add = {
				trigger = {
					ruler = {
						OR = {
							gender = male
							gender = indeterminable
						}
					}
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					ruler = {
						OR = {
							gender = female
							gender = indeterminable
						}
					}
				}
				portraits = {
					lith_human_female
				}
			}

		}

		#species scope
		species = { #generic portrait for a species
			add = {
				trigger = {
					exists = species
					NOT = { species = { species_gender = female } }
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					exists = species
					NOT = { species = { species_gender = male } }
				}
				portraits = {
					lith_human_female
				}
			}
		}

		#pop scope
		pop = { #for a specific pop
			add = {
				trigger = {
					NOT = { species = { species_gender = female } }
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					NOT = { species = { species_gender = male } }
				}
				portraits = {
					lith_human_female
				}
			}
		}

		leader = {
			add = {
				trigger = {
					OR = {
						gender = male
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					OR = {
						gender = female
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_female
				}
			}
		}

		ruler = {
			add = {
				trigger = {
					OR = {
						gender = male
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_male
				}
			}
			add = {
				trigger = {
					OR = {
						gender = female
						gender = indeterminable
					}
				}
				portraits = {
					lith_human_female
				}
			}
		}
	}
}
