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

Lewa263

Major
48 Badges
Jul 2, 2017
648
96
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Holy Fury Pre-order
  • Europa Universalis IV: Dharma
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron 4: Arms Against Tyranny
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Mare Nostrum
  • 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: Pre-order
  • 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
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
Description of problem
AI can select religious conversion province policy even when all pops have state religion

What game version are you running?
2.0.2

What platform are you playing on?
Steam

Please select any/all DLC you have enabled.
(DID NOT ANSWER QUESTION)

Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
In the file common/governor_policies/00_default.txt, the current modifier for the AI to choose the religious conversion policy when there are no territories with non-state religion is as follows (comments in code from your devs, not me):
modifier = { # Won't do if all state territories follow country religion add = 0 any_state_province = { count = all dominant_province_religion = governor_or_ruler.religion } }
In contrast, the culture conversion policy has a similar modifier for when the territories all have integrated culture that looks like this:
modifier = { # Won't do if all state territories already have governor's culture or the dominant culture of the owner factor = 0 any_state_province = { count = all OR = { dominant_province_culture = governor_or_ruler.culture owner = { any_country_culture = { is_integrated = yes this.culture = prev.prev.culture } } } } }
The first one only adds a modifier of 0 (which has no effect) while the second multiplies by a factor of 0 (causing that policy to not be selected in such a situation). Thus, the AI can and does choose the religious conversion policy even with no pops to convert. I've seen some provinces set to this on game start in religiously homogeneous places like Gaul. Simply changing "add" to "factor" in the religious conversion modifier block will make it do as your comment indicates it is supposed to.
Because the bug report system requires an attachment, I have attached the file with the fix made.

Steps to reproduce the issue.
N/A

Upload Attachment
File(s) attached
 

Attachments

  • 00_default.txt
    6,5 KB · Views: 0
  • 1Like
  • 1
Reactions: