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

[Suggestion] Addition of cargo icons in the corporate Industries window and all own windows of industries #7839

Closed
Eric-01 opened this issue Nov 18, 2019 · 4 comments

Comments

@Eric-01
Copy link

Eric-01 commented Nov 18, 2019

In PR #7809 the number of different cargo types one industry can produce was increased, and additionally the corporate Industries window became more complex, but more usable than before.

I think this window can be even more usable, hence my suggestion (which shouldn't be hard to implement) to add a cargo icon in front of each "x tonnes of y (z% transported)" string in both the corporate Industries window and all own windows of industries.

These icons could help you find the cargo type you're looking for, without the need to read each description. E.g. if you are looking for grain, and you know that grain icon in OpenTTD is yellow, you can just search for yellow icons and find it much faster. Especially if OTTD (or one of its mods that adds new cargo types) wasn't translated to your native language, and you have to use a different one.

I mean something like this:
Industries-window
Farm-window

@James103
Copy link
Contributor

James103 commented Nov 20, 2019

There are other areas that could use cargo icons. For example:

  • "Capacity: [cargo icon] X units of Y" (buy window and vehicle windows))
  • "Refittable to: [cargo icon] cargo 1, [cargo icon] cargo 2, ..." (buy window)
  • "[cargo icon] (cargo name)" for each entry in the vehicle refit window.
  • And many more...

In fact, the following changes could be made:

  • A new special string command {CARGO_ICON} could be added to take in a cargo ID as a parameter and output the corresponding cargo's icon.
  • A new game setting could be added to enable/disable showing cargo icons before each cargo name and cargo amount. This is so people who prefer the classic look and feel don't have to have the cargo icons being shown (@Eric-01), while linguistically impaired people / language learners could use the cargo icons to guide them.

@andythenorth
Copy link
Contributor

Many cargo icons are unbelievably ugly, but eh. That has no real relevance, just leaving it here :)

@Eric-01
Copy link
Author

Eric-01 commented Nov 20, 2019

Hmm... if you think they are ugly, they can always be remade by... uh... someone. And for those who prefer the classic look and feel, so don't want any cargo icons, James103's idea with the game setting would be prefect.

@andythenorth
Copy link
Contributor

Thanks for this. There's been no activity on this for some time, and as it stands, it doesn't look likely that it will go any further. I'm closing it as we try to keep the issue count low for OpenTTD, it helps us focus on things that are important and fun. Feel free to discuss in irc or request re-opening if you disagree. Thanks for contributing!

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

No branches or pull requests

3 participants