A complete recreation of Rail Tanker from the ground up to take advantage of 0.13 Lua API changes. The storage and retrieval of tank contents on moving and stopping wagons is much more straightforward and should also be more robust (and have better performance, although I don't expect that to be significant). In case anyone is about to get upset, I contacted Choumiko before publishing.
In order for the wagon's tank to be usable, there must be at least one pump adjacent to the central two tiles of the wagon, for a maximum of four pumps connected to the tank. I recommend using Flow Control's express pumps for quick loading and unloading. If there are no pumps in this zone, the tank will not be connectable - this is to stop it making unwanted connections to pipes that might be next to the rail when it stops at another station or signal. Unlike in Rail Tankers, tank wagons can be (un)loaded at signals as well as stations.
One thing I haven't implemented is dummy items for train full/empty conditions, as I feel this is better served using circuit conditions on trains. Flow Control is particularly helpful for this - by chaining together a small pump, one-way valve and an express pump, you can create a compact sensor to determine if a tank is still accepting fluid - or by reversing the order you can detect an empty tank.
Note: this mod is 100% compatible with Rail Tanker
Known Issues
- art sucks
Version History
- 1.0.3 - 2016/08/27 - 0.14 release
- 1.0.2 - 2016/08/06 - Wagons now change colour to match the fluid they contain
- 1.0.1 - 2016/07/18 - Fixed lua error that occured on moving tank car originally placed at an angle
- 1.0.0 - 2016/07/16 - Released