# Vacuum Refinery

Uses up to four output fluids. Each operation consumes 100 mB of input and 10,000 HE; the input `amount` and pressure are ignored, and the input tank holds fluid at pressure 2. Among rows with the same input fluid, the last by `order` applies.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `type` | Selects the `hbm:vacuum_refinery` recipe format. | |
| `name` (Optional) | Internal lookup name; defaults to the last segment of the recipe resource path. | |
| `input_fluids` | Ordered fluid inputs with amount and pressure; defaults to an empty list. | |
| `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` | Ordered fluid outputs with amount and pressure; defaults to an empty list. | |
| `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` |
| `order` (Optional) | Sort position within the recipe table; lower values first, default 2147483647. | `i32` |

## Example

Source path: `data/hbm/recipe/vacuum_refinery/vacuum.oil.json`

```json
{
  "type": "hbm:vacuum_refinery",
  "input_fluids": [
    {
      "type": "hbm:oil",
      "amount": 100
    }
  ],
  "order": 0,
  "output_fluids": [
    {
      "type": "hbm:heavyoil_vacuum",
      "amount": 40
    },
    {
      "type": "hbm:reformate",
      "amount": 25
    },
    {
      "type": "hbm:lightoil_vacuum",
      "amount": 20
    },
    {
      "type": "hbm:sourgas",
      "amount": 15
    }
  ]
}
```
