[
  {
    "type": "effect_on_condition",
    "id": "EOC_MOM_GAMESTART_TELEKINESIS_LIFTING_FIELD_UPDATE",
    "eoc_type": "EVENT",
    "required_event": "game_start",
    "effect": [ { "math": [ "u_telekinesis_lifting_field_updated = 1" ] } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_MOM_GAMELOAD_TELEKINESIS_LIFTING_FIELD_UPDATE_TELEKINETIC",
    "eoc_type": "EVENT",
    "required_event": "game_load",
    "condition": { "and": [ { "u_has_trait": "TELEKINETIC" }, { "math": [ "u_telekinesis_lifting_field_updated != 1" ] } ] },
    "effect": [
      { "run_eocs": "EOC_TELEKIN_LIFTING_FIELD_SWITCHER_REMOVE" },
      { "u_add_trait": "TELEKINETIC_GRAB_POCKETS" },
      { "u_forget_recipe": "improve_telekinesis_lifting_field" },
      { "u_learn_recipe": "practice_telekinetic_lifting_field" },
      {
        "u_message": "Your Lifting Field has been updated to a power.  You now know the contemplation recipe and have an appropriate level of field for your previous prowess in the ability.",
        "popup": true
      },
      {
        "math": [ "u_spell_level('telekinetic_lifting_field') = (u_spell_level_sum('school': 'TELEKINETIC') / 8) + 1" ]
      },
      { "math": [ "u_telekinesis_lifting_field_updated = 1" ] }
    ]
  }
]
