[
  {
    "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": { "math": [ "u_no_notifications = 0" ] },
        "condition": { "math": [ "u_no_notifications != 0" ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "No",
        "effect": { "math": [ "u_no_notifications = 1" ] },
        "condition": { "math": [ "u_no_notifications != 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 affect levels already gained, or current level.",
    "responses": [
      {
        "text": "None (0 exp)",
        "effect": { "math": [ "u_exp_per_level = 0" ] },
        "condition": { "math": [ "u_exp_per_level != 0" ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "Normal (300 XP)",
        "effect": { "math": [ "u_exp_per_level = 300" ] },
        "condition": { "math": [ "u_exp_per_level != 300" ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "Large (1000 XP)",
        "effect": { "math": [ "u_exp_per_level = 1000" ] },
        "condition": { "math": [ "u_exp_per_level != 1000" ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "Very Large (10000 XP)",
        "effect": { "math": [ "u_exp_per_level = 10000" ] },
        "condition": { "math": [ "u_exp_per_level != 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": { "math": [ "u_no_prerecs = 0" ] },
        "condition": { "math": [ "u_no_prerecsl != 0" ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      {
        "text": "No Prerequisites",
        "effect": { "math": [ "u_no_prerecs = 1" ] },
        "condition": { "math": [ "u_no_prerecsl != 1" ] },
        "failure_explanation": "Current Setting",
        "failure_topic": "TALK_PERK_MENU_CONFIG",
        "topic": "TALK_PERK_MENU_CONFIG"
      },
      { "text": "Back", "topic": "TALK_PERK_MENU_CONFIG" }
    ]
  }
]
