# Contraption (Create)

{% hint style="warning" %}
This requirement requires [Custom Machinery Create](https://www.curseforge.com/minecraft/mc-mods/custom-machinery-create) to be installed.
{% endhint %}

**Use one of these methods to add a** [**contraption requirement**](https://frinn.gitbook.io/custom-machinery-1.19/recipes/requirements/contraption-requirement-create) **to the recipe.**

```javascript
.requireSU(speed)
.requireSU(speed, stressImpact)

.requireScalingSU(speed)
.requireScalingSU(speed, stressImpact)

.produceSU(speed)
.produceSU(speed, stressCapacity)
```

* The `speed`, `stressImpact` and `stressCapacity` params must be a positive decimal value.
* The `scaling` methods will make the recipe processing speed scale with the speed provided to the machine.

### Example

This recipe require at least 64rpm to start and add a stress impact of 2 times its speed to the network :&#x20;

```javascript
<recipetype:custommachinery:custom_machine>.create("custommachinery:boiler", 20)
.requireSU(64, 2)
.build();
```
