pubic_hair = {
    priority = 0
    usage = game
    selection_behavior = max
    
    match_color = {
        dna_modifiers = {
            morph = {
                mode = replace
                gene = gene_pubic_hair
                template = pubic_hair_hair_color
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 75
                has_game_rule = pubic_hair_hair_color
            }
        }
    }

    no_pubic_hair = {
        dna_modifiers = {
            morph = {
                mode = replace
                gene = gene_pubic_hair
                template = no_pubic_hair
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                OR = {
                    has_trait = beardless_eunuch
                    has_game_rule = hide_all_pubic_hair
                    AND = {
                        has_game_rule = hide_male_pubic_hair
                        is_male = yes
                    }
                    AND = {
                        has_game_rule = hide_female_pubic_hair
                        is_female = yes
                    }
                }
            }
        }
    }
}

#carnalitas
female_penis_size = {
    priority = 2
    usage = game
    
    no_scrotum = {
        dna_modifiers = {
            morph = {
                mode = modify_multiply
                gene = gene_bs_penis_size
                template = penis_size_eunuch_1
                value = 1
            }
            morph = {
                mode = modify_multiply
                gene = gene_bs_scrotum_size
                template = scrotum_size_eunuch
                value = 1
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                AND = {
                    has_game_rule = female_penis_size_no_scrotum
                    is_female = yes
                    OR = {
                        has_trait = futa
                        has_trait = futa_genetic
                    }
                }
            }
        }
    }
    
    shrink = {
        dna_modifiers = {
            morph = {
                mode = modify_multiply
                gene = gene_bs_penis_size
                template = penis_size_beardless_eunuch
                value = 1
            }
            morph = {
                mode = modify_multiply
                gene = gene_bs_scrotum_size
                template = scrotum_size_eunuch
                value = 1
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                AND = {
                    has_game_rule = female_penis_size_shrink
                    is_female = yes
                    OR = {
                        has_trait = futa
                        has_trait = futa_genetic
                    }
                }
            }
        }
    }
}

#carnalitas
penis_size_normalization = {
    priority = 1
    usage = game
    average_penis = {
        dna_modifiers = {
            morph = {
                mode = modify_multiply
                gene = gene_bs_penis_size
                value = 0.2
            }
            morph = {
                mode = modify
                gene = gene_bs_penis_size
                value = 0.4
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                AND = {
                    has_game_rule = carn_dt_enabled
                    NOR = {
                        has_trait = dick_small_good_3
                        has_trait = dick_small_bad_3
                        has_trait = dick_small_good_2
                        has_trait = dick_small_bad_2
                        has_trait = dick_small_good_1
                        has_trait = dick_small_bad_1
                        has_trait = dick_big_good_3
                        has_trait = dick_big_bad_3
                        has_trait = dick_big_good_2
                        has_trait = dick_big_bad_2
                        has_trait = dick_big_good_1
                        has_trait = dick_big_bad_1
                    }
                }
            }
        }
    }
}
