# Laser Isotope Separation Chamber (SILEX)

Item rows match the first item input, ignoring `count`. Fluid rows match the type of the first input fluid, ignoring amount and pressure; among fluid rows with the same type, the last by `order` applies. The chamber cycles through the weighted entries of the first output position in a fixed sequence instead of rolling them.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `type` | Selects the `hbm:silex` recipe format. | |
| `name` (Optional) | Internal lookup name; defaults to the last segment of the recipe resource path. | |
| `input_items` (Optional) | Ordered counted item inputs; defaults to an empty list. | |
| `input_items.ingredient` | Item ID, item tag, or loader ingredient object. | |
| `input_items.count` (Optional) | Items required from one stack; default 1. The item stack limit bounds a usable count. | `[1, i32::MAX]` |
| `input_items.components` (Optional) | Exact item-component values. | |
| `input_items.predicates` (Optional) | Item-component predicates. | |
| `input_fluids` (Optional) | 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_items` | Fixed or weighted item-output positions; defaults to an empty list. | |
| `output_items.item ID` | Fixed output: String form for one item. | |
| `output_items.id` | Item ID in a stack object. | |
| `output_items.count` (Optional) | Stack size; default 1. | `[1, 99]` |
| `output_items.components` (Optional) | Item-component values. | |
| `output_items.chance` (Optional) | Output chance; omit for a guaranteed output. Some machines roll each item of the stack separately. | Rounds to weight `[1, 999]` of 1000 |
| `output_items.data` | Weighted choice: Stack object or an empty object for no output. | |
| `output_items.weight` | Relative selection weight; a positive total selects an output. | `[0, i32::MAX]` each; $\sum_i w_i \le \texttt{i32::MAX}$ |
| `order` (Optional) | Sort position within the recipe table; lower values first, default 2147483647. | `i32` |
| `fluid_consumed` | Internal-buffer amount consumed per output; use `[1, 16000]` mB. | `i32` |
| `fluid_produced` | Peroxide-to-buffer load per input item; use `[1, 16000]` mB. Fluid-input recipes load at 50 mB/t. | `i32` |
| `laser_strength` | Minimum laser wavelength: `null` (no laser needed), `ir`, `visible`, `uv`, `gamma`, or `drx`. Each step above the minimum doubles progress speed. | |

## Example

Source path: `data/hbm/recipe/silex/silex.ingot_am_mix.json`

```json
{
  "type": "hbm:silex",
  "fluid_consumed": 100,
  "fluid_produced": 900,
  "input_items": [
    {
      "ingredient": "hbm:ingot_am_mix"
    }
  ],
  "laser_strength": "visible",
  "order": 3,
  "output_items": [
    [
      {
        "data": {
          "id": "hbm:nugget_am241"
        },
        "weight": 3
      },
      {
        "data": {
          "id": "hbm:nugget_am242"
        },
        "weight": 6
      }
    ]
  ]
}
```
