Skip to content

Parley

Speak with the monsters: a fresh reaction roll with the speaker's CHA modifier.

Full documentation: Parley. Wire type: parley.

Legal session modes: encounter

JSON Schema

{
  "description": "Speak with the monsters: a fresh reaction roll with the speaker's CHA modifier.\n\nAn encounter must be open. Encounters begin from wandering checks, keyed\nareas, or the referee spawn commands. Any number of re-rolls is legal, and a\nhostile turn cuts the conversation short.\n\nModes:\n    `encounter`\n\nRejections:\n    - `session.command.wrong_mode` - no encounter is open.\n    - `encounter.none_active` - a second check behind the mode gate, not\n      reachable through normal play.\n    - `encounter.parley.mid_pursuit` - no talking while being chased.\n    - `session.command.unknown_member` - `character_id` names no party member.\n    - `session.command.member_incapacitated` - the speaker cannot act.\n\nEvents:\n    `ReactionRolledEvent`, and a\n    `StanceChangedEvent` when the\n    stance shifts. An attacks result opens battle at once\n    (`BattleStartedEvent` and what\n    follows). Otherwise the encounter round closes with the monsters' beat.",
  "properties": {
    "command_type": {
      "const": "parley",
      "default": "parley",
      "title": "Command Type",
      "type": "string",
      "description": "The wire discriminator. Each subclass fixes it to its own snake_case literal, like\n`\"move_party\"` or `\"open_door\"`, so you never set it yourself: constructing the subclass\ndoes. It's what `parse_command` and the\n`AnyCommand` union read to rebuild the right class\nfrom a serialized mapping, and it stays the same across releases."
    },
    "source": {
      "anyOf": [
        {
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Source",
      "description": "An annotation naming the authored object (a trigger or quest id) or the game\nsystem on whose behalf the command was issued. Execution never reads it: a stamped\ncommand does exactly what the same command unstamped does. It is logged and replayed\nwith the command, so the log alone answers \"why did this happen\". Absent is `None`,\nand the empty string is not a value."
    },
    "character_id": {
      "title": "Character Id",
      "type": "string",
      "description": "The member who does the talking, by\n`MemberView.id`. Their CHA modifier applies to the\nfresh reaction roll, so the party's face is worth sending. Any number of attempts is legal,\nbut a roll that comes up attacks opens battle at once and ends the conversation."
    }
  },
  "required": [
    "character_id"
  ],
  "title": "Parley",
  "type": "object"
}