1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Using the cannotSpreadReligion callback

Discussion in 'Civ4 - BTS Unaltered Gameplay (BUG, BAT and BULL)' started by antriot, Dec 26, 2018.

  1. antriot

    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
     

Share This Page