ruff_hi
Live 4ever! Or die trying
This is BUFFY ... Take a look at the F4 tech trading screen below ...
Note that Mansa says he can research 'Rifling'. Flipping over to the tech screen, I see that 'Replaceable Parts' is a pre-req for 'Rifling' ...
... which means that I know that Mansa already has 'Replaceable Parts'.
I thought the 'can research' column only contained ...
Is this a bug? I think it is.
Slightly off topic, can we add a focus highlight to the 'can research' tech that the AI is currently researching (only if we have enough EPs) - that would make a good addition to the screen. I also want to put in a '!' next to the leader icon if the leader is in a 'will not talk' phase.

Note that Mansa says he can research 'Rifling'. Flipping over to the tech screen, I see that 'Replaceable Parts' is a pre-req for 'Rifling' ...
Spoiler :

... which means that I know that Mansa already has 'Replaceable Parts'.
I thought the 'can research' column only contained ...
- techs that I already know
- techs that I can research
Is this a bug? I think it is.
Code:
for iLoopTech in range(gc.getNumTechInfos()):
tradeData.iData = iLoopTech
if (activePlayer.canTradeItem(iLoopPlayer, tradeData, False) and activePlayer.getTradeDenial(iLoopPlayer, tradeData) == DenialTypes.NO_DENIAL): # wants
self.techIconGrid.addIcon( currentRow, 1, gc.getTechInfo(iLoopTech).getButton(), 64, WidgetTypes.WIDGET_PEDIA_JUMP_TO_TECH, iLoopTech )
elif currentPlayer.canResearch(iLoopTech, False):
self.techIconGrid.addIcon( currentRow, 2, gc.getTechInfo(iLoopTech).getButton(), 64, WidgetTypes.WIDGET_PEDIA_JUMP_TO_TECH, iLoopTech )
Code:
CyPlayer
BOOL canResearch(TechType eTech, BOOL bTrade)
bool (int /*TechTypes*/ iIndex, bool bTrade)
Slightly off topic, can we add a focus highlight to the 'can research' tech that the AI is currently researching (only if we have enough EPs) - that would make a good addition to the screen. I also want to put in a '!' next to the leader icon if the leader is in a 'will not talk' phase.