# aprcoolant

Converts a fluid when the APR uses it as coolant.

Place the object under `traits` in a fluid-property file. The APR's coolant path uses this trait only. In a chamber chain it is the first conversion checked for each fluid, before [`aprcoolable`](https://movblock.mov/ntm-next/wiki/cursed/fluid-traits/aprcoolable.md) and NTM's [`coolable`](https://movblock.mov/ntm-next/wiki/fluid-traits/traits/coolable.md).

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `conversion` | Registered fluid produced. | |
| `in` | mB consumed per conversion. | `[1, i32::MAX]` |
| `out` | mB of `conversion` produced per conversion. | `[1, i32::MAX]` |

Energy follows the temperature difference between the fluid and `conversion`. A `conversion` hotter than the fluid stops the APR with an error when it processes the fluid.

## Example

From `data/leafia/fluid_property/oxygen_gas.json`:

```json
{"aprcoolant": {"conversion": "hbm:oxygen", "in": 50, "out": 1}}
```
