Really Less Advanced Fluid Handling


Removes all intermediates from Advanced Fluid Handling recipes. Removes 2 higher tiers of underground pipes technologies and recipies.

Content
2 years ago
1.1
1.30K
Logistics

i K2 Pipe Overhaul Compatibility

2 years ago

Hi, I love the space-ex integration. Would you mind also checking K2's pipe overhaul (kr-pipes-and-belts-changes) and adjusting the underground length to match if it's active?

2 years ago
(updated 2 years ago)

data-updates.lua:

if mods["Krastorio2"] and settings.startup["kr-pipes-and-belts-changes"].value then
    for _, pipe_name in pairs({
        "underground-i-pipe",
        "underground-i-space-pipe",
        "underground-L-pipe",
        "underground-L-space-pipe",
        "underground-t-pipe",
        "underground-t-space-pipe",
        "underground-cross-pipe",
        "underground-cross-space-pipe",
        "one-to-one-forward-pipe",
        "one-to-one-forward-space-pipe",
        "one-to-one-left-pipe",
        "one-to-one-left-space-pipe",
        "one-to-one-reverse-pipe",
        "one-to-one-reverse-space-pipe",
        "one-to-one-right-pipe",
        "one-to-one-right-space-pipe",
        "one-to-two-perpendicular-pipe",
        "one-to-two-perpendicular-space-pipe",
        "one-to-two-parallel-pipe",
        "one-to-two-parallel-space-pipe",
        "one-to-two-perpendicular-secondary-pipe",
        "one-to-two-perpendicular-secondary-space-pipe",
        "one-to-two-parallel-secondary-pipe",
        "one-to-two-parallel-secondary-space-pipe",
        "one-to-two-L-FL-pipe",
        "one-to-two-L-FL-space-pipe",
        "one-to-two-L-FR-pipe",
        "one-to-two-L-FR-space-pipe",
        "one-to-two-L-RR-pipe",
        "one-to-two-L-RR-space-pipe",
        "one-to-two-L-RL-pipe",
        "one-to-two-L-RL-space-pipe",
        "one-to-three-forward-pipe",
        "one-to-three-forward-space-pipe",
        "one-to-three-left-pipe",
        "one-to-three-left-space-pipe",
        "one-to-three-reverse-pipe",
        "one-to-three-reverse-space-pipe",
        "one-to-three-right-pipe",
        "one-to-three-right-space-pipe",
        "one-to-four-pipe",
        "one-to-four-space-pipe"
    }) do
        for i, connection in pairs(
            data.raw["pipe-to-ground"][pipe_name].fluid_box.pipe_connections or {}
        ) do
            if connection.max_underground_distance then 
                connection.max_underground_distance = math.max(connection.max_underground_distance, 22)
            end
        end
    end
end
2 years ago

This mod is just hides things from Advanced Fluid Handling mod and does not modify any pipe distances. Is the pipe length correct with AFH enabled and this mod disabled?

New response