I get this now? I believe its the same thing.
Traceback (most recent call last):
File "<string>", line 1, in ?
File "<string>", line 52, in load_module
File "CvEventInterface", line 13, in ?
File "<string>", line 35, in load_module
File "<string>", line 13, in _get_code
File "CvEventManager", line 1180
'Building Completed'
^
IndentationError: expected an indented block
load_module CvAppInterface
Code:
def onBuildingBuilt(self, argsList):
'Building Completed'
pCity, iBuildingType, iPlayer = argsList
game = gc.getGame()
###water start part 3####
if (iBuildingType == gc.getInfoTypeForString("BUILDING_AQUEDUCT"))or(iBuildingType == gc.getInfoTypeForString("BUILDING_KHMER_BARAY"))or(iBuildingType == gc.getInfoTypeForString("BUILDING_OTTOMAN_HAMMAM")):
thisplot = CyMap().plot(pCity.getX(),pCity.getY())
thisplot.setFeatureType(gc.getInfoTypeForString("FEATURE_WATER"),0)
####water end part 3###
###from here###
thisBuilding = gc.getBuildingInfo(iBuildingType)
BuildingClass = thisBuilding.getBuildingClassType ()
pPlayer = gc.getPlayer(iPlayer)
if BuildingClass == gc.getInfoTypeForString("BUILDINGCLASS_COLOSSEUM"):
if game.getBuildingClassCreatedCount(BuildingClass)==1:
iX = pCity.getX()
iY = pCity.getY()
newUnit = pPlayer.initUnit(gc.getInfoTypeForString( 'UNIT_SPARTACUS' ), iX, iY, UnitAITypes.UNITAI_GENERAL, DirectionTypes.NO_DIRECTION)
####to here###
if ((not gc.getGame().isNetworkMultiPlayer()) and (pCity.getOwner() == gc.getGame().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())
CvAdvisorUtils.buildingBuiltFeats(pCity, iBuildingType)
## Djenne Start ##