• 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.

Aerotinge

Gouverneur van Torkia
41 Badges
Aug 1, 2018
570
171
  • Battle for Bosporus
  • Surviving Mars
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings III Referal
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Pre-order
One line summary of your issue
[3.3.3] Characters spawn by the game rule "Generate Families" not obtain sayyid trait correctly.

Game Version
3.3.3 [SOHY]

What expansions do you have installed?
All of the above

Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
Some dynasties are descendants of Muhammad and own sayyid trait by default. (e.g Hashimid/Rassid/Idrisid/...)
And game rule "Generate Families" spawn few sons and daughter for (AI) players if no heir on start-up.
However, these spawn sons did not obtain sayyid/mirza trait correctly, resulting the lost of patrilineal inheritance of sayyid.

Steps to reproduce the issue.
1.Start a 936 bookmark game with game rule "Generate Families" set to "On"
2.Check the Hashimids, Emirate of Hijaz.
3.His elder son(s) has no sayyid traits.

Fix
Crusader Kings II\events\game_rule_events.txt:6712
Code:
character_event = { # Generate 'Fake Family' for characters without any
    id = GR.30
...
       
        if = { # Sayyid fix
            limit = {
                religion_group = muslim
                trait = sayyid
                is_female = no
            }
            any_child = {
                limit = {
                    religion_group = muslim
                    NOT = { trait = sayyid }
                }
                add_trait = sayyid
            }
        }

        if = { # Caste fix
...

Upload Attachment
ck2_30.png
 
Upvote 0