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

NewGRF Vehicles: special flag for cargo subtype text (hidden text) #5588

Closed
DorpsGek opened this issue Jun 6, 2013 · 3 comments
Closed

NewGRF Vehicles: special flag for cargo subtype text (hidden text) #5588

DorpsGek opened this issue Jun 6, 2013 · 3 comments
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jun 6, 2013

George opened the ticket and wrote:

R25306

Currently it is impossible to safely remove entries from liveries list (cargo subtype texts)
In case var F2 holds a value, that points to undefined string in cargo subtype callback, no name would be should in the information window.
In case the string is defined, this cargo subtype is also available for refit.

The idea is to have a flag (for example a special character in the beginning of the string) to disallow the refit, but allow a text in the vehicle information window.

What is it required for: during vehicle life (especially when it is very long) you can apply, for example, special recolouring for the vehicle. When time passes this recolouring becomes unavailable, but previously refitted vehicles should hold their colours. At the same time they can be repainted to the new colours, while newly repainted vehicles (new or old) can't be repainted into the old colours.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5588
@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 6, 2013

mb wrote:

Currently it is impossible to safely remove entries from liveries list (cargo subtype texts) [...]

I´m using an empty string for things like this. And you could probably re-arrange the values of varF2 according to vehicle age or current era, to reflect that.

regards
Michael


This comment was imported from FlySpray: https://bugs.openttd.org/task/5588#comment12283

@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 6, 2013

George wrote:

I suppose that means that in the information window you get no text instead of old text.
So, that would not fix my problem


This comment was imported from FlySpray: https://bugs.openttd.org/task/5588#comment12287

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 2018
@TrueBrain TrueBrain added component: NewGRF This issue is related to NewGRFs and removed Vehicles labels Apr 11, 2018
@TrueBrain TrueBrain changed the title Vehicles: special flag for cargo subtype text (hidden text) NewGRF Vehicles: special flag for cargo subtype text (hidden text) Apr 11, 2018
@andythenorth
Copy link
Contributor

TMWFTLB - more complexity in cargo subtypes isn't going to be implemented. Closing thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

3 participants