[
  {
    "type": "talk_topic",
    "id": "TALK_PERK_MENU_CONFIG",
    "dynamic_line": "What settings would you like to modify?",
    "responses": [
      { "text": "Notifications", "topic": "TALK_PERK_MENU_CONFIG_NOTIFICATIONS" },
      { "text": "Exp to level", "topic": "TALK_PERK_MENU_CONFIG_EXP_TO_LEVEL" },
      { "text": "Requirements", "topic": "TALK_PERK_MENU_REQUIREMENTS" },
      { "text": "Back", "topic": "TALK_PERK_MENU_MAIN" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PERK_MENU_CONFIG_NOTIFICATIONS",
    "dynamic_line": "Should the perk menu pop up on level up?",
    "responses": [
      {
        "text": "Yes",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "no_notifications" }, "=", { "const": 0 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "no_notifications" }, "!=", { "const": 0 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "No",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "no_notifications" }, "=", { "const": 1 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "no_notifications" }, "!=", { "const": 1 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      { "text": "Back", "topic": "TALK_PERK_MENU_CONFIG" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PERK_MENU_CONFIG_EXP_TO_LEVEL",
    "dynamic_line": "Set exp required per level.  Does not effect levels already gained, or current level.",
    "responses": [
      {
        "text": "None (0 exp)",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "exp_per_level" }, "=", { "const": 0 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "exp_per_level" }, "!=", { "const": 0 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "Normal (300 xp)",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "exp_per_level" }, "=", { "const": 300 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "exp_per_level" }, "!=", { "const": 300 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "Large (1000 xp)",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "exp_per_level" }, "=", { "const": 1000 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "exp_per_level" }, "!=", { "const": 1000 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "Very Large (10000 xp)",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "exp_per_level" }, "=", { "const": 10000 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "exp_per_level" }, "!=", { "const": 10000 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      { "text": "Back", "topic": "TALK_PERK_MENU_CONFIG" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_PERK_MENU_REQUIREMENTS",
    "dynamic_line": "Should there be requirements to get perks?",
    "responses": [
      {
        "text": "Prerequisites",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "no_prerecs" }, "=", { "const": 0 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "no_prerecs" }, "!=", { "const": 0 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "No Prerequisites",
        "effect": [ { "arithmetic": [ { "u_val": "var", "var_name": "no_prerecs" }, "=", { "const": 1 } ] } ],
        "condition": { "compare_num": [ { "u_val": "var", "var_name": "no_prerecs" }, "!=", { "const": 1 } ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      { "text": "Back", "topic": "TALK_PERK_MENU_CONFIG" }
    ]
  }
]
