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

Cities generate science at 50%, research happens automatically #388

Open
QuintillusCFC opened this issue Feb 8, 2023 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@QuintillusCFC
Copy link
Member

This is the first tech card, designed to be the bare minimum for tech to progress (but not have all its effects).

Cities generate research. Initially always 50% of their commerce output (no slider adjustments yet). TBD if that is rounded up or down (if it generates 3 commerce, does it give 1 or 2 to tech?).

Each civ keeps track of which techs they know. They choose techs randomly from among those that they are able to research. Need to have a method to keep track of which ones are available to research, maybe that is a different card.

As part of post-turn processing, advance the progress on finishing research, and if appropriate mark it as done and select a new one.

Show the tech being researched in the lower-right, with an estimate of how many turns are left.

@QuintillusCFC QuintillusCFC added the enhancement New feature or request label Feb 9, 2023
@lexer-gamedev
Copy link

I'd like to implement this. Seems easy enough.

@esbudylin
Copy link
Contributor

@lexer-gamedev It looks like it's already implemented in #529

@TomWerner
Copy link
Contributor

@lexer-gamedev there's still lots of interesting tech-related stuff that can be done if you're interested.

The next tech steps have a mix of difficulties, and many of them are independent:

  • displaying unit icons unlocked by a tech (and allowing them to be built)
  • displaying building icons unlocked by a tech (and allowing them to be built)
  • figuring out how to pick which of the tech textures to use depending on the number of icons to display (there's a todo for this in ScienceAdvisor.cs
  • connecting resource visibility to techs (like only showing iron after iron working)
  • adding a simple AI player tech picker, which could be hardcoded or random to start
  • importing the "not needed for era advancement" signal from the biq files in ImportCiv3.cs
  • displaying the "not needed for era advancement" signal in the science advisor ui
  • implementing era advancement
  • adding a popup for tech selection, right now it can only be done via the science advisor
  • properly displaying gold per turn in the right hand corner ui
  • improving the domestic advisor so we can see the effect of moving the science slider

@TomWerner
Copy link
Contributor

#528 also added two TODOs to C7Engine/EntryPoints/TurnHandling.cs that are somewhat related to science, those should be pretty simple to address.

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

No branches or pull requests

4 participants