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

# Factorio Runtime Docs Version 2.0.77

# FluidPrototypeFilter - Runtime Docs

## FluidPrototypeFilter :: table

#### Table fields

filter | :: `"hidden"` or `"name"` or `"subgroup"` or `"default-temperature"` or `"max-temperature"` or `"heat-capacity"` or `"fuel-value"` or `"emissions-multiplier"` or `"gas-temperature"` | The condition to filter on.
The condition to filter on.
mode | :: `"or"` or `"and"`? | How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
invert | :: boolean? | Inverts the condition. Default is `false`.
Inverts the condition. Default is `false`.

Other attributes may be specified depending on `filter`:

#### `name`

For use within nested filters such as the `has-product-fluid` filter of array[RecipePrototypeFilter].

To get a specific prototype by name, see LuaPrototypes::fluid.

name | :: string or array[string] | The prototype name, or list of acceptable names.
The prototype name, or list of acceptable names.

#### `subgroup`

subgroup | :: string | A LuaGroup (subgroup) name
A LuaGroup (subgroup) name

#### `default-temperature`

comparison | :: ComparatorString |
value | :: double | The value to compare against.
The value to compare against.

#### `max-temperature`

comparison | :: ComparatorString |
value | :: double | The value to compare against.
The value to compare against.

#### `heat-capacity`

comparison | :: ComparatorString |
value | :: double | The value to compare against.
The value to compare against.

#### `fuel-value`

comparison | :: ComparatorString |
value | :: double | The value to compare against.
The value to compare against.

#### `emissions-multiplier`

comparison | :: ComparatorString |
value | :: double | The value to compare against.
The value to compare against.

#### `gas-temperature`

comparison | :: ComparatorString |
value | :: double | The value to compare against.
The value to compare against.

Concept used in

- LuaPrototypes::get_fluid_filtered()
- PrototypeFilter
- RecipePrototypeFilter