isenchine
Empress
Platy, I'm trying to help "poor" Lib with his CvMainInterface...
In your Platy UI, is it possible that you are missing a line which goes like:
?
One is at line 1149 I believe (if I did not change things above), in the updateSelectionButtons section. It is after an if statement:
(which by the way I don't find in the API!)
Above, you are checking for the contrary (normal buildings) and that line is not there.
If I add it, it seems to work also for normal buildings.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Another thing is a bit weird. Above, in the same section, there is a
When clicking the Star button, in Lib's mod, the code in red throws a runtime error and blocks the game. If I comment the line out, everything seem to work fine. Do you have any idea of what would be the collateral damages afterwards?...
In your Platy UI, is it possible that you are missing a line which goes like:
Code:
if self.bPrereq and not pHeadSelectedCity.canConstruct(eLoopBuilding, False, False, False): continue
One is at line 1149 I believe (if I did not change things above), in the updateSelectionButtons section. It is after an if statement:
Code:
if isLimitedWonderClass(i):
Above, you are checking for the contrary (normal buildings) and that line is not there.
If I add it, it seems to work also for normal buildings.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Another thing is a bit weird. Above, in the same section, there is a
Code:
# All of the hides...
self.setMinimapButtonVisibility(False)
[COLOR="Red"]screen.hideList( 0 )[/COLOR]
When clicking the Star button, in Lib's mod, the code in red throws a runtime error and blocks the game. If I comment the line out, everything seem to work fine. Do you have any idea of what would be the collateral damages afterwards?...