{
  "name": "Prisoner States",
  "icon": "minecraft:chain",
  "category": "tiedup:camps_prisons",
  "sortnum": 3,
  "pages": [
    {
      "type": "patchouli:text",
      "title": "Prisoner States",
      "text": "$(bold)Prisoner state machine.$(br2)Prisoners progress through defined states managed by the PrisonerService API.$(br2)$(thing)States:$()$(br)$(li) FREE$(br)$(li) CAPTURED$(br)$(li) IMPRISONED$(br)$(li) WORKING$(br)$(li) PROTECTED"
    },
    {
      "type": "patchouli:text",
      "title": "State Transitions",
      "text": "$(thing)FREE → CAPTURED:$() Kidnapper binds target$(br)$(thing)CAPTURED → IMPRISONED:$() Brought to cell$(br)$(thing)IMPRISONED → WORKING:$() Maid extracts for labor$(br)$(thing)WORKING → IMPRISONED:$() Task complete, returned$(br)$(thing)Any → FREE:$() Escape or release$(br)$(thing)Any → PROTECTED:$() Admin protection"
    },
    {
      "type": "patchouli:text",
      "title": "Escape Triggers",
      "text": "$(thing)Distance:$() Leave guard's 20-block radius$(br)$(thing)Guard Death:$() Guard killed during task$(br)$(thing)Struggle:$() Break free from restraints$(br)$(thing)Tie Guard:$() Restrain the guard$(br2)$(thing)PrisonerService API:$()$(br)capture, imprison, extract, return, transfer, escape, release"
    }
  ]
}
