# Drawstep engine · Effects · `assembleContraption` > Assemble contraption — Assemble a Contraption onto a sprocket of your choice. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/effects#assembleContraption ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "assembleContraption", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | | `amount` | `ValueDef` | no | How many / how much (integer or ValueDef) | ## Minimal form ```json {"effect":"assembleContraption"} ``` The engine reads that minimal form as: “assemble a Contraption”. ## Stock examples - **Steamflogger Temp** — “{6}, {T}: This creature assembles a Contraption.” ```json {"effect":"assembleContraption","who":"you"} ``` - **Steamfloggery** — “Roll a six-sided die. Assemble a number of Contraptions equal to the result.” ```json {"effect":"assembleContraption","who":"you","amount":{"kind":"dieResult"}} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive