{
  "format": "chargen.brewery.entry",
  "version": 1,
  "game": null,
  "kind": "referencedefinition",
  "entry": {
    "name": "City Secrets",
    "summary": "Possess valuable private knowledge about the local supernatural world.",
    "rules_text": "Choose the secret represented by the purchase. It can supply leverage or something worth exchanging for help, depending on who wants it concealed. The Merit can be purchased up to three times, each for a different secret.",
    "setting_text": "",
    "character_scope": "unspecified"
  },
  "rows": [
    {
      "id": "1",
      "model": "referencedefinition",
      "fields": {
        "category": null,
        "notes": {
          "implementation": {
            "maximum": 3,
            "minimum": 1,
            "rating_text": "1\u20133",
            "source_game": "Sorcerer v5",
            "max_purchases": 3,
            "advantage_type": "Merit",
            "distinct_secret": true
          }
        }
      }
    },
    {
      "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\u20133"
      }
    },
    {
      "id": "5",
      "model": "ruledetail",
      "fields": {
        "row_key": "detail-3",
        "order": 3,
        "label": "Repeat purchases",
        "value": "At most 3; each must concern a different secret"
      }
    },
    {
      "id": "6",
      "model": "ruledetail",
      "fields": {
        "row_key": "family",
        "order": 20,
        "label": "Family",
        "value": "Status"
      }
    },
    {
      "id": "7",
      "model": "ruledetail",
      "fields": {
        "row_key": "brew-sources",
        "order": 90,
        "label": "Sources",
        "value": "Sorcerer v5 Core Rulebook, version 1.0, PDF pp. 62."
      }
    },
    {
      "id": "8",
      "model": "sourcelocator",
      "fields": {
        "row_key": "source-pages",
        "order": 0,
        "edition": {
          "reference": "57012eaa-b717-46dd-bc98-18e44eb796b8"
        },
        "chapter": "background-merits",
        "section": "City Secrets",
        "printed_page_start": "",
        "printed_page_end": "",
        "pdf_page_start": 62,
        "pdf_page_end": 62,
        "fragment_anchor": "",
        "heading_path": "City Secrets",
        "bounding_boxes": {}
      }
    },
    {
      "id": "9",
      "model": "entrycitation",
      "fields": {
        "row_key": "pdf-source",
        "order": 0,
        "source": {
          "reference": "57012eaa-b717-46dd-bc98-18e44eb796b8"
        },
        "locator": {
          "local": "8"
        },
        "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": "10",
      "model": "brewdefinition",
      "fields": {
        "row_key": "design",
        "order": 0,
        "definition": {
          "steps": [
            {
              "title": "How it works",
              "instructions": "Choose the secret represented by the purchase. It can supply leverage or something worth exchanging for help, depending on who wants it concealed. The Merit can be purchased up to three times, each for a different secret."
            }
          ],
          "fields": [
            {
              "key": "rating",
              "type": "number",
              "label": "City Secrets dots",
              "initial": 1,
              "integer": true,
              "maximum": 3,
              "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": "Possess valuable private knowledge about the local supernatural world."
            },
            {
              "key": "purchases",
              "type": "number",
              "label": "Number of distinct secrets purchased",
              "initial": 1,
              "integer": true,
              "maximum": 3,
              "minimum": 1,
              "section": "Inputs",
              "help_text": ""
            },
            {
              "key": "secret",
              "type": "text",
              "label": "This secret",
              "section": "Character",
              "help_text": ""
            }
          ],
          "version": 1,
          "mechanics": [
            {
              "name": "Dot cost",
              "expression": {
                "symbol": "rating"
              },
              "explanation": "The dots assigned to this merit."
            },
            {
              "name": "Within purchase limit",
              "expression": {
                "op": "lte",
                "args": [
                  {
                    "symbol": "purchases"
                  },
                  {
                    "literal": 3
                  }
                ]
              },
              "explanation": "Up to three purchases are permitted; each must concern a different secret."
            }
          ]
        }
      }
    }
  ]
}