I wrote a mod that uses the on_robot_mined_entity event and noticed that this event doesn't trigger when deconstructing entities that are close to the player.
When I deconstruct entities that are close to the player the construction robots don't really fly to the entity but instead just pop up above the player and vanish shortly after.
I wrote a simply mod that outputs test to the console when the event is triggered:
Code: Select all
script.on_event(defines.events.on_robot_mined_entity, function(event)
game.print("test")
end)
Cheers,
Ahsous