﻿#These special genes will not be part of a character's DNA.
#The game can have hardcoded references to them and might use each of them differently
special_genes = {
	morph_genes = {

		gene_bs_pregnant = {

		    pregnant = { 
		        index = 0 
		        female = { 
		            setting = { attribute = "bs_body_pregnant_1" value = { min = 0.0 max = 1.0 }  } 
		        }
		    }

		}

		gene_bubonic_plague = {

			bubonic_plague = {
				index = 0
				male = {
					setting = { attribute = "bs_plague"  value = { min = 1.0 max = 1.0 }	}
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_bubonic_plague_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_bubonic_plague_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_bubonic_plague_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = hard_light
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}
		}

		gene_drunkard = {

			drunkard = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_drunkard_diffuse.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = hard_light
							# normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
						alpha_curve = {				 #controls decal alpha relative to gene strength. Will give a linear interpolation if left unspecified
							#gene strength%, decal alpha
							{ 0.0  0.0 }
							{ 1.0  1.0 }
						}
					}
				}
				female = male
				boy = male
				girl = male
			}		
		}

		gene_great_pox = {

			great_pox_mild = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_great_pox_mild_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_great_pox_mild_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_great_pox_mild_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = overlay
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

			great_pox_severe = {
				index = 1
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_great_pox_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_great_pox_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_great_pox_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = replace
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_illness = {

			illness = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_illness_diffuse.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = replace
							# normal = overlay
							# properties =
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}


		gene_leprosy = {

			leprosy = {
				index = 5
				male = {
					setting = { attribute = "bs_leper"  value = { min = 1.0 max = 1.0 }	}
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_leprosy_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_leprosy_normal.dds"
							# properties = "gfx/models/portraits/decals/visual_traits/decal_leprosy_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = hard_light
							normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}


		}

		gene_lovers_pox = {

			lovers_pox = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_lovers_pox_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_lovers_pox_normal.dds"
							# properties = "gfx/models/portraits/decals/visual_traits/decal_lovers_pox_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = replace
							normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_scaly = {

			scaly = {
				index = 7
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_scaly_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_scaly_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_scaly_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = overlay
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_scars_battle = {

			scars_battle = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_scars_battle_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_scars_battle_normal.dds"
							# properties = "gfx/models/portraits/decals/visual_traits/decal_scars_battle_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = overlay
							normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_scars_disease = {

			scars_disease = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							# diffuse = "gfx/models/portraits/decals/visual_traits/decal_scars_disease_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_scars_disease_normal.dds"
							# properties = "gfx/models/portraits/decals/visual_traits/decal_scars_disease_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							# diffuse = overlay
							normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_smallpox = {

			smallpox = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_smallpox_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_smallpox_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_smallpox_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = overlay
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_tuberculosis = {

			tuberculosis = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_tuberculosis_diffuse.dds"
							# normal = "gfx/models/portraits/decals/visual_traits/decal_tuberculosis_normal.dds"
							# properties = "gfx/models/portraits/decals/visual_traits/decal_tuberculosis_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = replace
							# normal = overlay
							# properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_typhus = {

			typhus = {
				index = 0
				male = {
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_typhus_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_typhus_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_typhus_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = replace
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}


		gene_wounded = {

			wounded_1 = {
				index = 0
				male = {
					setting = { attribute = "bs_wounded_2"  value = { min = 0.5 max = 0.5 }	}
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_wounded_1_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_wounded_1_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_wounded_1_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = hard_light
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

			wounded_2 = {
				index = 1
				male = {
					setting = { attribute = "bs_wounded_2"  value = { min = 1.0 max = 1.0 }	}
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_wounded_2_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_wounded_2_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_wounded_2_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = hard_light
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

			wounded_3 = {
				index = 2
				male = {
					setting = { attribute = "bs_wounded_3"  value = { min = 1.0 max = 1.0 }	}
					decal = {											
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/decal_wounded_3_diffuse.dds"
							normal = "gfx/models/portraits/decals/visual_traits/decal_wounded_3_normal.dds"
							properties = "gfx/models/portraits/decals/visual_traits/decal_wounded_3_properties.dds"
						}
						blend_modes = {				 #overlay/replace/hard_light/multiply
							diffuse = hard_light
							normal = overlay
							properties = overlay
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 10
					}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_maimed_left_arm = {

			maimed_left_arm = {
				index = 0
				male = {
					setting = { attribute = "body_no_left_arm"  value = { min = 1.0 max = 1.0 }	}
				}
				female = {}
				boy = male
				girl = {}
			}

		}


		gene_no_decal = {

			no_decal = {
				index = 0
				male = {
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_spindly = {

			# Update this with either a new blend shape or an additive animation
			spindly = {
				index = 0
				male = {
					# setting = { attribute = "bs_body_slim_1"  value = { min = 0.0 max = 0.3 }	}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_one_legged = {

			no_left_leg = {
				index = 0
				male = {
					setting = { attribute = "bs_body_no_left_leg"  value = { min = 1.0 max = 1.0 }	}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_hunchbacked = {

			hunchbacked = {
				index = 0
				male = {
					setting = { attribute = "body_hunchbacked"  value = { min = 0.0 max = 1.0 }	}
					setting = { attribute = "head_hunchbacked"  value = { min = 0.0 max = 1.0 }	}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_clubfooted = {

			clubfooted = {
				index = 0
				male = {
					setting = { attribute = "body_clubfooted"  value = { min = 0.0 max = 1.0 }	}
				}
				female = male
				boy = male
				girl = male
			}

		}

		gene_bs_cloak = { ## Special Genes used for cloak blend shapes.

			no_cloak = {
				index = 0
				male = {
				}
				female = male
				boy = male
				girl = male
			}
			cloak = {
				index = 1
				male = {
					setting = { attribute = "bs_cloak"  value = { min = 0.0 max = 0.6 }	}
				}
				female = {
					setting = { attribute = "bs_cloak"  value = { min = 0.0 max = 0.6 }	}
				}
				boy = male
				girl = female
			}

		}

		gene_celtic_warpaint = {
			celtic_warpaint1 = {
				index = 0
				male = {
					decal = {
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/CelticWarpaint1_diffuse.dds"
						}
						blend_modes = {
							diffuse = replace
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 15
					}
				}
				female = male
				boy = male
				girl = male
			}
			celtic_warpaint2 = {
				index = 1
				male = {
					decal = {
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/CelticWarpaint2_diffuse.dds"
						}
						blend_modes = {
							diffuse = replace
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 15
					}
				}
				female = male
				boy = male
				girl = male
				
			}
			celtic_warpaint3 = {
				index = 2
				male = {
					decal = {
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/CelticWarpaint3_diffuse.dds"
						}
						blend_modes = {
							diffuse = replace
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 15
					}
				}
				female = male
				boy = male
				girl = male
			}
			celtic_warpaint4 = {
				index = 3
				male = {
					decal = {
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/CelticWarpaint4_diffuse.dds"
						}
						blend_modes = {
							diffuse = replace
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 15
					}
				}
				female = male
				boy = male
				girl = male
			}
			celtic_warpaint5 = {
				index = 4
				male = {
					decal = {
						body_part = head
						textures = {
							diffuse = "gfx/models/portraits/decals/visual_traits/CelticWarpaint5_diffuse.dds"
						}
						blend_modes = {
							diffuse = replace
						}
						# age = {
						# 	mode = multiply
						# 	curve = {
						# 		{ 0.0 0.0 }
						# 		{ 0.38 0.0 }
						# 		{ 0.7 0.8 }
						# 	}
						# }
						priority = 15
					}
				}
				female = male
				boy = male
				girl = male
			}
		}

		pose = { # Keeping this gene because the game expects it to be there
		}
	}


	accessory_genes = {

		special_headgear_head_bandage = {

			head_bandage = {
				index = 0
				male = {
					100 = male_headgear_special_head_bandage_01
				}
				female = {
					100 = female_headgear_special_head_bandage_01
				}
				boy = male
				girl = female
			}

		}

		special_headgear_eye_patch = {

			no_eye_patch = {
				index = 0
				male = { 1 = no_eye_patch }
				female = { 1 = no_eye_patch }
				boy = male
				girl = female
			}
			
			eye_patch = {
				index = 1
				male = {
					100 = male_headgear_special_eye_patch_01
				}
				female = {
					100 = female_headgear_special_eye_patch_01
				}
				boy = male
				girl = female
			}
			
			cfp_eye_patch = {
				index = 2
				male = {
					2 = empty
					1 = male_headgear_special_eye_patch_01
				}
				female = {
					2 = empty
					1 = female_headgear_special_eye_patch_01
				}
				boy = male
				girl = female
			}

		}


		special_headgear_face_mask = {

			face_mask = {
				index = 0
				male = {
					1 = male_headgear_special_face_mask_01
					1 = male_headgear_special_cfp_face_mask_02
					1 = male_headgear_special_cfp_face_mask_01
					1 = male_headgear_special_cfp_face_mask_03
					1 = male_headgear_special_cfp_face_mask_04
					1 = male_headgear_special_cfp_face_mask_04_opened
					1 = male_headgear_special_cfp_face_mask_05
					1 = male_headgear_special_cfp_face_mask_05_opened
					1 = male_headgear_special_cfp_face_mask_06
					1 = male_headgear_special_cfp_face_mask_06_opened
					1 = male_headgear_special_cfp_fake_nose_01
					1 = male_headgear_special_cfp_fake_nose_02
				}
				female = {
					1 = female_headgear_special_face_mask_01
					1 = female_headgear_special_cfp_face_mask_02
					1 = female_headgear_special_cfp_face_mask_01
					1 = female_headgear_special_cfp_face_mask_03
					1 = female_headgear_special_cfp_face_mask_04
					1 = female_headgear_special_cfp_face_mask_04_opened
					1 = female_headgear_special_cfp_face_mask_05
					1 = female_headgear_special_cfp_face_mask_05_opened
					1 = female_headgear_special_cfp_face_mask_06
					1 = female_headgear_special_cfp_face_mask_06_opened
					1 = female_headgear_special_cfp_fake_nose_01
					1 = female_headgear_special_cfp_fake_nose_02
				}
				boy = male
				girl = female
			}

		}

		special_headgear_blindfold = {

			no_blindfold = {
				index = 0
				male = { 1 = no_blindfold }
				female = { 1 = no_blindfold }
				boy = male
				girl = female
			}
			
			blindfold = {
				index = 1
				male = {
					100 = male_headgear_special_blindfold_01
				}
				female = {
					100 = female_headgear_special_blindfold_01
				}
				boy = male
				girl = female
			}
			
			cfp_blindfold = {
				index = 2
				male = {
					2 = empty
					1 = male_headgear_special_blindfold_01
				}
				female = {
					2 = empty
					1 = female_headgear_special_blindfold_01
				}
				boy = male
				girl = female
			}

		}

		special_headgear_spectacles = {

			no_eyeglasses = {
				index = 0
				male = { 1 = no_eyeglasses }
				female = { 1 = no_eyeglasses }
				boy = male
				girl = female
			}
			
			spectacles = {
				index = 1
				male = {
					30 = male_headgear_special_spectacles_01
					30 = male_headgear_special_cfp_glasses_01
					1 = male_headgear_special_cfp_glasses_01b
					30 = male_headgear_special_cfp_glasses_02
					1 = male_headgear_special_cfp_glasses_02b
				}
				female = {
					30 = female_headgear_special_spectacles_01
					30 = female_headgear_special_cfp_glasses_01
					1 = female_headgear_special_cfp_glasses_01b
					30 = female_headgear_special_cfp_glasses_02
					1 = female_headgear_special_cfp_glasses_02b
				}
				boy = male
				girl = female
			}

		}

	}
}
