Linked Pipes


Adds Linked Pipes and a long-distance Linked Pipe to Ground: they teleport fluid between every other linked pipe set to the same channel, anywhere. Unlocked by the Linked Pipes research. Open one (default: E) to pick its channel.

Content
a month ago
2.0
33
Fluids Cheats

Changelog

Version: 0.3.4
Date: 2026-07-30
  Fixes:
    - Actually fix the fluid voiding (0.3.3 was still wrong). Reading/writing
      fluidbox[1] amounts does not behave per-segment the way needed -- reads are
      the pipe's small local box while capacity is the whole segment, so writing a
      computed amount blew away connected tanks. The equalizer now reads true
      segment contents (get_fluid_segment_contents) and MOVES fluid with
      insert_fluid / remove_fluid, which report the exact amount moved. Fluid is
      conserved by construction; connecting to a full tank now transfers gradually
      instead of vanishing.
Version: 0.3.3
Date: 2026-07-30
  Fixes:
    - MAJOR: fixed fluid being voided when a linked pipe was connected to a tank
      or larger pipe network. In 2.0 a fluidbox reports/writes its whole connected
      fluid segment, so the old equalizer (which averaged raw amounts and assumed
      each pipe held at most its own 1000 capacity) clamped big segments down and
      destroyed the excess -- draining tanks/backlogs. The equalizer now works per
      unique fluid segment and balances by fill fraction (amount / capacity),
      which conserves fluid exactly and never exceeds any segment's capacity.
    - Also de-duplicates segments, so multiple linked pipes on the same network
      no longer skew the totals.
    - Note: fluid already lost to the previous bug cannot be recovered.
Version: 0.3.2
Date: 2026-07-30
  Fixes:
    - Fixed a crash ("Fluid amount has to be positive") in the fluid equalizer
      when a channel's fluid drained to a tiny residual spread across many pipes,
      producing a per-pipe amount below the engine's minimum. Such negligible
      residuals are now left in place instead of being written as invalid tiny
      amounts.
Version: 0.3.1
Date: 2026-07-30
  Fixes:
    - Channel names now survive blueprinting. The blueprint setup handler only
      wrote tags to a library "record", so blueprinting with a blueprint in the
      cursor (the normal case) silently dropped the channel. It now writes to
      whichever the game provides (cursor stack or library record).
Version: 0.3.0
Date: 2026-07-30
  Features:
    - Channels are now NAMES instead of numbers: type a word like "Water" and the
      pipe links to every other pipe with that name. Matching is case-insensitive
      and trimmed; a blank name leaves a pipe unlinked.
    - The channel window now opens on a plain CLICK (works in remote/map view
      too), instead of the E keybind. Pipes are natively openable, so this is
      reliable everywhere. The window also shows the pipe's current fluid.
  Changes:
    - Removed the E (open-gui) custom input; clicking is the new way to open.
    - Existing saves with numeric channels are migrated automatically (channel
      1 becomes "1", etc.), so existing links keep working.
Version: 0.2.0
Date: 2026-07-26
  Features:
    - Added the Linked Pipe to Ground: a long-distance pipe to ground (30-tile
      underground reach vs. the vanilla 10) that also shares fluid across its
      channel like the Linked Pipe.
    - Added the "Linked Pipes" technology, which now unlocks both buildings.
      Its research cost and prerequisite are copied from an existing fluid tech
      in your modpack (falls back to fluid-handling), so it fits overhaul mods.
  Changes:
    - Linked Pipe and Linked Pipe to Ground are no longer craftable from the
      start; research Linked Pipes first.
Version: 0.1.0
Date: 2026-07-26
  Features:
    - Adds the Linked Pipe: fluid put into any linked pipe is shared with every
      other linked pipe set to the same channel, on any surface.
    - Open a linked pipe (default key: E) to set its channel.
    - Channels are preserved through blueprints and copy-paste (Shift+right-click
      / Shift+left-click).
    - Startup setting for fluid capacity; runtime setting for the update interval.