12monkeys
Prince
_alphaBeta_ said:Another column that would be really useful for the city screen:
Base Production <-- the value that's displayed when you mouse over the production in the city screen. It's a raw add of the hammers in the city.
When trying to figure where to build anything fast, the regular hammer value currently displayed is misleading. This value takes into account the overflow and any bonuses applied, which may not apply to what you're trying to build.
Another use is when you want to build something like the heroic epic (+100% military production) in a city that consistently has the highest production. It's possible when looking at the current screen that you would select a city for a high value that was only because temporary overflow from a previous build.
The column is already avaiable, but is not displayed. To display them you have to open the CvModSpecialDomesticAdvisor.py file and look for the text "BASE_PRODUCTION". You can find it commented in several dictionary definitions, one for each screen (Default, Specialist and Military). You just have to uncomment the line in the view you want the collumn to be disaplyed.
The Default View starts with
Code:
self.DEF_VIEW_LIST = [
The Specialist view starts with
Code:
self.SPEC_VIEW_LIST = [
The Military view starts with
Code:
self.MIL_VIEW_LIST = [
The piece of code should look like this (part for the Default View):
Code:
self.DEF_VIEW_LIST = [
# Columns Name Width
( "BUTTON", 25.0 ),
( "NAME", 90.0 ),
( "LANDMARKS", 80.0),
# ( "AUTOMATION", 94.0 ),
# ( "DATE", 49.0 ),
# ( "RELIGIONS", 25.0 ),
# ( "SPECIALISTS", 25.0),
( "POPULATION", 36.0 ),
# ( "POPULATION_REAL", 52.0 ),
# ( "GARRISON", 31.0 ),
( "HAPPY", 36.0 ),
# ( "BASE_HAPPY", 36.0 ),
# ( "BASE_UNHAPPY", 36.0 ),
( "HEALTH", 36.0 ),
# ( "BASE_GOODHEALTH", 36.0 ),
# ( "BASE_BADHEALTH", 36.0 ),
( "GROWTH", 36.0 ),
( "FOOD", 36.0 ),
# ( "FOOD_STORED", 36.0 ),
# ( "BASE_FOOD", 36.0 ),
( "PRODUCTION", 42.0 ),
# ( "BASE_PRODUCTION", 48.0 ),
( "MAINTENANCE", 38.0 ),
# ( "MAINTENANCE_DISTANCE", 38.0 ),
just remove the "#" in front of the row where the BASE_PRODUCTION was found and align them with the other lines (important!).
If you need further help, post you requests here.