1) Fix specialist display bug when player has civics with unlimited slots when the city itself has limited slots.
2) New sort function for pedia (Advisors)
@Lib
Naturally it is possible to rearrange them in whatever number of columns you like.
But size won't change because those are text, not pics. That IS the max font defined.
The only way to increase size so they are not squashed is changing the codes to use pics instead.
@Vincent
1) Not defined anywhere in python.
2) Civ specific text colors is done via changing the colors of each individual text code.
Which means I can change it to be blue, bold, underlined, font size 4 etc.
As for theme colors, I doubt your external program uses python to select which theme to use, as I don't think any python code refers to theme files.
3)
Code:
if not pTeam.isAlive(): continue
if pTeam.getProjectCount(gc.getInfoTypeForString("PROJECT_ENCYCLOPEDIA")) == 0: continue
iRank = CyGame().getTeamRank(iTeam)
4)
Code:
fBase = (self.fBase/(CyGame().countCivTeamsAlive() - 1)) + (pPlayerX.getCurrentEra() + 1 - iEra) * self.fEraBoost
Just divide self.fBase by the number of teams alive, excluding ownself. Which means if you know everyone else, the max base rate is self.fBase, ignoring the modifiers. Balance is up to you.