{
  "format": "chargen.brewery.entry",
  "version": 1,
  "game": null,
  "kind": "referencedefinition",
  "entry": {
    "name": "High-Functioning Addict",
    "summary": "The chosen substance improves one category of performance while present.",
    "rules_text": "When purchasing the Merit, select Physical, Social, or Mental pools. Add one die to that category while the character has taken the chosen drug normally and it is in their system. This uses the author's correction to the feeding language.",
    "setting_text": "",
    "character_scope": "unspecified"
  },
  "rows": [
    {
      "id": "1",
      "model": "referencedefinition",
      "fields": {
        "category": null,
        "notes": {
          "implementation": {
            "rating": 1,
            "bonus_dice": 1,
            "rating_text": "1",
            "source_game": "Sorcerer v5",
            "advantage_type": "Merit",
            "pool_category_choices": [
              "Physical",
              "Social",
              "Mental"
            ]
          }
        }
      }
    },
    {
      "id": "2",
      "model": "ruledetail",
      "fields": {
        "row_key": "game",
        "order": 0,
        "label": "Game",
        "value": "Sorcerer v5"
      }
    },
    {
      "id": "3",
      "model": "ruledetail",
      "fields": {
        "row_key": "detail-1",
        "order": 1,
        "label": "Type",
        "value": "Merit"
      }
    },
    {
      "id": "4",
      "model": "ruledetail",
      "fields": {
        "row_key": "detail-2",
        "order": 2,
        "label": "Dots",
        "value": "1"
      }
    },
    {
      "id": "5",
      "model": "ruledetail",
      "fields": {
        "row_key": "family",
        "order": 20,
        "label": "Family",
        "value": "Addiction Advantages"
      }
    },
    {
      "id": "6",
      "model": "ruledetail",
      "fields": {
        "row_key": "author-clarification-0",
        "order": 80,
        "label": "Author clarification",
        "value": "Drug-related Advantages use ordinary consumption of the chosen substance. They do not require feeding."
      }
    },
    {
      "id": "7",
      "model": "ruledetail",
      "fields": {
        "row_key": "brew-sources",
        "order": 90,
        "label": "Sources",
        "value": "Sorcerer v5 Core Rulebook, version 1.0, PDF pp. 58."
      }
    },
    {
      "id": "8",
      "model": "sourcelocator",
      "fields": {
        "row_key": "clarification-0",
        "order": 0,
        "edition": {
          "reference": "9e7fe8b4-d82e-4d9b-b222-568fff663b6f"
        },
        "chapter": "",
        "section": "addiction-substance",
        "printed_page_start": "",
        "printed_page_end": "",
        "pdf_page_start": null,
        "pdf_page_end": null,
        "fragment_anchor": "",
        "heading_path": "addiction-substance",
        "bounding_boxes": {}
      }
    },
    {
      "id": "9",
      "model": "sourcelocator",
      "fields": {
        "row_key": "source-pages",
        "order": 0,
        "edition": {
          "reference": "57012eaa-b717-46dd-bc98-18e44eb796b8"
        },
        "chapter": "addiction",
        "section": "High-Functioning Addict",
        "printed_page_start": "",
        "printed_page_end": "",
        "pdf_page_start": 58,
        "pdf_page_end": 58,
        "fragment_anchor": "",
        "heading_path": "High-Functioning Addict",
        "bounding_boxes": {}
      }
    },
    {
      "id": "10",
      "model": "entrycitation",
      "fields": {
        "row_key": "author-0",
        "order": 0,
        "source": {
          "reference": "9e7fe8b4-d82e-4d9b-b222-568fff663b6f"
        },
        "locator": {
          "local": "8"
        },
        "supports": "Author correction",
        "verified": true,
        "verification_notes": "Explicit owner answer in this project conversation, September 27, 2026."
      }
    },
    {
      "id": "11",
      "model": "entrycitation",
      "fields": {
        "row_key": "pdf-source",
        "order": 0,
        "source": {
          "reference": "57012eaa-b717-46dd-bc98-18e44eb796b8"
        },
        "locator": {
          "local": "9"
        },
        "supports": "Source mechanics and scope; author corrections are separately cited.",
        "verified": true,
        "verification_notes": "Directly inspected supplied PDF; actual PDF pages used. Independent prose written for Chargen. Missing numerical procedures remain explicit."
      }
    },
    {
      "id": "12",
      "model": "brewdefinition",
      "fields": {
        "row_key": "design",
        "order": 0,
        "definition": {
          "steps": [
            {
              "title": "How it works",
              "instructions": "When purchasing the Merit, select Physical, Social, or Mental pools. Add one die to that category while the character has taken the chosen drug normally and it is in their system. This uses the author's correction to the feeding language."
            }
          ],
          "fields": [
            {
              "key": "rating",
              "type": "number",
              "label": "High-Functioning Addict dots",
              "initial": 1,
              "integer": true,
              "maximum": 1,
              "minimum": 1,
              "section": "Inputs",
              "help_text": "The purchased rating or fixed dot cost; not a free starting grant."
            },
            {
              "key": "details",
              "type": "text",
              "label": "Character-specific details",
              "section": "Character",
              "help_text": "The chosen substance improves one category of performance while present."
            },
            {
              "key": "substance",
              "type": "text",
              "label": "Chosen substance",
              "section": "Character",
              "help_text": ""
            },
            {
              "key": "category",
              "type": "choice",
              "label": "Affected pool category",
              "initial": "Physical",
              "options": [
                "Physical",
                "Social",
                "Mental"
              ],
              "section": "Character"
            },
            {
              "key": "substance_present",
              "type": "boolean",
              "label": "The chosen substance is currently affecting the character",
              "initial": false,
              "section": "Conditions"
            },
            {
              "key": "base_pool",
              "type": "number",
              "label": "Dice pool before this modifier",
              "initial": 0,
              "integer": true,
              "maximum": null,
              "minimum": 0,
              "section": "Inputs",
              "help_text": ""
            },
            {
              "key": "applies",
              "type": "boolean",
              "label": "The stated condition applies",
              "initial": false,
              "section": "Conditions"
            }
          ],
          "version": 1,
          "mechanics": [
            {
              "name": "Dot cost",
              "expression": {
                "symbol": "rating"
              },
              "explanation": "The dots assigned to this merit."
            },
            {
              "name": "Modifier",
              "expression": {
                "literal": 1
              },
              "explanation": "Add one die in the chosen category while the chosen substance is affecting the character."
            },
            {
              "name": "Adjusted dice pool",
              "expression": {
                "op": "max",
                "args": [
                  {
                    "literal": 0
                  },
                  {
                    "op": "add",
                    "args": [
                      {
                        "symbol": "base_pool"
                      },
                      {
                        "literal": 1
                      }
                    ]
                  }
                ]
              },
              "explanation": "Use only when the stated condition applies. Remove the modifier when it does not."
            }
          ]
        }
      }
    }
  ]
}