morph_genes = {
    
    gene_bs_penis_size = {
        group = body
        penis_size = {
            visible = no
            index = 0
            male = {
                setting = {
                    attribute = "bs_body_penis_size_max"
                    curve = {
                        { 0.0 0.0 }
                        { 0.5 0.0 }
                        { 1.0 1.0 }
                    }
                }
                setting = {
                    attribute = "bs_body_penis_size_min"
                    curve = {
                        { 0.0 0.8 }
                        { 0.5 0.0 }
                        { 0.82 -0.2 }
                        { 1.0 -0.2 }
                    }
                }
                setting = {
                    attribute = "bs_body_scrotum_size_min"
                    curve = {
                        { 0.0 0.25 }
                        { 1.0 -0.25 }
                    }
                }
            }
            female = male
        }
        penis_size_eunuch_1 = {
            index = 1
            visible = no
            male = {
                setting = {
                    attribute = "bs_body_penis_size_max"
                    curve = {
                        { 0.0 0.0 }
                        { 0.5 0.0 }
                        { 1.0 1.0 }
                    }
                }
                setting = {
                    attribute = "bs_body_penis_size_min"
                    curve = {
                        { 0.0 0.8 }
                        { 0.82 -0.2 }
                        { 1.0 -0.2 }
                    }
                }
            }
            female = male
        }
        penis_size_beardless_eunuch = {
            index = 2
            visible = no
            male = {
                setting = {
                    attribute = "bs_body_penis_size_min"
                    curve = {
                        { 0.0 0.8 }
                        { 1.0 0.0 }
                    }
                }
            }
            female = male
        }
    }

    gene_bs_scrotum_size = {
        group = body
        scrotum_size = { 
            index = 0
            male = {
                setting = {
                    attribute = "bs_body_scrotum_size_min"
                    curve = {
                        { 0.0 0.3 }
                        { 1.0 -0.3 }
                    }
                }
            }
            female = male
        }
        scrotum_size_eunuch = {
            index = 1
            visible = no
            male = {
                setting = {
                    attribute = "bs_body_scrotum_size_min"
                    curve = {
                        { 0.0 1.0 }
                        { 1.0 1.0 }
                    }
                }
            }
            female = male
        }
    }

    gene_bs_vulva_definition = {
        group = body
        vulva_definition = { 
            index = 0
            visible = no
            female = {
                setting = {
                    attribute = "bs_body_vulva_definition"
                    curve = {
                        { 0.0 0 }
                        { 1.0 0.5 }
                    }
                }
            }
            male = female
        }
    }

    gene_pubic_hair = {
        pubic_hair_default_color = {
            index = 0
            male = {
                decal = {
                    body_part = torso
                    textures = {
                       diffuse = "gfx/models/portraits/decals/male_body/decal_male_body_pubic_hair_default_color_diffuse.dds"
                       normal = "gfx/models/portraits/decals/male_body/decal_male_body_pubic_hair_normal.dds"
                    }
                    alpha = 1.0
                    blend_modes = {
                        diffuse = replace
                        normal = overlay
                    }
                    decal_apply_order = post_skin_color
                    priority = 11
                }
            }
            female = {
                decal = {
                    body_part = torso
                    textures = {
                       diffuse = "gfx/models/portraits/decals/female_body/decal_female_body_pubic_hair_default_color_diffuse.dds"
                       normal = "gfx/models/portraits/decals/female_body/decal_female_body_pubic_hair_normal.dds"
                    }
                    alpha = 1.0
                    blend_modes = {
                        diffuse = replace
                        normal = overlay
                    }
                    decal_apply_order = post_skin_color
                    priority = 11
                }
            }
        }
        pubic_hair_hair_color = {
            index = 1
            male = {
                decal = {
                    body_part = torso
                    textures = {
                       diffuse = "gfx/models/portraits/decals/male_body/decal_male_body_pubic_hair_hair_color_diffuse.dds"
                       normal = "gfx/models/portraits/decals/male_body/decal_male_body_pubic_hair_normal.dds"
                    }
                    alpha = 1.0
                    blend_modes = {
                        diffuse = replace
                        normal = overlay
                    }
                    decal_apply_order = post_skin_color
                    priority = 11
                }
            }
            female = {
                decal = {
                    body_part = torso
                    textures = {
                       diffuse = "gfx/models/portraits/decals/female_body/decal_female_body_pubic_hair_hair_color_diffuse.dds"
                       normal = "gfx/models/portraits/decals/female_body/decal_female_body_pubic_hair_normal.dds"
                    }
                    alpha = 1.0
                    blend_modes = {
                        diffuse = replace
                        normal = overlay
                    }
                    decal_apply_order = post_skin_color
                    priority = 11
                }
            }
        }
        no_pubic_hair = {
            index = 2
        }
    }
}