CK III - Lots of characters use war headgear without armor

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

El Tyranos

3D bot
139 Badges
Jul 7, 2012
248
1.639
communityflavorpack.com
  • Victoria 3 Sign Up
  • Crusader Kings III: Royal Edition
  • Crusader Kings II
  • Crusader Kings Complete
  • 500k Club
Short summary of your issue Lots of characters use war headgear without armor

Game Version 1.2.2

What OS are you playing on?
Windows

What platform are you using?
Steam

Do you have mods enabled? No

Have you tried verifying your game files (Steam only)?
Yes

How much "pain" is this causing you?
(DID NOT ANSWER QUESTION)

Please explain the issue you experienced in the most condensed way possible
Many commoners have a helmet but they are not at war and don't carry an armor either.

Please explain how to reproduce the issue
Open the character list, male, no title, adult, hunt those with war headgear and check their clothing

Is there anything else you think could help us identify/replicate the issue?
Is not linked to a specific culture so I suppose "portrait_wear_helmet_trigger" or "portrait_wear_armor_trigger" is busted.

I have attached a save game
No

Upload Attachment
File(s) attached
 

Attachments

  • bug.png
    bug.png
    397,9 KB · Views: 0

El Tyranos

3D bot
139 Badges
Jul 7, 2012
248
1.639
communityflavorpack.com
  • Victoria 3 Sign Up
  • Crusader Kings III: Royal Edition
  • Crusader Kings II
  • Crusader Kings Complete
  • 500k Club
Looks like a typo

Code:
western_war = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = headgear
                template = western_war
                range = { 0 1 } # For the randomness to work correctly
            }
        }  
        weight = {
            base = 0
            modifier = {
                add = 50
                portrait_wear_helmet_trigger = yes
                portrait_western_clothing_trigger = yes
               
                NOR = {
                    AND = {
                        religion = religion:christianity_religion
                        has_government = holy_order_government
                    }
                    AND = {
                        religion = religion:christianity_religion
                        is_landed = no
                        portrait_wear_armor_trigger = yes
                        exists = liege
                        liege = {
                            has_government = holy_order_government
                        }
                    }
                    AND = {
                        religion = religion:christianity_religion
                        portrait_wear_armor_trigger = yes
                        OR = {
                            any_character_war = {
                                OR = {
                                    using_cb = undirected_great_holy_war
                                    using_cb = directed_great_holy_war
                                }
                                is_attacker = prev
                            }
                            any_liege_or_above = {
                                faith = prev.faith
                                any_character_war = {
                                    OR = {
                                        using_cb = undirected_great_holy_war
                                        using_cb = directed_great_holy_war
                                    }
                                    is_attacker = prev
                                }
                            }
                        }
                    }
                }
            }
        }
    }

EDIT: actually "portrait_wear_armor_trigger = yes" should be before "portrait_wear_helmet_trigger = yes" as no one should wear a helmet if not wearing an armor.
 
Last edited: