1. Run this code in the console:
Code: Select all
/c script.on_event({
defines.events.on_player_mined_entity,
defines.events.on_robot_mined_entity,
defines.events.on_entity_died,
defines.events.script_raised_destroy
}, function() game.print("entity destroyed") end)
3. Make sure Settings -> Instant deconstruction is on.
4. Select Tools -> None.
5. Pick up a deconstruction planner and deconstruct something.
Expected result: "entity destroyed"
Actual result: nothing