j_mie6
Deity
Hi,
does anybody know what these callbacks in CvGameUtils do?
I want some code that prevents the founding of a religion untill a certain turn, so I was thinking one of these might be able to do something about it.
does anybody know what these callbacks in CvGameUtils do?
Code:
def doHolyCity(self):
return False
def doHolyCityTech(self,argsList):
eTeam = argsList[0]
ePlayer = argsList[1]
eTech = argsList[2]
bFirst = argsList[3]
return False
def doReligion(self,argsList):
pCity = argsList[0]
return False
def cannotSpreadReligion(self,argsList):
iOwner, iUnitID, iReligion, iX, iY = argsList[0]
return False
I want some code that prevents the founding of a religion untill a certain turn, so I was thinking one of these might be able to do something about it.