Signal index in LuaLogisticSection of Constant Combinator
Posted: Sat Jun 21, 2025 9:24 am
I used to do it like this
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.
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
P.S. I would also like to note that the fact that logistics is now the basis, not logic, is terribly confusing.