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

Yashichi

Corporal
43 Badges
Jun 10, 2013
31
150
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Magicka
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings Complete
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Crusader Kings II: Holy Fury
  • Crusader Kings III
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Victoria 2
One line summary of your issue
[3.1.0] [KKAD] Decision secretly_convert_to_close_relations_religion has incorrect scope

Game Version
[3.1.0] [KKAD]

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.
The targeted decision "secretly_convert_to_close_relations_religion", found in mnm_secret_religious_societies_decisions.txt, is intended to allow characters to secretly convert to the religion of their spouse, consort, or friend. In version 3.0 the decision script was changed to incorporate the trigger "dlc_religion_check_trigger", to verify that the player owns the appropriate DLC to be able to play as the religion they are converting to. However, the trigger is scoped incorrectly, and is checking that the player's religion is playable instead of the spouse/consort/friend.

The decision script currently contains:
Code:
AND = {
                    spouse = {
                        character = FROM
                        dlc_religion_check_trigger = yes
                    }
                    NOR = {
                        religion = FROM
                        religion = { target_type = secret target = FROM }
                    }
                }
Since the "spouse" scope refers to the player in this case, the "dlc_religion_check_trigger" is checking the player's religion and not the spouse's. The same issue exists for consorts and friends. It can be fixed by moving the "dlc_religion_check_trigger = yes" line outside of the OR block in the decision potential block, or by using the newly implemented ROOTs_religion_is_playable_trigger.

This issue was partially addressed in the 3.1.0 update. While it is no longer possible to get a game over, the incorrect scope still results in strange behavior.

Steps to reproduce the issue.
1. Disable a religion-unlocking DLC, such as Sword of Islam.

2. Play a ruler of any religion allowed by the remaining DLC, such as a Hindu.

3. Take a spouse or consort of a disallowed religion, such as a Sunni.

4. Right click the spouse. The option to secretly convert to their religion will appear. Take the decision.

5. Your ruler now has a secret religion that is enabled by the missing DLC. You cannot openly convert to this secret religion. This problem exists because the player's religion is checked for DLC compatibility and not the target's religion.

Upload Attachment
 

Attachments

  • fixed secret conversion decision.txt
    1,3 KB · Views: 4
Last edited:
Upvote 0