"order_completed_action" for RobotWithLogisticInterfacePrototype

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
DerLolli
Burner Inserter
Burner Inserter
Posts: 7
Joined: Wed Apr 16, 2025 7:18 am
Contact:

"order_completed_action" for RobotWithLogisticInterfacePrototype

Post by DerLolli »

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.
Bilka
Factorio Staff
Factorio Staff
Posts: 3684
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: "order_completed_action" for RobotWithLogisticInterfacePrototype

Post by Bilka »

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.
DerLolli
Burner Inserter
Burner Inserter
Posts: 7
Joined: Wed Apr 16, 2025 7:18 am
Contact:

Re: "order_completed_action" for RobotWithLogisticInterfacePrototype

Post by DerLolli »

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.
Post Reply

Return to “Modding interface requests”