I don't feel comfortable with QT UI stuff so I won't do implementation myself, but I reverse engineered (ILSpy + buying things in-game + some trial and error) IDs related to different locomotive types, allowing us to modify those. It can be found in the QualitiesPossessed array, and has the id of 132796 and a structure more or less like this (after pretty-printing):
I don't feel comfortable with QT UI stuff so I won't do implementation myself, but I reverse engineered (ILSpy + buying things in-game + some trial and error) IDs related to different locomotive types, allowing us to modify those. It can be found in the QualitiesPossessed array, and has the id of 132796 and a structure more or less like this (after pretty-printing):
In EDIT THIS, we put the ID of locomotive we want. The ones I found are: