Simple Gauge


A simple pipe sized tank you can use to read a fluid segment's content

Content
3 months ago
2.0
97
Logistics Fluids Circuit network
Owner:
Poutinator
Source:
https://github.com/olibombardier/simple-gauge
Homepage:
N/A
License:
MIT
Created:
3 months ago
Latest Version:
1.0.0 (3 months ago)
Factorio version:
2.0
Downloaded by:
97 users

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