How are the top 5 cities determined?

Looks like its in assets/python/screens/cvinfoscreen.py. Looks like its this line. I don't know python. Can somebody translate this to english for me?

Code:
iTotalCityValue = ((pCity.getCulture() / 5) + (pCity.getFoodRate() + pCity.getProductionRate() \
					+ pCity.calculateGoldRate())) * pCity.getPopulation()

Ok, so maybe it seems easy to me because I am a programmer by trade, but are you serious that you need help translating that? I'm not even sure how to really make it simpler. The only tricky part is the backslash, which just means that the current line continues onto the next line, so just ignore it.

The value for a city in the ranking appears to be
Population * (One Fifth of Total Culture Points + Food per turn + Hammers per turn + Gold per turn)

So, the way it's formulated, population is technically the biggest factor. Food, production and gold matter, beakers, espionage and current culture rate do not. A fifth of the total culture points for a legendary city is 10,000, which completely swallows any difference in food and production, and is still significantly more than gold per turn even with the sliders at 0. So a good approximation is probably population x total culture. The two tend to go together anyway so it might only rarely make a difference

It actually seems like a reasonable forumla to me.
 
It looks like it involves total culture. Food, hammers, and gold production per turn. And population. I don't know what the \ stands for though.

The \ means that the statement continues onto the next line. It exists to that you don't have to have 300+ character lines for really complicated statements.
 
Ok, so maybe it seems easy to me because I am a programmer by trade, but are you serious that you need help translating that? I'm not even sure how to really make it simpler. The only tricky part is the backslash, which just means that the current line continues onto the next line, so just ignore it.

The value for a city in the ranking appears to be
Population * (One Fifth of Total Culture Points + Food per turn + Hammers per turn + Gold per turn)

So, the way it's formulated, population is technically the biggest factor. Food, production and gold matter, beakers, espionage and current culture rate do not. A fifth of the total culture points for a legendary city is 10,000, which completely swallows any difference in food and production, and is still significantly more than gold per turn even with the sliders at 0. So a good approximation is probably population x total culture. The two tend to go together anyway so it might only rarely make a difference

It actually seems like a reasonable forumla to me.

So I was initially right. In part.
 
except that if you culture bomb a small city, it can jump to the #1 spot. I have seen that a number of times.

@TMIT - new pic? You decided that you don't like smiling anymore?
 
Back
Top Bottom