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

[Bug]: Valuables dissappear from refitable cargo list for some of newgrfs #773

Open
tlpwka opened this issue Nov 10, 2024 · 4 comments
Open

Comments

@tlpwka
Copy link

tlpwka commented Nov 10, 2024

Version of OpenTTD

0.63.0

Expected result

As in 0.62.0, vehicles should have option to refit to valuables
1

Actual result

Cannot be refitted in 0.63.0
2
Impacted at least:

  • Bobs random British vehicles
  • Russian trucks v0.2
  • Hungarian truck set v2.1

not impacted:

  • eGRVTS v2.0
  • Horse carts road vehicles set 1.2

Steps to reproduce

0.62.0.sav.zip
0.63.0.sav.zip

@JGRennison
Copy link
Owner

This GRF/climate configuration doesn't work for valuables in current vanilla OpenTTD either.
These vehicle sets are very old and don't interact particularly well with other NewGRFs.

Most likely the specific change is: OpenTTD/OpenTTD#12646

@tlpwka
Copy link
Author

tlpwka commented Nov 11, 2024

that is sad.
Do you think the impacted grfs will be hard to fix by myself (i did not checked other truck set if they have any issues)? I can't find source files for this particular sets, so there is only grfcodec option to decode them...

P.s.: I just done some additional testing: bug appears while using:

  • opengfx industries with bank cargo set to valuables
  • tested on arctic map,
  • new game 2090, vehicles never expire

vanila 14.1:

  • cargo refit to valuables is available for expected vehicles:
    14 1

path 0.63:

  • cargo refit not available

0 63

@PeterN
Copy link
Contributor

PeterN commented Nov 25, 2024

Yeah, OpenTTD/OpenTTD#12646 fixes things for old vehicle sets that assumed the default cargo types are available. With non-default cargo types it was already mostly luck what happened, and was possibly not as intended -- without access to the original documentation or source there is no indication of what is expected.

GRF Overrides should allow the original cargo type properties and cargo classes to be set for these older GRFs, and OpenTTD/OpenTTD#12879 might help by letting other GRFs install an appropriate cargo translation table onto them, if fixing them natively is out of the question.

@PeterN
Copy link
Contributor

PeterN commented Nov 28, 2024

I think OpenTTD/OpenTTD#13131 should fix most of these, although I've only tested with US Trains Set.

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