Signal index in LuaLogisticSection of Constant Combinator

Place to get help with not working mods / modding interface.
juggernaut
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jul 20, 2016 7:41 am
Contact:

Signal index in LuaLogisticSection of Constant Combinator

Post 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.
Post Reply

Return to “Modding help”