Docs says it should, https://lua-api.factorio.com/latest/cla ... avior.html
Have relevant mod installed, connect wire to splitter, click it:
Error while running event FilterHelper::on_gui_opened (ID 101)
LuaSplitterControlBehavior doesn't contain key type.
Relevant code:
Code: Select all
function FilterHelper.add_items_circuit(entity, items)
if entity.get_control_behavior() then
local control = entity.get_control_behavior()
if control and (
control.type == defines.control_behavior.type.generic_on_off
or control.type == defines.control_behavior.type.inserter
) then