OV, do you have the Limited Religions mod comp done?
Yes. The attached zip file contains my latest limited Religions and Inquisition updates for RevDCM.
Notes:
1. I have split limited religions and OIM for the sake of clarity and to simplify options.
2. There is new code for identifying the religious shrine and for the missionary.
3. The can train callback is included, but commented out, as this function needs to be added to the SDK. I have added the OC_TRAIN_ONLY_STATE_RELIGION_MISSIONARY check in the GlobalDefinesAlt.xml to create an option for restricitng Missionary production to only state religion missionaries.
4. In OIM: Since there was so much debate on the RELIGIOUS INFLUENCE value, I believe it should be removed from the SDK and tied directly to the value for OC_THRESHHOLD_RELIGIOUS_INFLUENCE in the GlobalDefinesAlt.xml file. This will allow the player to set the value to what ever they desire. However, there is another alternative, if you really want to hard code it. Base the RELIGIOUS INFLUENCE Threshold on Era:
Ancient 90%
Classical 85%
Medieval 80%
Renaissance 75%
Industrial and above 70%
5. My preference is to tie to the value for OC_THRESHHOLD_RELIGIOUS_INFLUENCE.
6. Lastly, I am unable to get the AI in RevDCM to produce any inquisitors. If you go back and use the functions from OIM version 250D, The AI will produce them. For, now, that code is not included in the attachment, as I'm unsure of how much of the Inquisitor code you put in the SDK. Therefore, the focus for the attachment is Limited Religions (in it's entirety) and Religious victory code from OIM.
Orion Veteran