glider1
Deity
@OrionVet
To save you some work, I could wrap up some of the simpler stuff about when you can conduct an inquistion and when you cannot. At the moment there are a few escapee conditions. It is possible to conduct an inquisition under pacifism as it stands now for example . If you like, I can catch these conditions by rewriting the following functions:
CvGameUtils.canTrain()
CvGameUtils.cannotTrain()
Conditions would be:
canTrain: if have state religion AND not pacifism
cannotTrain: if not have state religion OR pacifism (just an inversion of canTrain)
"Free religion" would be autmatically caught that way leaving only "Paganism" as an escapee. Ok with you?
The other condition that I think needs catching is that because inquisitors aren't killed off unless they have conducted an inquistion, they can hang around and possibly conduct inquisitions when they shouldn't if at any point we make some bad AI code. Therefore the proposition is that we make a final catch of the possibility of a rogue inquisition in the function:
CvGameUtils.doHolyCitySeekAndDestroy()
where we make one final ask "can we conduct an inquisition?" before we go do it. The inquisition event is always fired from this function so it's a pretty good place to do it. I could unite that question under one function so that it only ever get's answered in one place. So if you are busy on other things I can write, test and submit:
def CvGameUtils.canTrain()
def CvGameUtils.cannotTrain()
def CvGameUtils.doHolyCitySeekAndDestroy()
def CvGameUtils.canInquisition()
@Dresdon
Thanks on the API docs. Question for you if you have got the time. At the moment inquisitors are invisible. This is an obvious exploit because you can use them as spies abroad. To make them visible is it as simple as toggling this tag in the xml?:
<bInvisible>1</bInvisible>
and does that mean that inquisitors then are subject to all the rules about open borders etc?
Cheers.
To save you some work, I could wrap up some of the simpler stuff about when you can conduct an inquistion and when you cannot. At the moment there are a few escapee conditions. It is possible to conduct an inquisition under pacifism as it stands now for example . If you like, I can catch these conditions by rewriting the following functions:
CvGameUtils.canTrain()
CvGameUtils.cannotTrain()
Conditions would be:
canTrain: if have state religion AND not pacifism
cannotTrain: if not have state religion OR pacifism (just an inversion of canTrain)
"Free religion" would be autmatically caught that way leaving only "Paganism" as an escapee. Ok with you?
The other condition that I think needs catching is that because inquisitors aren't killed off unless they have conducted an inquistion, they can hang around and possibly conduct inquisitions when they shouldn't if at any point we make some bad AI code. Therefore the proposition is that we make a final catch of the possibility of a rogue inquisition in the function:
CvGameUtils.doHolyCitySeekAndDestroy()
where we make one final ask "can we conduct an inquisition?" before we go do it. The inquisition event is always fired from this function so it's a pretty good place to do it. I could unite that question under one function so that it only ever get's answered in one place. So if you are busy on other things I can write, test and submit:
def CvGameUtils.canTrain()
def CvGameUtils.cannotTrain()
def CvGameUtils.doHolyCitySeekAndDestroy()
def CvGameUtils.canInquisition()
@Dresdon
Thanks on the API docs. Question for you if you have got the time. At the moment inquisitors are invisible. This is an obvious exploit because you can use them as spies abroad. To make them visible is it as simple as toggling this tag in the xml?:
<bInvisible>1</bInvisible>
and does that mean that inquisitors then are subject to all the rules about open borders etc?
Cheers.




Would be simple to fix as per canBuild rather than canTrain. Personally I'm not a fan of holy offices not because it's a bad idea (it's a good idea). I'm against it because the AI will waste precious resources at times, building holy offices he won't use. Maybe we should put an option in for that? I'll be running this mod without holy offices, just straight inquisitors.
You just can't make that up!!
to +2
- an inquisition snooping around should do that.
Lots of game time is needed or else we need Firaxis to supply us with the maths equations they used to model the dynamics of this game! If we have computers that don't overheat, we could run a dozen games with and without holy offices to see the effect, all games starting from the same initial conditions. That would be fun, except that my computer overheats!
worship, alleged or real, was treated as any other sort of heresy that was subject to an inquisition trial and execution. I think the Wonder is very cool, just like all of the other Wonders you have created.