Train Scaling


Automate the construction and deconstruction of your trains! Configure a train currently scheduled for a station as a template for the station - the mod's special train construction station will automatically build (or destroy) copies of the template train on demand, or in response to circuit conditions.

4 months ago
0.16 - 1.1
6163

Changelog

Version: 1.1.1
Date: 09. 05. 2021
  Bugfixes:
    - Fix crashes due to text field data types, thanks to Roang-zero1 on GitHub
    - Fix typo in combinator parameter updating, thanks to Roang-zero1 on GitHub
Version: 1.1.0
Date: 13. 12. 2020
  Changes:
    - Update for 1.1
Version: 1.0.0
Date: 30. 08. 2020
  Changes:
    - Replace build_big with build_large for compatibility with 1.0
Version: 0.18.3
Date: 26. 07. 2020
  Changes:
    - Stop considering carriages to not match if only their color differs in order to reduce conflicts with mods that manage train color
Version: 0.18.2
Date: 10. 07. 2020
  Changes:
    - Updated for compatibility with latest Factorio, thanks to Quezler on GitHub
Version: 0.18.1
Date: 11. 04. 2020
  Bugfixes:
    - Fix entity key on script_raised_built call
Version: 0.18.0
Date: 02. 02. 2020
  Changes:
    - Update for 0.18
Version: 0.17.5
Date: 25. 08. 2019
  Changes:
    - Protect against nil permission_group
Version: 0.17.4
Date: 04. 05. 2019
  Changes:
    - Update for character name changes in 0.17.35
Version: 0.17.3
Date: 13. 04. 2019
  Bugfixes:
    - Fix crash when aborting a build for a station that's had scaling disabled
    - Fix crash checking for fuel inventory during build abort
Version: 0.17.2
Date: 08. 04. 2019
  Bugfixes:
    - Remove fuel debug print call accidentally left in place
Version: 0.17.1
Date: 07. 04. 2019
  Bugfixes:
    - Fix a couple potential crashes attempting to use non-fuel items as fuel
    - Fix a crash when scaling trains with no-wait-condition stops in their schedule
Version: 0.17.0
Date: 28. 02. 2019
  Changes:
    - Update for 0.17
    - Use new item icons for template selection dropdown
Version: 0.16.12
Date: 09. 12. 2018
  Bugfixes:
    - Fix a couple of potential desyncs
Version: 0.16.11
Date: 29. 09. 2018
  Bugfixes:
    - Fix a crash that occurred when a non-filling number of fuel stacks are available for a builder train doing a deconstruct job
  Info:
    - Artificially fire an on_entity_settings_pasted event to notify mods which might want to do additional work to copy settings to new custom wagons; let me know if this causes problems for your mod and I'll switch it to a custom event
Version: 0.16.10
Date: 23. 09. 2018
  Bugfixes:
    - Add a check for entity validity to avoid a potential crash finding a station to build a train
Version: 0.16.9
Date: 21. 09. 2018
  Bugfixes:
    - Update signal descriptions
    - Fix icon and mined item for scaling stop entities
Version: 0.16.8
Date: 28. 07. 2018
  Bugfixes:
    - Fix crash when changing settings for a station that's been removed
  Info:
    - Added sounds for wagon construction/deconstruction
    - Added option to send circuit network signals with useful statistics through a directly-wired constant combinator
Version: 0.16.7
Date: 15. 07. 2018
  Bugfixes:
    - Fix crash when comparing train schedules
  Info:
    - Remove advanced circuits prereq from tech when pyhightech present
Version: 0.16.6
Date: 14. 07. 2018
  Bugfixes:
    - Fix crash when the construction train connects to another train and gains a schedule for its template target
  Info:
    - Change tech to not require science 3 if pyhightech is present
Version: 0.16.5
Date: 09. 07. 2018
  Info:
    - Add option to deconstuct non-empty trains that stop at train scaling stations
    - Change scaling stop cost if pyhightech is present
    - Fix error in equipment grid equality check
Version: 0.16.4
Date: 27. 06. 2018
  Info:
    - Raise script_raised_built (with created_entity just after creation) and script_raised_destroy (with entity just before destroy) events, to enable building trains for mods which need to track their carriage entities
    - Set last_user on the requester and provider chest ghosts that are built in the input/output positions next to a scaling station
Version: 0.16.3
Date: 26. 06. 2018
  Bugfixes:
    - Fix crash when building modded locomotives that don't take any fuel
  Info:
    - Update localized names to be consistent with base game
Version: 0.16.2
Date: 26. 06. 2018
  Bugfixes:
    - Fix bug in tracking entities across station renames
Version: 0.16.1
Date: 25. 06. 2018
  Bugfixes:
    - Fix mistaken template check applied to deconstruction jobs
Version: 0.16.0
Date: 25. 06. 2018
  Info:
    - Initial release