Skip to content

Translate science report function#116

Closed
VladimirMakeev wants to merge 2 commits intorajko-horvat:masterfrom
VladimirMakeev:science-report
Closed

Translate science report function#116
VladimirMakeev wants to merge 2 commits intorajko-horvat:masterfrom
VladimirMakeev:science-report

Conversation

@VladimirMakeev
Copy link
Contributor

Description of Changes

Function F14_0000_014b_ScienceReport was translated.

Rationale behind Changes

Code translation.

Suggested Testing Steps

Science report popup window (hotkey F6) should look and work as before.

Player humanPlayer = this.oParent.CivState.Players[this.oParent.CivState.HumanPlayerID];
if (humanPlayer.ResearchTechnologyID != -1)
{
string text = $"Researching {this.oParent.CivState.TechnologyDefinitions[humanPlayer.ResearchTechnologyID].Name}";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can change this line to

string text = $"Researching {this.oParent.CivState.TechnologyDefinitions[humanPlayer.ResearchTechnologyID].Name}  ({progress}/{progressTotal})";

In order to show research progress values:
Image

@rajko-horvat
Copy link
Owner

Implemented.

@VladimirMakeev VladimirMakeev deleted the science-report branch December 17, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants