Fluid Trains deprecated


Adds functionality for locomotives to use fluids as fuel. This mod does not add any locomoties on its own but enables other mods to do so

Content
3 years ago
0.18 - 1.1
11.3K
Trains

i Check for existing tank size before creating

3 years ago

\api\data.lua, function public.generateTank(size)

Just in the case of multiple mods adding locomotives with same sized tanks, it may be good to add a check to see if it already exists before running through the process to save on unnecessary cpu time on startup.

New response