# TrapAffliction

> Kinbarrow modding reference — content tree `4a103dcdb658a75a`, version `0.2.0+main.e011511f4`.

[Effects and mechanisms](https://kinbarrow.com/modding/latest/mechanisms.md)

Used by [TrapDef](https://kinbarrow.com/modding/latest/trap-def.md#trap-affliction).

This is a nested shape inside a content file. The catalog explains context validation and links real RON examples.

One independently expiring condition in a trap payload. A payload is a vector so coupled conditions remain separate world-ledger handles and can expire or be removed independently without content-specific logic.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `condition` | `string` | required | Authored condition. |
| `duration_secs` | `integer` | optional | Absolute duration in world seconds. `None` deliberately persists until an authored mechanic removes the same world-effect instance. |
| `removal` | `TrapAfflictionRemoval` | optional | Optional whole-Action ability check that can release the victim. A helper may attempt it only when explicitly authored. |


## Supporting shapes

- [TrapAfflictionRemoval](https://kinbarrow.com/modding/latest/trap-def.md#trap-affliction-removal)
