[Solved] Robot Construction Queue
Posted: Tue Oct 13, 2020 12:47 pm
Hello fellow Factorians,
Quick question: I'm trying to find out if an entity is being constructed/deconstructed/upgraded/serviced by personal robots (the logistics cell the robot belongs to has a character as owner and is mobile) or not. Is there any way to tell which robot is on the way to which entity?
Or differently phrased: Can I access the robot job queue somehow, or infer otherwise which bot builds a certain entity?
Best regards,
Chris
Edit: I have found, that ConstructionRobots have listed a construction_vector in their prototype, but I cannot access/find this property. Could this be part of the solution? (Iterate over personal robots, get the vector, find entities at the position the vector is pointg towards... just a thought).
Edit2: It would also suffice to find the LogisticsNetwork, the robots doing the construction belong to. I could tell if it's a personal/mobile logistics cell or not.
Quick question: I'm trying to find out if an entity is being constructed/deconstructed/upgraded/serviced by personal robots (the logistics cell the robot belongs to has a character as owner and is mobile) or not. Is there any way to tell which robot is on the way to which entity?
Or differently phrased: Can I access the robot job queue somehow, or infer otherwise which bot builds a certain entity?
Best regards,
Chris
Edit: I have found, that ConstructionRobots have listed a construction_vector in their prototype, but I cannot access/find this property. Could this be part of the solution? (Iterate over personal robots, get the vector, find entities at the position the vector is pointg towards... just a thought).
Edit2: It would also suffice to find the LogisticsNetwork, the robots doing the construction belong to. I could tell if it's a personal/mobile logistics cell or not.