platyping
Sleeping Dragon
Code:
VOID foundReligion (ReligionType eReligion, ReligionType iSlotReligion, BOOL bAward)
Anyone has any idea what iSlotReligion refers to?
There is another way of founding religion via python
Code:
VOID setHolyCity (ReligionType eIndex, CyCity pNewValue, BOOL bAnnounce)
But there is a problem with both of them.
If I use CyGame().setHolyCity(iHindu, pCity, True/False) to set pCity as Holy City of Hinduism, it will set pCity as the Holy City no doubt.
True/False just decide whether it is announced to whole world.
Using, pPlayer.foundReligion(iHindu, iHindu, True/False) will just let pPlayer be the founder whereby the holy city is selected by the system itself.
However, if this is done before the Founding Tech was first discovered, the problem arises.
Using either method, Hindu will be founded and Holy City set.
However, when Polytheism is first discovered, you get a popup to found any religion not founded.
Thus, I am trying to see if there is a way to solve this, so I guessing iSlotReligion is meant to mean another thing?