Anihilnine wrote:
Easier, You could just test if it is assisting or not. In code it is called Guarding I think
That doesn't quite do it, because sometimes the assisting factories *will* have some build queue of their own (and should not then be considered 'available').
Anihilnine wrote:
You should be able to figure that out by looking through the code that renders the build queue.
I had a look at some stuff like this, in construction.lua, but, in order for the build queue to be rendered, the factory has to be selected, and I have a feeling that other code related to manipulating the build queue may also depend on some selection hooks triggering.
I'll have another look this, though, and see if I can figure out what's going on..Statistics: Posted by crispweed — 18 Jan 2019, 22:56
]]>