Skip to content

ReorderParty

Rewrite the marching order — the only way marching order changes.

Full documentation: ReorderParty. Wire type: reorder_party.

Legal session modes: exploring, town

JSON Schema

{
  "description": "Rewrite the marching order \u2014 the only way marching order changes.\n\nLegal in town and while exploring; the order is locked once an encounter or\nbattle has begun.\n\nModes:\n    `town`, `exploring`\n\nRejections:\n    - `session.command.wrong_mode` \u2014 an encounter or battle is underway, or the\n      game is over.\n    - `exploration.party.bad_order` \u2014 `order` does not name exactly the current\n      members, each once.\n\nEvents:\n    None. An accepted reorder changes state silently.",
  "properties": {
    "command_type": {
      "const": "reorder_party",
      "default": "reorder_party",
      "title": "Command Type",
      "type": "string"
    },
    "order": {
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "title": "Order",
      "type": "array"
    }
  },
  "required": [
    "order"
  ],
  "title": "ReorderParty",
  "type": "object"
}