# Drawstep engine · Effects · `native` > Native — A one-shot step carried out by the engine. Engine-implemented node: `id` names an implementation the game module registers; cards contain no code, and an id the running engine doesn't know rejects the card. `text` is the printed clause shown wherever the card is described. 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#native ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "native", … }`. Steps resolve in order. Printed words that point here (search aliases): engine-implemented native ability registered id keep one of each type sacrifice the rest tragic arrogance cataclysm. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `id` | `string` | yes | Registry id of an implementation this engine ships ("magic.keepOnePerTypeSacrificeRest"); the native page of each kind lists every id that exists. Never invent one | | `params` | `object` | no | Parameters the registered implementation validates and reads; each registered id documents its own | | `text` | `string` | yes | The printed clause this step stands for | ## Minimal form ```json {"effect":"native","id":"","text":""} ``` ## Registered ids These are **all** the ids this engine registers for `native` effects; a card naming any other id is rejected when it is saved and when a game is dealt. Never invent one — a clause no native implements is a `tableRuling` step. - `magic.keepOnePerTypeSacrificeRest` — Each player keeps one permanent of each listed type (chosen by you or by that player) and sacrifices every other matching permanent. Params: `types` (non-empty list of card types, one kept of each), `chooser` (`"you"` or `"eachPlayer"`, default eachPlayer), `nonland` (default true: lands are spared). Tragic Arrogance: `{ "types": ["Artifact", "Creature", "Enchantment", "Planeswalker"], "chooser": "you" }`; Cataclysm adds `"Land"` to `types` with `"nonland": false`. ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Custom mechanics](https://drawstep.xyz/wiki/mtg/custom-mechanics.md) — rung 1b: when a native applies, and the ladder for a clause nothing implements - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive