# Duration, power and ordering

Recipe timing, HE and lookup order.

## Duration, power, and ordering

Shared-format recipes accept `duration`, `power`, and `order`, but their consumers decide how those values are used.

- Custom-machine recipes use `duration` in ticks and `power` in HE per processing tick, adjusted by the definition's multipliers. [Custom Machines](https://movblock.mov/ntm-next/26.3/wiki/custom-machines.md) explains the lower bounds and generator behavior.
- In the shared generic recipe tables, lower `order` values sort first. An omitted value sorts as `2147483647`; ties sort by internal name. Preserve the original value when replacing a recipe unless you intend to change its precedence.
- If several different recipes accept the same inputs, their selection depends on that machine's lookup. Prefer replacing the existing resource ID when the goal is to change an existing recipe.
