jbfballrb
Warlord
i see that...pretty clever. but where does it decide which building triggers that?
def onBuildingBuilt(self, argsList):
'Building Completed'
pCity, iBuildingType = argsList
game = CyGame()
if ((not self.bMultiPlayer) and (pCity.getOwner() == CyGame().getActivePlayer()) and isWorldWonderClass(gc.getBuildingInfo(iBuildingType).getBuildingClassType())):
# If this is a wonder...
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_PYTHON_SCREEN)
popupInfo.setData1(iBuildingType)
popupInfo.setData2(pCity.getID())
popupInfo.setData3(0)
popupInfo.setText(u"showWonderMovie")
popupInfo.addPopup(pCity.getOwner())
Inquisition = gc.getInfoTypeForString('BUILDING_INQUISITION')
if iBuildingType == Inquisition:
cf.Inqusit(pCity)
pCity.setHasRealBuilding(Inquisition, False)
Fachy said:err.. does this mean that the AI can use it? o.o
Fachy said:Yes I think it needs python to make the AI "understand" the values pros/cons of that new feature
Otherwise it's not fun to do it (unless you're playing with ppl)
Fachy said:But it's unfair for them, they can't purge Islam (or any other religions)! Anyway you can have it anyway you like, but I like the AI to have the same abilities
Robo Magic Man said:I really liked the idea of having inquisitors, and I downloaded it, but I can't say I'm too fond of the spy graphics. So, I made the inquisitor a red robed christian missionary (to look more like the spanish inquisitors). Here's the edited mod: