# Cryogenic Distillation Machine

Separates an atmosphere or gas into four fluids.

The input tank's fluid selects the row: the last row in table order whose first input fluid has that type. Set it with a fluid identifier in the machine; it defaults to Oxygen-Rich Air, `hbmspace:earthair`. Every tick the machine drains 100 mB, fills the four outputs when all fit, and uses 20,000 HE.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `type` | Selects the `hbmspace:cryo_distill` recipe format. | |
| `name` (Optional) | Internal lookup name; defaults to the last segment of the recipe resource path. | |
| `order` (Optional) | Sort position within the recipe table; lower values first, default 2147483647. | `i32` |
| `input_fluids` | The first entry's type selects the row; its amount is not used, and recipe viewers show 10 steps, so keep it at 100. | |
| `input_fluids.type` | Registered fluid ID. | |
| `input_fluids.amount` | Amount in mB; use $[1, \mathrm{tank\ capacity}]$ for transfers because machine code casts to int. | `i64` |
| `input_fluids.pressure` (Optional) | Pressure level; default 0. | `i32` |
| `output_fluids` | Exactly four fluids filled per tick; a row with fewer fails when the machine runs it. | |
| `output_fluids.type` | Registered fluid ID. | |
| `output_fluids.amount` | Amount in mB; use $[1, \mathrm{tank\ capacity}]$ for transfers because machine code casts to int. | `i64` |
| `output_fluids.pressure` (Optional) | Pressure level; default 0. | `i32` |

`duration`, `power`, item fields and fluid `pressure` are ignored.

## Example

Source path: `data/hbmspace/recipe/cryo_distill/cryo.earthair.json`

```json
{
  "type": "hbmspace:cryo_distill",
  "input_fluids": [
    {
      "type": "hbmspace:earthair",
      "amount": 100
    }
  ],
  "order": 0,
  "output_fluids": [
    {
      "type": "hbmspace:nitrogen",
      "amount": 60
    },
    {
      "type": "hbm:oxygen",
      "amount": 25
    },
    {
      "type": "hbmspace:krypton",
      "amount": 10
    },
    {
      "type": "hbm:carbondioxide",
      "amount": 5
    }
  ]
}
```
