on_entity_changed_force event

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
dakotazinn
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Mar 07, 2019 6:40 pm
Contact:

on_entity_changed_force event

Post by dakotazinn »

The Construction Approvals mod https://mods.factorio.com/mod/Construct ... rContinued depends heavily on using force changes to allow or not allow bots to pick up jobs for placing ghosts.
But there's currently no event-driven way to detect when an entity has changed forces.
This results in a couple of issues:
Approval status badges are harder to update
Drones will keep going to try to complete the job, even when its changed approval status, resulting in longer round-trips when jobs could be cancelled

Would expect something like on_entity_changed_force to drive the event.
The event would somehow have to ignore when the force is changed on a force merge event.
Post Reply

Return to “Modding interface requests”