Code: Select all
if mods["Flow Control"] then
local flowgroup = data.raw.item["pipe-elbow"].subgroup
data.raw.item["15-under-pipe"].subgroup = flowgroup
-- data.raw.item["9-under-pipe"].subgroup = flowgroup
data.raw.item["5-under-pipe"].subgroup = flowgroup
data.raw.item["2-under-pipe"].subgroup = flowgroup
end
When Flow control is put in with the default pipes my pipes seem to correctly join them, However when I put flow control pipes into their own subsection my pipes will be put into a seperate subsection not in line with Flow Control, Flow control has 6 pipes total and my mod has 3, so I would like to make it so both my pipes and Flow Controls to appear on the same line.