Fluid storage in train/car entity
Posted: Sun May 21, 2017 1:46 pm
I would like to add fluid capacity to a locomotive (not to a wagon), so it gets consumed as the train moves.
The "consume" part will probably be easier, so I only ask for help with the "fluid capacity" part.
Adding total_capacity = x or fluid_capacity = x in the code does nothing.
I tried to add a "mining fluid" to the locomotive, but I couldn't find any mining drill "code" in the base mod.
Any ideas?
The "consume" part will probably be easier, so I only ask for help with the "fluid capacity" part.
Adding total_capacity = x or fluid_capacity = x in the code does nothing.
I tried to add a "mining fluid" to the locomotive, but I couldn't find any mining drill "code" in the base mod.
Any ideas?