Firstly, i congratulate you on such an amazing script. I am playing with this script for the first time whilst also making my début foray into FIRS as well as Cargo Destinations (passengers and mail only) and the combination of the three completely redefine and refresh playing openttd.
Glad you like it.
The main question I wish to ask is how to work out whether or not delivering a cargo will count towards the towns limits before actually trying to deliver it. I.e. how does the town define whether or not it counts the cargo as growth benefiting.
Each town has requirements for each cargo category. If the cargo you bring there fits to the requirements, it counts for growth. If the cargo exceeds requirements, the exceeding part is not taken in count.
Take for example a small town with a FIRS brewery nearby. This brewery accepts fruit, which counts as 'general food', and makes food. How do I know whether the brewery/station I build is close enough to the town for the fruit which would be delivered to the industry to count towards the towns general food requirements and therefore not need to link the town up with a food route from the brewery?
Actually, I never asked myself the question that way. For what I understand the code, each industry "belongs" to a town, which can be known by just cheking its name, like: "Paris brewery", "London's Livestock yard". I assume that this is enough to consider that the deliveries to such industry can be considered as a delivery to the town, and when I were working on the code, this conception was never contradicted by my observation. That's the best I can tell on this.
And is this distance fixed? Do I just have to deliver to an industry named after the town? Do I need to be in catchment area of a minimum of one house from the town? Do I need to be in catchment area of the square with the town name on? Is there a set number of squares distance? If so does this change as the town grows? Does it work by having the station on land owned by the town? How does this work?
That's to many questions, which let's me think you're to nervous. Did you have observations that contradicted the intuitive way of playing ?
Secondly, when a town gets big enough to accept a new category of cargo, does all town growth cease until this category is fulfilled or is this simply an extra opportunity to fuel growth even further? Is maximum town population capped unless you deliver specific cargoes or can it continue to grow at the same rate no matter if you fail to deliver the new categories?
No, growth doesn't stop. Each cargo category counts only for a part of growing potential, so that if a new cargo category type is needed, and you don't deliver it, growth will just start decreasing in respect to its best potential growth rate, but still grow. But, more it grows, more the new cargo type is needed, and so with time ongoing and the town growing, grow will finally stop (which means: be extremely low).
If you could give guidance on how to make judgements on this that would be great, as it makes a difference on the decisions that I make during the course of the game. Thanks
I hope I answered to most of your questions. If something still isn't clear, just tell me.