Construction Train


Place your railway blueprints and let a dedicated construction train build the rails, signals and stops, with automatic resupply.

Content
2 days ago
2.1
362
Trains

Changelog

Version: 0.6.1
Date: 2026-11-30
  Compatibility:
    - Fix the game failing to start alongside mods that add an upgrade to the vanilla train stop,
      such as LTN (Logistic Train Network).
Version: 0.6.0
Date: 2026-11-28
  Features:
    - The construction train sees around itself: a hidden radar follows it and reveals about two
      chunks around it live, so it can be watched and driven in remote view anywhere.
  Changes:
    - Add the /ct-profile [seconds] command, which logs the duration of each mod call to
      factorio-current.log to diagnose slowdowns.
  Bugfixes:
    - Fix recurring stutters on large networks: the search for signal and train stop ghosts walked
      the whole railway network, endlessly on big bases. It now starts from the planned signal and
      stop ghosts and only checks the rails around them, restarting only for new ones, at most every
      ten seconds, with a safety pass every five minutes. The idle review of visited rails restarts
      under the same rule and handles 16 rails per step instead of 48.
    - Fix memory that grew for the whole life of a save: the registry's scan and rail queues and
      its ghost order list are now compacted, and an unused list is dropped. Smaller memory means
      shorter garbage collection pauses.
    - Fix a freeze of up to 80 ms each time the train looked for a place to reverse on its way home:
      it read every rail it had ever visited. It now asks the engine for the straight rails around
      the train (96 tiles, then 256) and tries the 24 nearest ones it already travelled.
Version: 0.5.0
Date: 2026-11-28
  Features:
    - Clear trees and rocks blocking a planned rail, ramp or support before building it. The wood,
      stone and other products go to the wagon, are unloaded into the depot stock at home and are
      never voided; departure waits until the wagon is free of them.
    - Destroy blocking cliffs with cliff explosives carried in the wagon.
    - Build the planned tile ghosts (landfill) under and around a blocked rail, signal or train stop.
    - Clear trees, rocks and cliffs blocking a planned signal or train stop as well.
    - Add landfill and cliff explosive categories to the depot panel, loaded up to their target
      (200 and 10) without delaying departure. None of this work is reserved: robots can still do it.
    - Show the landfill and cliff explosive categories only once their recipe is researched.
    - Add a Circuit block to the depot panel: stock contents (synchronised with the native output
      setting) and missing items, each on its own red and/or green wire. Missing items are every
      active category short of its target counting depot stock and wagon, plus the departure fuel
      in items and any shortage found on site.
  Changes:
    - Name the depot station and the construction train in the language of the player who placed
      the depot, with the depot icon, instead of "Construction #id" and map coordinates. Names
      changed by a player are kept. When heading home through the stop's own direction, the train
      targets the depot station, so the train overview shows it instead of rail coordinates.
    - Raise the default rail loading target from 400 to 500. Existing depots keep their own targets.
  Bugfixes:
    - Reserved ghosts can be removed again with the deconstruction planner, including its filters
      and in remote view.
Version: 0.4.0
Date: 2026-11-26
  Features:
    - Build elevated rails and rail ramps, going up and down, when the Elevated Rails mod is active.
    - Build the planned rail supports from the wagon before each elevated rail that needs them.
    - Build rail signals on elevated track.
    - Add ramp and support categories to the depot panel, with their own loading targets (10 ramps,
      40 supports), shown only with Elevated Rails.
  Changes:
    - With rails left to build, wait at the depot for ramps and supports up to the smaller of their
      loading target and the planned ghosts.
Version: 0.3.1
Date: 2026-11-23
  Changes:
    - With rails left to build, leave the depot once the rail target is loaded, taking whatever
      signals and train stops the stock holds instead of waiting for them.
    - With only signals and train stops left, wait until the cargo covers the known ghosts or the
      loading target; no longer wait for rails when none remain to build.
  Bugfixes:
    - Fill both locomotives' fuel slots at the depot, sharing the available fuel between them.
    - Return for fuel based on the distance to the depot, and refuel before leaving for a distant
      site without enough fuel for the round trip.
    - Fix periodic stutters while the remaining construction is unreachable (debris to clear,
      landfill pending).
    - Fix the depot building disappearing at the edge of the screen.
    - Allow opening the depot from anywhere along its length.
    - Prevent walking over the workshop and the walkway.
Version: 0.3.0
Date: 2026-11-20
  Changes:
    - Redesign the settings window.
Version: 0.2.0
Date: 2026-11-18
  Features:
    - Add dedicated construction train graphics with animated rail-placement grabbers.
    - Preserve depot filters, loading targets and options in blueprints, settings copies and clones.
    - Detect obstructed rail construction, wait for clearance and resume automatically.
  Changes:
    - Limit construction to a single train per planet.
    - Remove beta and placeholder labels from the public mod.
Version: 0.1.1
Date: 2026-11-05
  Features:
    - Automatically unload both locomotives' fuel residues into the depot, preserving item qualities.
    - Wait and resume automatically when the depot has insufficient room for fuel residues.
  Bugfixes:
    - Require alignment with the depot track before loading or unloading a construction train.