Missing prerequisites should be displayed in red in production tooltips.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 17.4k
- Forks
- 3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 14
Description
I noticed while playing TD that when you mouseover units in the build queue, it will say something like "requires communication center" for a tech-2 unit, that even after you build the communication center, that it still says "requires communication center". Same applies to buildings, saying "requires power plant" and "requires refinery", etc.
I think it should only display the prerequisite information while you are still lacking that prerequisite. (Is this a regression from earlier versions?)
Also, I think the prerequisite info should be in red, since it's telling you that you lack something, and since it's information that's different from other unit information.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the production tooltip and build-queue handling described in the issue, focusing on how prerequisite requirements are evaluated and displayed for units and buildings. Done means satisfied prerequisites no longer appear, missing prerequisites remain visible, and the missing-prerequisite text is red.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100