The Great Apple
Big Cheese
At present, if you have more than one promotion being enabled with a tech, only the final promotion shows.
This is because of a typo in CvTechChooser.py
should read
Originial thread: http://forums.civfanatics.com/showthread.php?t=163835
This is because of a typo in CvTechChooser.py
Code:
# Promotion Info
for j in range( gc.getNumPromotionInfos() ):
if ( gc.getPromotionInfo(j).getTechPrereq() == i ):
szPromotionButton = "Promotion" + str([B]i[/B])
screen.addDDSGFCAt( szPromotionButton, "TechList", gc.getPromotionInfo(j).getButton(), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, j, -1, False )
fX += X_INCREMENT
Code:
# Promotion Info
for j in range( gc.getNumPromotionInfos() ):
if ( gc.getPromotionInfo(j).getTechPrereq() == i ):
szPromotionButton = "Promotion" + str([B]j[/B])
screen.addDDSGFCAt( szPromotionButton, "TechList", gc.getPromotionInfo(j).getButton(), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, j, -1, False )
fX += X_INCREMENT
Originial thread: http://forums.civfanatics.com/showthread.php?t=163835