I was working on a mod and noticed there is no event that fires when selecting an area with super force (ctrl + shift).
I can modify the color of the selection and so on in `data.lua`
but the event for this selection is not in the modding api:
[2.0.73][MOD API] Missing on_player_super_forced_selected_area event
Re: [2.0.73][MOD API] Missing on_player_super_forced_selected_area event
Hm... it looks like the "super_forced_select" was added only for the purpose of deconstruction planners and as such it only causes game state effects when part of deconstruction item. In that case it would raise on_player_deconstructed_area event without any extra flags to know if it was due to super_forced_select or regular select (this detail is available on the game side since it affects deconstruct behavior).
Since it was never properly implemented as additional selection mode usable with arbitrary selection tools, i would rather fix this by moving super_forced_select from SelectionToolPrototype down onto DeconstructionItemPrototype making it fully non-functional including frame color.
Since it was never properly implemented as additional selection mode usable with arbitrary selection tools, i would rather fix this by moving super_forced_select from SelectionToolPrototype down onto DeconstructionItemPrototype making it fully non-functional including frame color.
Re: [2.0.73][MOD API] Missing on_player_super_forced_selected_area event
boskid wrote: Wed Feb 04, 2026 11:43 am Hm... it looks like the "super_forced_select" was added only for the purpose of deconstruction planners and as such it only causes game state effects when part of deconstruction item. In that case it would raise on_player_deconstructed_area event without any extra flags to know if it was due to super_forced_select or regular select (this detail is available on the game side since it affects deconstruct behavior).
Since it was never properly implemented as additional selection mode usable with arbitrary selection tools, i would rather fix this by moving super_forced_select from SelectionToolPrototype down onto DeconstructionItemPrototype making it fully non-functional including frame color.
I tried setting `super_forced_select mode` to deconstruct - it didnt fire `on_player_deconstructed_area`. In fact i tried listening to all events and nothing was fired when ctrl shift selecting an area. Ill try using the DeconstructionItemPrototype.
EDIT: Yeah DeconstructionItemPrototype is better for me right now. Having super_forced_select on the event there would be great. Currently it only has the `alt` property. https://lua-api.factorio.com/latest/eve ... ucted_area

