Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You can trade a resource before researching it, but it doesn't show on the top #9211

Closed
WhoIsJohannes opened this issue Apr 17, 2023 · 4 comments
Labels

Comments

@WhoIsJohannes
Copy link
Contributor

See title. I traded oil before researching Biology, I can use the oil to build planes, but I can't see on the top that I have it.

@SomeTroglodyte
Copy link
Collaborator

Well, this merits either an answer like

  • Look for RejectionReasonType.ConsumesResources, dig down, the decisions are made in updateCivResources, no tech-check, dig further, tile.providesResources - aha there it is. Profiting from the improvement requires the tech, not the resource itself. So - by design? Check original game? And whether the WorldScreenTopBar should show what's not your own income - matter of taste?
  • OR "hey, be glad your clothing is stain-free, and exploit quietly" or "I thought planes are mostly built from metals?" or "sound career decision, from high-pay high-risk semi-legal to a low-pay stable job in academia..."

@yairm210
Copy link
Owner

You should be able to trade for a resource before you have the tech to make it yourself.
Is that the situation?
Or did you manage to trade it away? Because that's a bug

@WhoIsJohannes
Copy link
Contributor Author

No, I got it, it's all fine. This is only a UI problem. The top bar does not show this resource. Does it add other such traded resources to the count if you already have discovered the resource? I believe so, correct?

@yairm210
Copy link
Owner

Yes
I see your point - if you traded for a resource before you yourself have revealed it, it should indeed be shown on top bar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants