{
  "name": "Tying & Untying",
  "icon": "minecraft:chain",
  "category": "tiedup:gameplay",
  "sortnum": 2,
  "pages": [
    {
      "type": "patchouli:text",
      "title": "Tying & Untying",
      "text": "$(bold)Duration-based actions with visual feedback.$(br2)$(thing)3 Actions:$()$(br)$(li) $(bold)Tie Others:$() Right-click with bind item$(br)$(li) $(bold)Self-Bondage:$() Left-click with bind item$(br)$(li) $(bold)Untie Others:$() Right-click with empty hand$(br2)All show a progress bar above the hotbar. Stop interacting for 2 seconds to cancel."
    },
    {
      "type": "patchouli:text",
      "title": "Tying Others",
      "text": "$(bold)Right-click target while holding a bind.$(br2)$(thing)Process:$()$(br)$(li) Hold right-click on target$(br)$(li) Progress bar fills (default 5s)$(br)$(li) Item consumed on completion$(br2)$(thing)Requirements:$()$(br)$(li) Max 4 blocks distance$(br)$(li) Line-of-sight required$(br)$(li) Cannot tie while tied yourself$(br2)$(thing)Duration:$() Configurable via GameRule $(bold)tyingPlayerTime$()"
    },
    {
      "type": "patchouli:text",
      "title": "Self-Bondage",
      "text": "$(bold)Hold left-click (attack) with a bondage item.$(br2)$(thing)Binds:$()$(br)$(li) Hold left-click with bind item$(br)$(li) Same duration as tying others$(br)$(li) Cannot self-tie if already tied$(br2)$(thing)Accessories (instant):$()$(br)$(li) Gag, Blindfold, Mittens, Earplugs$(br)$(li) Left-click once to equip$(br)$(li) Cannot equip if arms are bound$(br2)$(thing)Collar:$() $(#FF5555)Cannot be self-applied.$()"
    },
    {
      "type": "patchouli:text",
      "title": "Accessories on Others",
      "text": "$(bold)Right-click a tied target with an accessory.$(br2)$(thing)Items:$() Gag, Blindfold, Mittens, Earplugs$(br)$(thing)Requirement:$() Target must already be tied$(br)$(thing)Speed:$() Instant (no progress bar)$(br2)$(thing)Swapping:$()$(br)If target already has one equipped and it is not locked, the old item drops and the new one replaces it."
    },
    {
      "type": "patchouli:text",
      "title": "Untying Others",
      "text": "$(bold)Right-click a tied target with an empty main hand.$(br2)$(thing)Process:$()$(br)$(li) Hold right-click (empty hand)$(br)$(li) Progress bar fills (default 10s)$(br)$(li) All items drop on the ground$(br)$(li) Leash broken if captive$(br2)$(thing)Requirements:$()$(br)$(li) Cannot untie while tied yourself$(br)$(li) Max 4 blocks distance + line-of-sight$(br2)$(thing)Duration:$() Configurable via GameRule $(bold)untyingPlayerTime$()"
    },
    {
      "type": "patchouli:text",
      "title": "Untying Warnings",
      "text": "$(thing)Kidnapper Fight-Back:$()$(br)If a kidnapper is within 16 blocks, they attack the helper and block the untying.$(br2)$(thing)Collar Ownership:$()$(br)Untying a collared damsel you don't own takes $(bold)3x longer$(). The collar owner is alerted to your location."
    },
    {
      "type": "patchouli:text",
      "title": "Self-Removal",
      "text": "$(bold)Remove your own equipment via Bondage Inventory ($(k:key.tiedup.bondage_inventory)).$(br2)$(thing)Rules:$()$(br)$(li) Must NOT be tied up$(br)$(li) Mittens block removing other items$(br)$(li) Locked items cannot be removed$(br)$(li) Items return to inventory (or drop if full)$(br2)To remove equipment while tied, you must struggle free first."
    },
    {
      "type": "patchouli:text",
      "title": "Progress Bar",
      "text": "$(thing)Visual Feedback:$()$(br)$(li) Bar centered above hotbar$(br)$(li) Shows percentage and action text$(br2)$(thing)Colors:$()$(br)$(#FF8800)Orange$() for tying$(br)$(#55FF55)Green$() for untying$(br2)$(thing)Cancellation:$()$(br)$(li) Stop interacting for ~2 seconds$(br)$(li) Move beyond 4 blocks$(br)$(li) Lose line-of-sight$(br)$(li) Right-click ground with bind item"
    }
  ]
}
