Automatic train repair


If any locomotive or wagon is destroyed the train is stopped and a ghost is created. Including inventory filters, inventory limit and requests for fuel and equipment. As soon as the train is fully repaired it is set to automatic mode again.

Content
2 years ago
1.1
13.8K
Trains Blueprints

Changelog

Version: 1.1.4
Date: 2021-12-07
  Bugfixes:
    - Fixed error because the mod tried to create a ghost even when the prototype had no items_to_place_this. Thanks to Kocou for the report.
Version: 1.1.3
Date: 2021-07-13
  Bugfixes:
    - Fixed error when fluid wagon was destroyed. Thanks to qwerty12butt for the report.
Version: 1.1.2
Date: 2021-05-17
  Features:
    - Added custom alert when rolling stock is destroyed. Thanks to PietersieliePC for the idea.
    - Added player setting to disable alerts.
    - Added smoke effect to simulate an emergency break. Thanks to Nosferatu for the idea.
  Changes:
    - Trains will no longer be set to automatic mode if they were destroyed by another train.
    - Map settings "automatically enable automatic mode" default is now false. There are too many unsolved issues with it.
  Bugfixes:
    - Fixed that locomotives sometimes didn't have the right orientation. Thanks to boskid.
Version: 1.1.1
Date: 2021-05-15
  Changes:
    - Added changelog.
    - Added thumbnail.
    - The mod can now be translated on Crowdin (https://crowdin.com/project/factorio-mods-localization).
Version: 1.1.0
Date: 2020-05-15
  Features:
    - Initial release
    - If any locomotive or wagon is destroyed the train is stopped and a ghost is created.
    - Including inventory filters, inventory limit and requests for fuel and equipment.
    - As soon as the train is fully repaired it is set to automatic mode again.
    - Map setting to disable item requests.
    - Map setting to specifiy which fuel shold be requested.
    - Map setting to disable automatically enabling automatic mode.