Skip to content

Rest

Rest: one turn (the cadence rest), a night (48 turns), or a full day (144).

Full documentation: Rest. Wire type: rest.

Legal session modes: exploring, town

JSON Schema

{
  "description": "Rest: one turn (the cadence rest), a night (48 turns), or a full day (144).\n\nLegal in town and while exploring. In the dungeon a wandering encounter can\ninterrupt the rest; a full day of rest also applies natural healing.\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\nEvents:\n    [`RestedEvent`][osrlib.crawl.events.RestedEvent] with code\n    `exploration.rest.rested`, or `exploration.rest.interrupted` when a\n    wandering encounter breaks the rest. Clearing fatigue or exhaustion reports\n    a [`FatigueEvent`][osrlib.crawl.events.FatigueEvent] or\n    [`ExhaustionEvent`][osrlib.crawl.events.ExhaustionEvent]; a full day's\n    natural healing an\n    [`HealingAppliedEvent`][osrlib.core.events.HealingAppliedEvent]. The\n    elapsed turns report their own bookkeeping (light burn-down, provisions,\n    wandering checks).",
  "properties": {
    "command_type": {
      "const": "rest",
      "default": "rest",
      "title": "Command Type",
      "type": "string"
    },
    "kind": {
      "enum": [
        "turn",
        "night",
        "day"
      ],
      "title": "Kind",
      "type": "string"
    }
  },
  "required": [
    "kind"
  ],
  "title": "Rest",
  "type": "object"
}