Recently there's been work in the master branch of OTTD that increases the number of cargo types to 64. After some discussions on IRC we figured those additional cargo types would be much more exciting if industries could also consume and produce more cargo types each, instead of the historical limit of 3-in-2-out.
I started working on a patch that increases the number of slots on industries to 16 cargo types in and 16 out, here's the pull request
on GitHub. There's also an analogous for town houses
since you'd want to extend those as well.
Although most of the work happens on GitHub (and IRC), I'm making a thread here as well, since some interest was shown in the FIRS thread.
Descriptions of the proposed additions to NewGRF support are in the initial posts in each of the two pull requests.
Current status (August 1st) is that both features await more testing. I have made my own little NewGRF for testing, but it doesn't exercise any of the callback features.
Additionally, NML needs to be updated to understand the new features as well, so right now you can only use them by writing oldschool NFO files
There are some "obvious" callbacks for dynamically controlling per-tile acceptance that are not included in the patches. Constantly performing callbacks for this is quite expensive, and from a performance perspective, please don't depend on that. If you have a really really
good use case, present it and maybe they'll come back!
complex-industries.png [ 152.91 KiB | Viewed 2137 times ]