Flow Control

by GotLag

Adds pipes with restricted connections to easily build parallel pipelines. Additionally, valves can be added by installing the optional Valves mod.

Utilities
6 months ago
0.13 - 2.0
204K
Logistics Fluids

b [Fixed] Incomplete Deletion

9 months ago

When Removing artifacts are left.

https://ibb.co/RzphcFb

9 months ago

Thanks for the report!
Can you reproduce this?
Did you at any point had Configurable Valves installed with the Valves mod?

9 months ago
(updated 9 months ago)

ill check....Its just called valves but It says it is based off Configurable Valves code. The one from your dependencies.

9 months ago

Yeah I know, I created both valve mods :) I'm asking if you had it installed at any point.

I want to fix this soon, but if you still have those artefacts lying around you can use this command to clean them. It will disable achievements.

/c
local gauges = {"valves-guage-input", "valves-guage-output"}
local valves = {"valves-overflow", "valves-top_up", "valves-one_way"}
local count = 0

for _, surface in pairs(game.surfaces) do
    for _, guage in pairs(surface.find_entities_filtered{name = gauges}) do
        if 0 == surface.count_entities_filtered{position=guage.position, name=valves} then
            guage.destroy()
            count = count + 1
        end
    end
end
game.print("Cleaned up "..count.." entities")
9 months ago

This should be fixed in the latest release of the Valves mod.

New response