Tidy Wires


Drag over your power poles and the copper wires between them are rewired into a neat tree: straight runs along the rows and columns, one spine down the middle, no crossings and no redundant loops. What is powered stays powered, separate networks stay separate, and circuit wires and wires leaving the box are left alone. Shift-drag puts back the wiring the last tidy replaced.

Utilities
a day ago
2.1
14
Power
Owner:
ModBarrage
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
a day ago
Latest Version:
0.1.2 (a day ago)
Factorio version:
2.1
Downloaded by:
14 users

Tidy Wires

Power poles placed by hand, by blueprint or by auto-connect end up in a jumble of copper wires criss-crossing every which way. Tidy Wires straightens them out.

Grab the Tidy Wires tool from the shortcut bar and drag a box over your poles. The copper wires between them are rewired into a neat tree:

  • Straight runs along the rows and columns, with diagonals only where no straight wire can reach
  • One spine down the middle of a grid of poles, with the rows hanging off it
  • No crossings and no wires running over another pole
  • No redundant loops: exactly one path between any two poles

While you drag, a preview shows what will change: red dashes on wires that go, green dashes where new ones come.

Nothing gets unplugged

  • Poles that were connected stay connected, so every machine keeps its power.
  • Separate networks stay separate: the tidy never joins two networks you kept apart.
  • Red and green circuit wires are left alone, and so are copper wires to poles outside the box and to power switches.
  • New wires go up before old ones come down, and if anything fails, nothing is changed.

Changed your mind?

Shift-drag with the tool over the same poles to put back the wiring your last tidy replaced (the last 10 tidies are remembered per player).

Good to know

  • No key is bound by default; set one under Controls (Tidy Wires tool) if you like.
  • Built and tested on Factorio 2.1.24 (base game with Quality and Elevated Rails). Multiplayer is untested.
  • Other mods can call remote.call("tidy-wires", "tidy", player_index, area) and "restore".