Page 1 of 1

Signal index in LuaLogisticSection of Constant Combinator

Posted: Sat Jun 21, 2025 9:24 am
by juggernaut
I used to do it like this

Code: Select all

    controlBehavior = combinator.get_or_create_control_behavior()
    local parameters = {
        {
            index = CombinatorSlot.VOLUME,
            signal = {type = "virtual", name = "signal-V"},
            count = settings.volume
        }
    }
    controlBehavior.parameters = parameters
How do I now specify/get the cell index in the combinator from LuaLogisticSection and LogisticFilter?

P.S. I would also like to note that the fact that logistics is now the basis, not logic, is terribly confusing.