[
  {
    "id": "telepathy_practice",
    "type": "nested_category",
    "//": "XP for level 12 is 49417, for level 10 is 35279, for level 7 is 20514",
    "activity_level": "LIGHT_EXERCISE",
    "category": "CC_PRACTICE",
    "subcategory": "CSC_PRACTICE_METAPHYSICS",
    "name": "contemplation: telepathy",
    "description": "Recipes related to practicing telepathy.",
    "skill_used": "metaphysics",
    "nested_category_data": [
      "practice_telepathic_concentration",
      "practice_telepathic_shield",
      "practice_telepathic_mind_sense",
      "practice_telepathic_morale",
      "practice_telepathic_beastmaster",
      "practice_telepathic_blast",
      "practice_telepathic_confusion",
      "practice_telepathic_invisibility",
      "practice_telepathic_fear",
      "practice_telepathic_scream",
      "practice_telepathic_beast_taming",
      "practice_telepathic_mind_control",
      "practice_telepathic_network"
    ],
    "difficulty": 1
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: concentration trance",
    "id": "practice_telepathic_concentration",
    "description": "Contemplate your powers and improve your laser-like focus.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 0,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_CONCENTRATION",
        "condition": { "math": [ "u_spell_level('telepathic_concentration')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_concentration')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(1)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: mind sense",
    "id": "practice_telepathic_mind_sense",
    "description": "Contemplate your powers and improve your ability to detect other minds.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 1,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_MIND_SENSE",
        "condition": { "math": [ "u_spell_level('telepathic_mind_sense')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_mind_sense')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(2)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: telepathic shield",
    "id": "practice_telepathic_shield",
    "description": "Contemplate your powers and improve the resilience of your mind.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 1,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_SHIELD",
        "condition": { "math": [ "u_spell_level('telepathic_shield')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_shield')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(2)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_SHIELD_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(2)" ] }, { "math": [ "learn_new_power_upper_time_bound(2)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_SHIELD_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_SHIELD_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 6
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Telepathic Shield power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_shield')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 10,20 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 10,20 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: mood stabilization",
    "id": "practice_telepathic_morale",
    "description": "Contemplate your powers and improve your control of your own emotions.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 2,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_MORALE",
        "condition": { "math": [ "u_spell_level('telepathic_morale')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_morale')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(3)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_MORALE_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(3)" ] }, { "math": [ "learn_new_power_upper_time_bound(3)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_MORALE_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_MORALE_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 7
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Mood Stabilization power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_morale')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 15,30 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 15,30 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: synaptic overload",
    "id": "practice_telepathic_blast",
    "description": "Contemplate your powers and improve your mental strength to telepathically assault your enemies.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 3,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATHIC_BLAST",
        "condition": { "math": [ "u_spell_level('telepathic_blast')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_blast')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(4)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATHIC_BLAST_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(4)" ] }, { "math": [ "learn_new_power_upper_time_bound(4)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATHIC_BLAST_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATHIC_BLAST_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 8
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Synaptic Blast power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_blast')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: beastmaster",
    "id": "practice_telepathic_beastmaster",
    "description": "Contemplate your powers and improve your ability to overpower the minds of animals.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 3,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATHIC_ANIMAL_MIND_CONTROL",
        "condition": { "math": [ "u_spell_level('telepathic_animal_mind_control')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_animal_mind_control')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(4)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATHIC_ANIMAL_MIND_CONTROL_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(4)" ] }, { "math": [ "learn_new_power_upper_time_bound(4)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATHIC_ANIMAL_MIND_CONTROL_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATHIC_ANIMAL_MIND_CONTROL_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 8
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Beastmaster power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_animal_mind_control')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 20,40 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: sensory deprivation",
    "id": "practice_telepathic_confusion",
    "description": "Contemplate your powers and improve your ability to confound your enemies's senses.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 4,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_CONFUSION",
        "condition": { "math": [ "u_spell_level('telepathic_confusion')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_confusion')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(5)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_CONFUSION_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(5)" ] }, { "math": [ "learn_new_power_upper_time_bound(5)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_CONFUSION_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_CONFUSION_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 9
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Sensory Deprivation power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_confusion')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 25,50 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 25,50 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: obscurity",
    "id": "practice_telepathic_invisibility",
    "description": "Contemplate your powers and improve your ability to make your enemies ignore you.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 5,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_OBSCURITY",
        "condition": { "math": [ "u_spell_level('telepathic_invisibility')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_invisibility')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(6)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_OBSCURITY_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(6)" ] }, { "math": [ "learn_new_power_upper_time_bound(6)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_OBSCURITY_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_OBSCURITY_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 10
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Obscurity power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_invisibility')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: primal terror",
    "id": "practice_telepathic_fear",
    "description": "Contemplate your powers and improve your ability to turn your enemies' greatest fears against them.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 5,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_PRIMAL_FEAR",
        "condition": { "math": [ "u_spell_level('telepathic_fear')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_fear')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(6)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_PRIMAL_FEAR_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(6)" ] }, { "math": [ "learn_new_power_upper_time_bound(6)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_PRIMAL_FEAR_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_PRIMAL_FEAR_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 10
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Primal Fear power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_fear')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 30,60 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: psychic scream",
    "id": "practice_telepathic_scream",
    "description": "Contemplate your powers and improve the volume of your undirected psionic shrieking.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 6,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_SCREAM_RADIUS",
        "condition": { "math": [ "u_spell_level('telepathic_blast_radius')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_blast_radius')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(7)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_SCREAM_RADIUS_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(7)" ] }, { "math": [ "learn_new_power_upper_time_bound(7)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_SCREAM_RADIUS_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_SCREAM_RADIUS_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 11
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Psychic Scream power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_blast_radius')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 35,70 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 35,70 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: beast tamer",
    "id": "practice_telepathic_beast_taming",
    "description": "Contemplate your powers and improve your ability to control animals over the long term.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 6,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_BEAST_TAMING",
        "condition": { "math": [ "u_spell_level('telepathic_beast_taming')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_beast_taming')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(7)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_BEAST_TAMING_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(7)" ] }, { "math": [ "learn_new_power_upper_time_bound(7)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_BEAST_TAMING_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_BEAST_TAMING_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 11
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Beast Tamer power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_beast_taming')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 35,70 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 35,70 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: mind control",
    "id": "practice_telepathic_mind_control",
    "description": "Contemplate your powers and improve your domination of others' minds.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 7,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_MIND_CONTROL",
        "condition": { "math": [ "u_spell_level('telepathic_mind_control')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_mind_control')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(8)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_MIND_CONTROL_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(8)" ] }, { "math": [ "learn_new_power_upper_time_bound(8)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_MIND_CONTROL_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_MIND_CONTROL_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 12
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Mind Control power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_mind_control')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 40,80 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 40,80 )" ] }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "recipe",
    "activity_level": "LIGHT_EXERCISE",
    "name": "contemplation: network effect",
    "id": "practice_telepathic_network",
    "description": "Contemplate your powers and improve your ability to link multiple people into a gestalt whole.",
    "category": "CC_*",
    "subcategory": "CSC_*_NESTED",
    "skill_used": "metaphysics",
    "difficulty": 8,
    "time": "30 m",
    "autolearn": false,
    "proficiencies": [ { "proficiency": "prof_contemplation_telepathy", "required": false } ],
    "tools": [ [ [ "matrix_crystal_drained", -1 ], [ "matrix_crystal_telepathy", -1 ] ] ],
    "components": [ [ [ "matrix_crystal_telepath_dust", 1 ] ] ],
    "flags": [ "SECRET", "BLIND_HARD" ],
    "result_eocs": [
      {
        "id": "EOC_PRACTICE_TELEPATH_NETWORK_EFFECT",
        "condition": { "math": [ "u_spell_level('telepathic_network')", ">=", "1" ] },
        "effect": [
          { "u_message": "You spend some time meditating and contemplating your powers and emerge with new knowledge." },
          { "math": [ "u_spell_exp('telepathic_network')", "+=", "(contemplation_factor(1))" ] },
          { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 1,10 )" ] },
          { "math": [ "u_val('stored_kcal')", "-=", "psionics_contemplation_kcal_cost(9)" ] },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" }
        ],
        "false_effect": [
          { "u_message": "You attempt to unlock new capabilities within your mind." },
          { "u_assign_activity": "ACT_PSI_LEARNING_NEW_POWER", "duration": "16 hours" },
          { "u_add_effect": "effect_psi_learning_new_power", "duration": "16 hours" },
          { "run_eocs": "EOC_PSI_PRACTICE_FOCUS_MOD" },
          {
            "queue_eocs": "EOC_PRACTICE_TELEPATH_NETWORK_EFFECT_LEARNING",
            "time_in_future": [ { "math": [ "learn_new_power_lower_time_bound(9)" ] }, { "math": [ "learn_new_power_upper_time_bound(9)" ] } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_PRACTICE_TELEPATH_NETWORK_EFFECT_LEARNING",
    "condition": {
      "and": [
        { "u_has_effect": "effect_psi_learning_new_power" },
        {
          "not": { "u_has_any_effect": [ "sleep", "effect_vitakin_wakeful_resting", "lack_sleep", "sleep_deprived", "under_operation" ] }
        }
      ]
    },
    "effect": [
      {
        "run_eocs": [
          {
            "id": "EOC_PRACTICE_TELEPATH_NETWORK_EFFECT_LEARNING_2",
            "condition": {
              "roll_contested": { "math": [ "u_skill('metaphysics') + u_has_proficiency('prof_contemplation_telepathy')" ] },
              "difficulty": 13
            },
            "effect": [
              {
                "u_message": "As you meditate, all the pieces suddenly come together.  You've unlocked the Network Effect power.",
                "popup": true
              },
              { "math": [ "u_spell_level('telepathic_network')", "=", "1" ] },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,90 )" ] }
            ],
            "false_effect": [
              { "u_message": "You just couldn't manage to grasp the technique.  You'll have to try again.", "popup": true },
              { "math": [ "u_vitamin('vitamin_psionic_drain')", "+=", "rng( 45,90 )" ] }
            ]
          }
        ]
      }
    ]
  }
]
