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
Make the pedia links to buildings and techs filter for relevance #3579
Comments
Could you give a specific example of the problem and how you'd like it fixed? |
Sure, I'm sorry for any lack of clarity.
At step 5, I'd like to see a list of all buildings which affect Stability, and no others. |
How do you define "affect Stability"? I feel like doing this robustly would involve a way to script a filter with which the UI would generate the list dynamically, rather than requiring someone to manually label a bunch of buildings in a hard-to-maintain way, or manually write a pedia article that contains the list in a slightly less hard-to-maintain way. |
Alternatively, meter articles could have programmatically generated lists of content, where the listed stuff has some hard-coded property. This is already done in various cases like lists of species that like something or list of ships of a particular design. In the case of "stability", I'm not sure what you want, but it could be lists of content that has an effect that modifies stability, though this will be of questionable use if it includes any effect that affects stability in any case, as many of those effects are specific to a small number of species, due to likes/dislikes, or other conditions. |
Yes, the definition of "affect Stability" would have to be specific to the player's race, the whole point of this suggestion is to provide easy access to the likes and dislikes of the race. So yes I think I agree with you that it should be generated dynamically (I'm not sure how you distinguish between dynamically in your first comment and programmatically in your second). I'm not too familiar with the stability/government mechanics yet - other than racial likes and dislikes (of buildings, policies etc.), are there other impacts on stability that differ by race? Would the list be simply all the neutral stability-affecting buildings (or policies etc.) - those whose effects are not dependent on race - plus all the liked/disliked ones? |
Species can have different baseline stability levels. Any arbitrary game content can also affect any meter via scripted effects. |
I'm not sure whether that's a reason not to do this? Species have different baseline research and production levels too, but it's still helpful to see what affects RP and PP. I don't know about arbitrary game content - I think perhaps the list won't be exhaustive in that case, but still useful. |
I was just replying to your questions... |
Doh, sorry, I lost the context. Thank you. |
well i like the idea too, let me have a look into it. |
having looked at the source code, i have discovered that i have to spend more time looking at the source code. in a first step, i would remove all colony 'buildings' of specific species from the list since that is very redundent and makes the list much more readable. see before/after screenshots. as for more intelligent filtering, i'll have to read up on that .. |
- degendering the Raaagh-description (he -> it/they) - typo corrections in existing texts - beautifications of species-descriptions-tooltips / pedia-pages: -- less wrapped lines -> easier readable in game start screen -- added a neutral symbol o to preexisting positive + and negative - -- added nonprintable ∘ character to facilitate search/replace for o∘ - applied patch from freeorion#2304 --> more elaborate noob-greetings (with minor typo and style adjustments) - make pedia page 'Building Types' a little less redundant by removing species' colonies --> see also freeorion#3579
Feature request
Idea
The pedia helpfully explains, in many of its articles, that the meter in question is affected by Building Types or Technologies (and also in some cases Policies). It offers hyperlinks to lists of those things. But there is no way of telling which of the things on the list affects the thing you were reading up on. It would be great if the list was filtered to show you only the things which affect the thing you were reading about.
Gain
As the game gets more complex, with a huge proliferation of buildings, techs and policies, it becomes more important to be able to filter the lists of them. Interactive filtering is presumably harder than this suggestion, which could be a stopgap until it is implemented.
Discussion
If buildings, techs and policies already have flags for what they affect then this should be simple. If they don't, I'd be happy to add them to the data files if someone wanted to code the filtering.
The text was updated successfully, but these errors were encountered: