andythenorth wrote:Straw poll: what do you think happens if Manufacturing Supplies are delivered to this industry?
manufacturing_supplies.png
Ooooh, clever.

However, as freaking awesome as that is though, as an AI author is makes me nervous. I dont think there is any way for an AI to know this.
I can think of a few options, in descending order of complexity (please note, I know almost nothing about the NewGRF spec)...
1) Make callback 18 more sophisticated, so that the NewGRF can tell an AI how to service each industry, not just which type of station to build when it has already chosen
what to build.
2) Add some kind of machine readable flags to the NewGRF spec. Some spare bits in action 0, maybe? Its meaning need not be absolute... it could be context specific. e.g. when an industry type is part of the FIRS set and some_flag=1 then an AI should transport manufacturing supplies to it.
3) Expose those strings in the UI to the NoAI API so they can be parsed in Squirrel code and have each AI figure it out in its own way (if at all!)
4) Dont worry about it!
I imagine 3 would be the easiest to implement, and rock the boat the least!
Im not
expecting any kind of action, by the way. You guys have enough to do already! It'd be nice to get some discussion going though. If you browse the NoAI forum, you'll see that a recurring problem with AI development is coping with the various quirks in each NewGRF. If PBI threw us off (AIs dont understand stockpiling) imagine what FIRS will do!
