Another update. I have added queuing of construction projects to the new industry model. This is different to the old model because of the ability to work on multiple projects and the fact that only a certain percentage of industrial capacity could be available. If you try to add a project for which you specify a larger percentage than is available, the project is queued instead. Normally only the overall available percentage is checked but for ordnance and fighters it will be either the overall percentage or the percentage to which they are restricted, whichever is lower. At the end of each construction phase, the program looks for any queued items and checks to see if any capacity has opened up. The items are checked in order of decreasing percentage. So if you had 25% capacity available and three queued tasks requiring 20%, 10% and 5% respectively, the first and last ones would become active and the 10% task would remain in the queue.
I have also added the code for the restriction on ordnance and fighter production. Initially you are restricted to 10% of industrial capacity for each. So if you had 400 industrial capacity, you could spend 40 on ordnance, 40 on fighters and up to the whole 400 on anything else (assuming no fighters/ordnance production). When trying to begin ordnance or fighter-related projects or when the program is looking at queued fighter/ordnance-related projects, the overall available percentage and the fighter or ordnance-related available percentages are both checked. All three available percentages are shown at the bottom of the project list
If you wanted to use the new system in the same way as the old, you could create a series of projects, all of which were 100%, or perhaps 80% if you wanted to leave space for ordnance and fighter production.
[attachment=0:w48xs4q3]Queued2.JPG[/attachment:w48xs4q3]
Steve