Resolve Defiance
defy_resolveFinalize the defiance ritual by locking in current dice, dealing debt cards for each roll taken, and resetting for a fresh attempt.
Instructions
Lock in the current defiance dice as final, deal debt, and reset the ritual.
Call once, after defy_roll has been called at least once and the
player is done rolling (whether by choice or because three rolls were
taken). Ends the current defiance ritual — a subsequent defy_roll call
starts a fresh one from scratch.
Takes no parameters. Raises ValueError if called before any defy_roll
in this ritual. Not idempotent: mutates the shared debt row, adding
one debt card per roll taken during the ritual (more rolls, more debt,
win or lose), and clears the ritual's dice/roll-count state. Returns a
dict with final_dice, rolls_taken, pattern and bend (None if no
scoring pattern was hit — otherwise three of a kind/"turn the blade",
small straight/"stay the hand", full house/"take the cup", or five of
a kind/"seize the pen"), and debt_dealt (the cards just added to the
debt row).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||