[B]ePromoOr3 = gc.getPromotionInfo(self.iPromotion).getPrereqOrPromotion3()[/B]
if (ePromoOr1 > -1):
if (ePromo > -1):
screen.attachLabel(panelName, "", localText.getText("TXT_KEY_AND", ()))
if (ePromoOr2 > -1):
screen.attachLabel(panelName, "", "(")
screen.attachImageButton( panelName, "", gc.getPromotionInfo(ePromoOr1).getButton(), GenericButtonSizes.BUTTON_SIZE_CUSTOM, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, ePromoOr1, 1, False )
if (ePromoOr2 > -1):
screen.attachLabel(panelName, "", localText.getText("TXT_KEY_OR", ()))
screen.attachImageButton( panelName, "", gc.getPromotionInfo(ePromoOr2).getButton(), GenericButtonSizes.BUTTON_SIZE_CUSTOM, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, ePromoOr2, 1, False )
[B] [s]if (ePromo > -1):[/s]
[s]screen.attachLabel(panelName, "", ")")[/s][/B]
[B] if (ePromoOr3 > -1):
screen.attachLabel(panelName, "", localText.getText("TXT_KEY_OR", ()))
screen.attachImageButton( panelName, "", gc.getPromotionInfo(ePromoOr3).getButton(), GenericButtonSizes.BUTTON_SIZE_CUSTOM, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, ePromoOr3, 1, False )
if (ePromo > -1 and ePromoOr2 > -1):
screen.attachLabel(panelName, "", ")")[/B]
eTech = gc.getPromotionInfo(self.iPromotion).getTechPrereq()