{
  "version": 1,
  "name": "Prayer guardian starter",
  "description": "Starter monitor. Re-select the prayer region and teach your potion image before running.",
  "steps": [
    {
      "id": "prayer-monitor",
      "name": "Monitor prayer",
      "type": "monitor",
      "target": "Prayer",
      "interaction": null,
      "expected": null,
      "max_attempts": 1,
      "delay_ms": 0,
      "timeout_seconds": 1,
      "monitor_interval_ms": 1000,
      "priority": 80,
      "monitor_steps": [
        {
          "id": "read-prayer",
          "name": "Read prayer value",
          "type": "read_sensor",
          "target": "Prayer orb",
          "interaction": null,
          "expected": null,
          "max_attempts": 1,
          "delay_ms": 0,
          "timeout_seconds": 2,
          "sensor_kind": "prayer_value",
          "variable_name": "prayer",
          "sensor_maximum": 99,
          "region_x": 520,
          "region_y": 70,
          "region_width": 48,
          "region_height": 28
        },
        {
          "id": "prayer-low",
          "name": "Prayer below 25",
          "type": "condition",
          "target": "prayer",
          "interaction": null,
          "expected": null,
          "max_attempts": 1,
          "delay_ms": 0,
          "timeout_seconds": 1,
          "variable_name": "prayer",
          "comparator": "lt",
          "compare_value": 25,
          "then_steps": [
            {
              "id": "use-prayer-potion",
              "name": "Teach prayer potion image here",
              "type": "click_object",
              "target": "Prayer potion",
              "interaction": "Drink",
              "expected": null,
              "max_attempts": 20,
              "delay_ms": 800,
              "timeout_seconds": 8,
              "button": "left",
              "threshold": 0.82,
              "hover_ms": 150,
              "selection_strategy": "best",
              "cooldown_ms": 2500,
              "priority": 100
            }
          ]
        }
      ]
    },
    {
      "id": "keep-alive",
      "name": "Keep monitor active",
      "type": "sleep",
      "target": "Wait",
      "interaction": null,
      "expected": null,
      "max_attempts": 1,
      "delay_ms": 60000,
      "timeout_seconds": 60
    }
  ]
}
