Forged in the Dark
resolve_forgedRoll Blades in the Dark-style action checks with position and effect, mark or resist stress, and handle downtime recovery; all state persists to the Novel.
Instructions
Resolve Blades in the Dark-style actions: action rolls with position and effect, stress and trauma with resistance, and downtime recovery. Rolls and state changes (points, stress, momentum, progress) persist to the Novel; a roll with no following write is flagged as an uncommitted roll. action_roll with dice 0 rolls the lower of two d6; stress name labels the resist consequence or the trauma mark. Rolls and their state writes are recorded and are not individually reversible. Use when: rolling an action against the highest die, marking or resisting stress, or recovering during downtime. Do NOT use when: tracking a progress clock — use manage_countdown (action: set).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Sub-operation: stress (mark, clear, resist, list), downtime (recover, indulge_vice, list). | |
| cost | No | Stress cost to resist (stress); defaults to 2. | |
| dice | No | Dice pool size (action_roll); defaults to 2. | |
| name | No | Action name (action_roll) or consequence label (stress resist). | |
| seed | No | Deterministic seed (action_roll). | |
| action | Yes | action_roll, stress, or downtime. | |
| amount | No | Stress to mark or clear (stress/downtime); defaults to 1. | |
| effect | No | Effect (action_roll); defaults to standard. | |
| position | No | Position (action_roll); defaults to risky. | |
| entity_id | No | Entity or NPC id (stress/downtime). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |