Using the cannotSpreadReligion callback

antriot

Chieftain
Joined
Mar 12, 2013
Messages
13
Hello everyone.

Lately, I was trying to use the cannotSpreadReligion-handle in my mod. As this is not the first handle I registered in the BUG mod, I'm pretty sure that I've done it correctly. But the function was never called in a test game.

Then I found this Thread: https://forums.civfanatics.com/threads/having-trouble-with-def-cannotspreadreligion.301441/
It seems the developers of BtS really messed up something with this one. The first and the third change are easy to implement, but I'm getting stuck with the second one (changes in CvGameInterface.py). Because of the BUG mod changing the whole Python structure, I'm not able to solve this problem by myself.
Additionally, I found out that changing the default value of cannotSpreadReligion in BugGameUtils.py does nothing, missionaries are still able to spread religions.

I hope there is still anyone here to help me out with this one.
antriot
 
Top Bottom