Actual Underground Pipes


What? Pipes that are actually... underground!?

Tweaks
a month ago
2.0
1.08K
Logistics Fluids

i [added] Flow Control compatibility

5 months ago

Hi, it's an awesome mod.

Could there be a possibility for compatibility with Flow Control : https://mods.factorio.com/mod/Flow%20Control?

5 months ago

How so?

I believe there's already compatibility... or maybe it was Flow Configuration

5 months ago

Alright, thank you.

5 months ago

If there isn't already compatibility, what's missing? It should work out of the box

5 months ago
(updated 5 months ago)

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.

5 months ago

I'll look into adding FCT compat, I was talking with the dev of FCF a few days back and they said that FCT-FCF compat was in the works, so this will help in the long run.

Yeah those compatibility files are the best way to do more arbitrary stuff like with FMF, I'll be making a new one for FCT. Expect an update in the next week or so.

4 months ago

Added to next release!

New response