The 3 new pipes from FC:
pipe-junction, pipe-straight, pipe-elbow
can't be put underground.
I've found that putting those entities in the pipes list in Fluids must flow compatibility script has allowed them to work like that (and excluded them from the final selection position calculation at the end with if condition) = janky bandaid for personal use.
Oddly enough, copying the script from FMF(with edits to avoid "ducts") into new compatibility file caused the list in collision mask to throw nil index errors because the 'tomwub-undeground' layer couldn't be added to the layers.
In the line:
for _, pipe_connection in pairs(tomwub_pipe.fluid_box.pipe_connections) do
pipe_connection.connection_category = tag
end
-- set the collision mask to the connection_category collected earlier
-- this crashes with nil index, weird because it works in FMF script.
tomwub_pipe.collision_mask.layers[tag] = true
I don't have enough experience in lua to figure it out properly.
Granted that flow configuration does what I wanted so FC becomes kinda redundant.