Hello,
Would it be possible to implement a new attribute for the RobotWithLogisticInterfacePrototype which is called "order_completed_action" that holds a Trigger (Like the destroy_action attribute) that triggers when the bot finishes a WorkerRobotOrder.
"order_completed_action" for RobotWithLogisticInterfacePrototype
Re: "order_completed_action" for RobotWithLogisticInterfacePrototype
What is your usecase?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: "order_completed_action" for RobotWithLogisticInterfacePrototype
Hello,
I want to create new type of logistic bot (which are not used in high volume) that disappear when they finished their first order. This would be doable by looping through all of these specific bots but i dont like the idea of looping through a list of entities every couple of ticks. This would also mean i would need to store additional data to compare the order list of all these bots. So if i just had an „event“ that allows me to destroy the drone via a trigger, it would allow for a more clean implementation.
I want to create new type of logistic bot (which are not used in high volume) that disappear when they finished their first order. This would be doable by looping through all of these specific bots but i dont like the idea of looping through a list of entities every couple of ticks. This would also mean i would need to store additional data to compare the order list of all these bots. So if i just had an „event“ that allows me to destroy the drone via a trigger, it would allow for a more clean implementation.

