Jump to content

Regarding the hats of the nobles...


Recommended Posts

Posted

Get straight to the point:  how do I make this code not work for males?

 

 

no_veil = {
    usage = game
    selection_behavior = max
    priority = 99
    no_veil = {
        ignore_outfit_tags = yes
        dna_modifiers = {
            accessory = {
                mode = add
                gene = headgear
                template = no_headgear
                value = 1
            }
        }
        dna_modifiers = {
            accessory = {
                mode = add
                gene = additive_headgear
                template = no_additive
                value = 1
            }
        }
        weight = {
            base = 100
        }
    }
}

 

  Here's a more detailed explanation of the situation(all translated from Google): I tried modifying the "no veil" setting, which has been around for a long time but hasn't been updated for some reason, because it's not very effective in the current version. Then I discovered the reason is that Paradox added a headwear option after fixing a bug that prevented veil adjustments. So I added this option to the code, and it worked, but it was too overpowering; it even made the Pope's hat disappear.

 

  So I'm wondering how to make this effect at least not work for males, so that most lords can wear their crowns or hats instead of showing their bald patches...

 

  I tried adding `is male = no` to the code, but it didn't work. So, could anyone give me some advice? 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...