Page 1 of 1

[0.15.18] Inf. research name not updated when set in EH

Posted: Wed Jun 07, 2017 11:46 pm
by zx64
Summary:

When setting a force's current_research inside on_research_completed to the same infinite research (e.g. "mining-productivity-16"), the displayed current research name is not updated.
The bonus is however successfully applied and the correct level does appear in the tech tree dialog.

Repro Scenario has some extra stuff to make the repro happen faster but the research is completed "normally".

What happens: Mining Prod 17 is completed and moves onto the next level of mining productivity, however the game still shows you as researching Mining Prod 17 when it's actually researching Mining Prod 18.
If you leave it to fully complete MP18, you'll see it again display it researching MP17 but a check of e.g. the bonuses window or the tech window will show the true state.

This is not affected by the "Tech window opens when research is completed" option.

Re: [0.15.18] Inf. research name not updated when set in EH

Posted: Thu Jun 08, 2017 5:19 am
by TruePikachu
Does this apply to the icon (NaB) or the textual string that is displayed e.g. in the upper-right corner?

Re: [0.15.18] Inf. research name not updated when set in EH

Posted: Thu Jun 08, 2017 9:45 am
by daniel34
Related: using /c game.player.force.current_research.researched = true will research the current level, but not update the top right display. Repeating it 5 times will still show level x on the top right although in the technology screen it's already x+5.

Image

Re: [0.15.18] Inf. research name not updated when set in EH

Posted: Fri Jun 09, 2017 5:56 am
by Rseding91
Thanks for the command to reproduce the problem. It's now fixed for the next version of 0.15.