This is a simple mod that adds a storage tank with the same dimensions as a pipe so you can read it's content to control pump or anything you need with the circuit network.
Compatibility
This mod includes compatibility with Krastorio's steel pipes. Feel free to teel me if you find any incompatibility or to submit a pull request if you're able to fix it yourself
to add compatibility in your own mod, you can get the function creating the gauge from a pipe prototype with a few lines like the following exemple
if mods["simple-gauge"] then
create_from_pipe_prototype = require("__simple-gauge__.scripts.create_from_pipe_prototype")
create_from_pipe_prototype("your-pipe-name", "your-pipe-unlock-tech")
end
If you don't specify an unlock tech, the base game's "fluid-handling" tech will be used