Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# Fluid - Runtime Docs

## Fluid :: table

#### Table fields

name | :: string | Fluid prototype name of the fluid.
Fluid prototype name of the fluid.
amount | :: double | Amount of the fluid.
Amount of the fluid.
temperature | :: float? | 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 will be set to the fluid's default temperature as specified in the fluid's prototype.
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 will be set to the fluid's default temperature as specified in the fluid's prototype.

Concept used in

- LuaEntity::insert_fluid()
- LuaEntity::get_fluid()
- LuaEntity::set_fluid()
- LuaTrain::remove_fluid()
- LuaTrain::insert_fluid()
- FluidID