|Created:||5 months ago|
|Latest Version:||0.2.9 (2 months ago)|
Originally built upon Train Ore Color by Sirenfal.
Trains will change color as soon as they begin to move in Automatic Mode, based on entities in their inventory.
List of vanilla entities' colors and supported mods.
Item colors are based on their appearance on belts (i.e., their icons), while fluid colors are based on their appearance in pipes and storage tanks. If a train's inventory contains multiple entities, their colors will be blended proportionally to the quantity† of each entity present.
Perfect for keeping LTN trains color-coded! LTN trains will also be painted when dispatched from depots, based on the item(s) requested.‡
- Paint locomotives. It is ON by default. When turned off, previously painted locomotives will remain painted in their respective colors.
- Paint cargo and/or fluid wagons. The latter works only if using a mod with a fluid wagon color mask included, such as WagonColors. They are OFF by default. Turning these functions off after having already painted wagons will cause them to return to default colors after stopping and starting again in Automatic Mode.
- Unpaint empty trains. This will make the locomotives of an empty train a neutral gray and restore its wagons to their default look. It is ON by default.
- Add an equipment object that can be placed in the train equipment grid to prevent automatic painting.
- Additional colors for entities. All vanilla entities are included. For a full list of supported mods, see the FAQ page. Existing colors will be reviewed and updated periodically if sprite icons are changed. For other mods with new entities, make a request on the discussion page and I'll try to get them on the list.
- Currently on the list of mods to add: Krastorio, Pyanodons.
† - In order to keep the color of mixed cargo and fluid trains from being dominated by fluids due to their 25k fluid wagon capacity versus (typically) 2k-8k cargo wagons, the quantity of fluid is reduced during color calculation by a factor of 5. This is equivalent to cargo with a stack size of 125.
‡ - LTN dispatch painting works only some of the time. No idea why, but at least it does work.