Louis the XIV
Sun King
How can I loop through all the buildings in all the cities of a player? Or maybe just check if the city has a building.
I managed to make the looping through all cities work
but I don't know how to check if the loopCity has a building.
Any help appreciated, thanks!
I managed to make the looping through all cities work
Code:
(loopCity, iter) = player.firstCity(false)
while(loopCity):
if ( not loopCity.isNone()):
Any help appreciated, thanks!