Code: Select all
A fluid box is represented as a table:
name :: string: Fluid prototype name of the fluid contained in this fluid box.
amount :: double: Amount of the fluid in this box.
temperature :: double (optional): The temperature. When reading from LuaFluidBox, this field will always be present. It is not necessary to specify it when writing, however. When not specified, the fluid box will be set to the fluid's default temperature as specified in the fluid's prototype.
Code: Select all
show-fluid-box-fluid-info How much fluid is in a pipe/storage tank, shows flow of liquid in pipes.