Power Propagation: Improved deprecated


Extend electric networks through adjacent powered buildings, walls and rails. Retain saved propagation poles and copper connections during upgrades, including legacy networks.

Tweaks
11 days ago
2.1
7
Owner:
johnmart19
Source:
https://github.com/FactorioMods/power...
Homepage:
https://github.com/FactorioMods/power...
License:
MIT
Created:
11 days ago
Latest Version:
1.0.0 (11 days ago)
Factorio version:
2.1
Downloaded by:
7 users

Power Propagation: Improved

Requires Factorio 2.1.24 or later.

Powered buildings can extend electric networks to adjacent buildings. Startup options also enable propagation through walls and rails and adjust the range.

This fork retains the original propagation rules and improves existing-factory upgrades. It reuses saved native poles and copper wires, reconstructs their ownership, and preserves legacy connections that would otherwise be discarded during a full rebuild. New extenders use the original native connection query and ordering.

Upgrade an existing factory

Replace the original Power Propagation mod with this fork while retaining its startup settings. Factorio's native migration ownership transfers the original state; initialization adopts that state before reconciling the existing network. Original entity and setting names remain unchanged.

The first import preserves the saved wiring. Save that migrated world before changing the range or enabled propagation modes. Later changes to those options rebuild propagation using the original algorithm. Original and fork cannot be enabled together because they define the same internal prototypes.

Credits and source

Original mod by luan: https://github.com/luan/power-propagation. The authentic upstream history is retained through 3e218d4f8ba70ad15809a5496273a282b8ac793a, followed by this fork's implementation commit. The original MIT license is retained in LICENSE.

Validation

Headless Factorio 2.1.24 checks covered migration of a factory containing 65,101 electric poles and 890,257 copper connections. Before and after initialization and configuration, the native graph and the network IDs and energy of 17,234 powered devices were identical.

Repeated 1,600-machine production checks produced 80,000 gears, exercised construction, removal and quality-scaled pole reach, and matched the original implementation after explicit range and propagation-mode changes. An existing-destination fixture verified read-only loading, adoption during configuration, destination precedence and retention of conflicting legacy data.