# Catalytic Reformer

The reformer uses the first input fluid and exactly three output fluids; pressure is ignored. It runs one operation per tick, spending `power` HE per operation, and ignores `duration`. Among rows with the same input fluid, the last by `order` applies.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `type` | Selects the `hbm:catalytic_reformer` 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` |
| `power` | HE demand; defaults to 0. | `i64` |
| `order` (Optional) | Sort position within the recipe table; lower values first, default 2147483647. | `i32` |

## Example

Source path: `data/hbm/recipe/catalytic_reformer/reform.naphtha.json`

```json
{
  "type": "hbm:catalytic_reformer",
  "duration": 1,
  "input_fluids": [
    {
      "type": "hbm:naphtha",
      "amount": 100
    }
  ],
  "order": 1,
  "output_fluids": [
    {
      "type": "hbm:reformate",
      "amount": 50
    },
    {
      "type": "hbm:petroleum",
      "amount": 15
    },
    {
      "type": "hbm:hydrogen",
      "amount": 10
    }
  ],
  "power": 20000
}
```
