﻿clothes_special = { # All clothes triggers are found in 00_clothing_triggers.txt

    usage = game
    selection_behavior = weighted_random
    priority = 6

    no_clothes = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = no_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
            accessory = {
                mode = add
                gene = cloaks
                template = no_cloak
                range = { 0 1 } # For the randomness to work correctly
            }
        }   
        outfit_tags = { no_clothes }
        weight = {
            base = 0
            modifier = {
                add = 1000
                should_be_fully_naked_portrait_trigger = yes
            }
            modifier = {
                add = 1000
                should_be_topless_portrait_trigger = yes
            }
            modifier = {
                add = -1000
                should_show_nudity = no
            }
        }
    }

    nightgown_western = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = western_sickness
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { no_clothes }
        weight = {
            base = 0
            modifier = {
                add = 110
                should_show_nudity = no
                should_be_naked_trigger = yes
            }
            modifier = {
                add = -1000
                should_show_nudity = yes
            }
            modifier = {
                add = -50
                portrait_byzantine_clothing_trigger = no
                portrait_northern_clothing_trigger = no
                portrait_western_clothing_trigger = no
            }
        }
    }

    nightgown_mena = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = mena_sickness
                range = { 0 1 } # For the randomness to work correctly
            }
        }   
        outfit_tags = { no_clothes }
        weight = {
            base = 0
            modifier = {
                add = 110
                should_show_nudity = no
                should_be_naked_trigger = yes
            }
            modifier = {
                add = -1000
                should_show_nudity = yes
            }
            modifier = {
                add = 1100
                portrait_poverty_robes_trigger = yes
            }
            modifier = {
                add = -50
                portrait_mena_clothing_trigger = no
                portrait_indian_clothing_trigger = no
                portrait_steppe_clothing_trigger = no
                portrait_african_clothing_trigger = no
            }
        }
    }

## Small children ## 

    western_children = {

        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = western_children_commoner_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
        }   
        weight = {
            base = 0
            modifier = {
                add = 100
                scope:age < 4
            }
        }
    }

}

