[
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_SELF_CARRIED_VOLUME_CHECKER",
    "effect": [
      { "math": [ "u_teleport_total_carried_volume = 0" ] },
      {
        "u_run_inv_eocs": "all",
        "search_data": [ { "condition": { "math": [ "n_volume() > 0" ] }, "excluded_flags": [ "PSEUDO", "INTEGRATED" ], "worn_only": true } ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_SELF_CARRIED_VOLUME_CHECKER_ADD_VOLUME_WORN",
            "effect": [ { "math": [ "u_teleport_total_carried_volume", "+=", "n_volume()" ] } ]
          }
        ]
      },
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          { "condition": { "math": [ "n_volume() > 0" ] }, "excluded_flags": [ "PSEUDO", "INTEGRATED" ], "wielded_only": true }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_SELF_CARRIED_VOLUME_CHECKER_ADD_VOLUME_WIELDED",
            "effect": [ { "math": [ "u_teleport_total_carried_volume", "+=", "n_volume()" ] } ]
          }
        ]
      },
      { "u_message": "Your carried volume is <u_val:teleport_total_carried_volume>.", "type": "debug" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_BLINK_INITIATE",
    "condition": {
      "and": [
        { "not": { "u_has_worn_with_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "TELEPORT_LOCK" } }
      ]
    },
    "effect": [
      { "run_eocs": "EOC_TELEPORT_SELF_CARRIED_VOLUME_CHECKER" },
      {
        "math": [
          "_teleport_blink_limit = ( ( ( u_spell_level('teleport_blink') * 3500 ) + 5000 ) * scaling_factor( u_val('intelligence') ) * u_nether_attunement_power_scaling )"
        ]
      },
      { "u_message": "Your Blink volume limit is <context_val:teleport_blink_limit>.", "type": "debug" },
      {
        "if": { "math": [ "u_teleport_total_carried_volume <= _teleport_blink_limit" ] },
        "then": [
          {
            "u_cast_spell": { "id": "teleport_blink_real", "min_level": { "math": [ "u_spell_level('teleport_blink')" ] }, "hit_self": true }
          },
          { "u_message": "You vanish and reappear nearby.", "type": "neutral" }
        ],
        "else": [
          {
            "u_message": "You attempt to teleport to somewhere nearby, but your skin merely tingles and nothing happens.  You're carrying too much.",
            "type": "bad"
          }
        ]
      }
    ],
    "false_effect": [ { "u_message": "You feel a strange, inward force.", "type": "bad" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_PHASE_INITIATE",
    "condition": {
      "and": [
        { "not": { "u_has_worn_with_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "TELEPORT_LOCK" } }
      ]
    },
    "effect": [
      { "run_eocs": "EOC_TELEPORT_SELF_CARRIED_VOLUME_CHECKER" },
      {
        "math": [
          "_teleport_phase_limit = ( ( ( u_spell_level('teleport_phase') * 5000 ) + 10000 ) * scaling_factor( u_val('intelligence') ) * u_nether_attunement_power_scaling )"
        ]
      },
      { "u_message": "Your Phase volume limit is <context_val:teleport_blink_limit>.", "type": "debug" },
      {
        "if": { "math": [ "u_teleport_total_carried_volume <= _teleport_phase_limit" ] },
        "then": [
          {
            "u_cast_spell": { "id": "teleport_phase_real", "min_level": { "math": [ "u_spell_level('teleport_phase')" ] } },
            "targeted": true
          },
          {
            "u_message": "There is a brief moment of darkness and terrible cold, and you are somewhere else.",
            "type": "neutral"
          }
        ],
        "else": [
          {
            "u_message": "You attempt to phase through the barrier, but your skin merely tingles and nothing happens.  You're carrying too much.",
            "type": "bad"
          }
        ]
      }
    ],
    "false_effect": [ { "u_message": "You feel a strange, inward force.", "type": "bad" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_ITEM_APPORT",
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [ { "wielded_only": true, "condition": { "math": [ "n_volume() > 0" ] } } ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_ITEM_APPORT_NEXT",
            "effect": [
              {
                "u_run_inv_eocs": "all",
                "search_data": [
                  {
                    "wielded_only": true,
                    "condition": {
                      "and": [
                        {
                          "math": [
                            "n_volume() <= ((u_spell_level('teleport_item_apport') * 2500) + 2000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                          ]
                        },
                        { "math": [ "n_volume() > 0" ] }
                      ]
                    }
                  }
                ],
                "true_eocs": [
                  {
                    "id": "EOC_TELEPORT_ITEM_APPORT_ITEM_QUALIFIES",
                    "effect": [
                      {
                        "u_query_tile": "line_of_sight",
                        "target_var": { "context_val": "teleporter_item_apport_location" },
                        "range": {
                          "math": [
                            "min( ( ( (u_spell_level('teleport_item_apport') * 1.25) + 2) * (scaling_factor(u_val('intelligence') ) ) * u_nether_attunement_power_scaling), 80)"
                          ]
                        },
                        "z_level": true,
                        "message": "Select apport location."
                      },
                      {
                        "if": { "math": [ "has_var(_teleporter_item_apport_location)" ] },
                        "then": {
                          "if": {
                            "or": [
                              { "map_terrain_with_flag": "WALL", "loc": { "context_val": "teleporter_item_apport_location" } },
                              {
                                "map_terrain_with_flag": "DOOR",
                                "loc": { "context_val": "teleporter_item_apport_location" }
                              }
                            ]
                          },
                          "then": { "u_message": "You cannot apport an item inside a solid object.", "type": "bad" },
                          "else": [
                            { "npc_teleport": { "context_val": "teleporter_item_apport_location" } },
                            {
                              "u_message": "The item in your hands grows freezing cold for a moment before vanishing.",
                              "type": "neutral"
                            }
                          ]
                        },
                        "else": { "u_message": "Canceled" }
                      }
                    ]
                  }
                ],
                "false_eocs": [
                  {
                    "id": "EOC_TELEPORT_ITEM_APPORT_ITEM_DOES_NOT_QUALIFY",
                    "effect": [ { "u_message": "The air around the item wavers, but nothing happens.  The item is too large." } ]
                  }
                ]
              }
            ]
          }
        ],
        "false_eocs": [
          { "id": "EOC_TELEPORT_ITEM_APPORT_FAIL", "effect": [ { "u_message": "You must be holding something to apport it." } ] }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_DISPLACEMENT_CHECK",
    "effect": [
      { "math": [ "u_teleportation_intelligence = ( ( n_val('intelligence') + 10) / 20 )" ] },
      { "math": [ "u_teleportation_intelligence_power_level = n_spell_level('teleport_displacement')" ] },
      { "math": [ "u_nether_attunement_teleportation_scaling = n_nether_attunement_power_scaling" ] },
      {
        "if": {
          "and": [
            {
              "math": [
                "u_volume() <= ( ( (u_teleportation_intelligence_power_level * 12500) + 25000) * u_teleportation_intelligence * u_nether_attunement_teleportation_scaling)"
              ]
            },
            { "math": [ "u_volume() > 0" ] }
          ]
        },
        "then": [
          { "u_cast_spell": { "id": "teleport_blink_real", "min_level": 10, "hit_self": true } },
          {
            "if": { "npc_has_effect": "effect_teleport_reactive_displacement" },
            "then": [ { "npc_message": "As <u_name> strikes you, they are suddenly somewhere else", "type": "good" } ],
            "else": [ { "npc_message": "You touch <u_name> and they are suddenly somewhere else", "type": "good" } ]
          }
        ],
        "else": [
          {
            "if": { "npc_has_effect": "effect_teleport_reactive_displacement" },
            "then": [  ],
            "else": [ { "npc_message": "You touch <u_name> but nothing happens.  They are too big to teleport.", "type": "bad" } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_SPACIAL_VORTEX",
    "effect": [
      { "u_cast_spell": { "id": "psionic_drained_difficulty_four", "hit_self": true } },
      {
        "switch": { "math": [ "u_spell_level('teleport_collapse')" ] },
        "cases": [
          { "case": 0, "effect": [ { "u_cast_spell": { "id": "teleport_collapse_01", "hit_self": false }, "targeted": true } ] },
          {
            "case": 4,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_02", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 8,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_03", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 12,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_04", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 16,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_05", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 20,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_06", "hit_self": false }, "targeted": true } ]
          },
          {
            "case": 24,
            "effect": [ { "u_cast_spell": { "id": "teleport_collapse_07", "hit_self": false }, "targeted": true } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_FARSTEP_INITIATE",
    "condition": {
      "and": [
        { "not": { "u_has_worn_with_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "TELEPORT_LOCK" } }
      ]
    },
    "effect": [
      { "run_eocs": "EOC_TELEPORT_SELF_CARRIED_VOLUME_CHECKER" },
      {
        "math": [
          "_teleport_farstep_limit = ( ( ( u_spell_level('teleport_farstep') * 5000 ) + 8000 ) * scaling_factor( u_val('intelligence') ) * u_nether_attunement_power_scaling )"
        ]
      },
      { "u_message": "Your Farstep volume limit is <context_val:teleport_farstep_limit>.", "type": "debug" },
      {
        "if": { "math": [ "u_teleport_total_carried_volume <= _teleport_farstep_limit" ] },
        "then": [
          { "u_cast_spell": { "id": "teleport_farstep_real", "hit_self": false }, "targeted": true },
          {
            "u_message": "There is a moment of darkness and terrible cold, and you are somewhere else.",
            "type": "neutral"
          }
        ],
        "else": [ { "run_eocs": [ "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" ] } ]
      }
    ],
    "false_effect": [ { "u_message": "You feel a strange, inward force.", "type": "bad" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORTER_OUBLIETTE_HANDLING",
    "condition": {
      "and": [
        { "not": { "u_has_flag": "TELESTOP" } },
        { "not": { "u_has_flag": "TELEPORT_IMMUNE" } },
        { "not": { "u_has_worn_with_flag": "DIMENSIONAL_ANCHOR" } }
      ]
    },
    "effect": [ { "run_eocs": "EOC_TELEPORTER_OUBLIETTE_HANDLING_2" } ],
    "false_effect": [ { "npc_message": "Your target wavers for a moment, but nothing happens." } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORTER_OUBLIETTE_HANDLING_2",
    "condition": { "not": "u_is_npc" },
    "effect": [
      {
        "math": [
          "u_psi_teleporter_damage",
          "=",
          "rng(((15 + (n_spell_level('teleport_banish') * 15)) * ( ( n_val('intelligence') + 10) / 20 ) * n_nether_attunement_power_scaling),((350 + (n_spell_level('teleport_banish') * 35)) * ( ( n_val('intelligence') + 10) / 20 ) * n_nether_attunement_power_scaling))"
        ]
      },
      { "math": [ "u_health_comparison = u_hp('ALL')" ] },
      {
        "if": { "math": [ "u_psi_teleporter_damage > u_health_comparison" ] },
        "then": [
          { "u_die": { "remove_corpse": true, "supress_message": true, "remove_from_creature_tracker": true } },
          { "npc_message": "With a tremendous mental exertion, you hurl your target…elsewhere." }
        ]
      }
    ],
    "false_effect": [
      {
        "math": [
          "u_psi_teleporter_damage",
          "=",
          "rng(((15 + (n_spell_level('teleport_banish') * 15)) * ( ( n_val('intelligence') + 10) / 20 ) * n_nether_attunement_power_scaling),((350 + (n_spell_level('teleport_banish') * 35)) * ( ( n_val('intelligence') + 10) / 20 ) * n_nether_attunement_power_scaling))"
        ]
      },
      {
        "math": [
          "u_health_comparison",
          "=",
          "(u_hp('arm_l') + u_hp('arm_r') + u_hp('leg_l') + u_hp('leg_r') + u_hp('torso') + u_hp('head')) / 3"
        ]
      },
      {
        "if": { "math": [ "u_psi_teleporter_damage > u_health_comparison" ] },
        "then": [
          { "npc_message": "With a tremendous mental exertion, you hurl your target…elsewhere." },
          { "u_die": { "remove_corpse": true, "supress_message": true, "remove_from_creature_tracker": false } }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORTER_GATEWAY_MESSAGE",
    "effect": [
      {
        "u_message": "There is a long moment of darkness and terrible cold that seems like it will freeze your heart, and then you are somewhere else.",
        "type": "neutral"
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH",
    "effect": [
      {
        "u_message": "You attempt to teleport to your destination, but your skin merely tingles and nothing happens.  You're carrying too much.",
        "type": "bad"
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORTER_ATTUNING_MESSAGE",
    "effect": [
      { "u_message": "You concentrate and begin memorizing every detail of the current area you are in.", "type": "neutral" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORTER_ATTUNED_MESSAGE",
    "effect": [
      {
        "u_message": "You have successfully memorized the local area, and may now return to it with your powers.",
        "type": "good"
      },
      "u_cancel_activity"
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR",
    "condition": {
      "and": [
        { "not": { "u_has_worn_with_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "DIMENSIONAL_ANCHOR" } },
        { "not": { "u_has_flag": "TELEPORT_LOCK" } }
      ]
    },
    "effect": [
      { "run_eocs": "EOC_TELEPORT_SELF_CARRIED_VOLUME_CHECKER" },
      {
        "if": {
          "math": [
            "u_teleport_total_carried_volume <= ( ( ( u_spell_level('teleport_gateway') * 7500 ) + 10000 ) * scaling_factor( u_val('intelligence') ) * u_nether_attunement_power_scaling )"
          ]
        },
        "then": [ { "math": [ "u_teleport_total_carried_volume = 1" ] } ],
        "else": [ { "math": [ "u_teleport_total_carried_volume = -1" ] } ]
      },
      {
        "run_eoc_selector": [
          "EOC_TELEPORT_GATEWAY_SELECTOR_01",
          "EOC_TELEPORT_GATEWAY_SELECTOR_02",
          "EOC_TELEPORT_GATEWAY_SELECTOR_03",
          "EOC_TELEPORT_GATEWAY_SELECTOR_04",
          "EOC_TELEPORT_GATEWAY_SELECTOR_05",
          "EOC_TELEPORT_GATEWAY_SELECTOR_06",
          "EOC_TELEPORT_GATEWAY_SELECTOR_07",
          "EOC_TELEPORT_GATEWAY_SELECTOR_08",
          "EOC_TELEPORT_GATEWAY_SELECTOR_09",
          "EOC_TELEPORT_GATEWAY_SELECTOR_10"
        ],
        "names": [
          "Gateway: <u_val:gateway_destination_name_1>",
          "Gateway: <u_val:gateway_destination_name_2>",
          "Gateway: <u_val:gateway_destination_name_3>",
          "Gateway: <u_val:gateway_destination_name_4>",
          "Gateway: <u_val:gateway_destination_name_5>",
          "Gateway: <u_val:gateway_destination_name_6>",
          "Gateway: <u_val:gateway_destination_name_7>",
          "Gateway: <u_val:gateway_destination_name_8>",
          "Gateway: <u_val:gateway_destination_name_9>",
          "Gateway: <u_val:gateway_destination_name_10>"
        ],
        "keys": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" ],
        "descriptions": [
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination.",
          "Teleport/Attune to a destination."
        ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ],
    "false_effect": [ { "u_message": "You feel a strange, inward force.", "type": "bad" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "ECO_TELEPORTER_CANCELLING_ATTUNING_CANCELS_ATTUNE",
    "eoc_type": "EVENT",
    "required_event": "character_finished_activity",
    "condition": {
      "and": [
        { "compare_string": [ "ACT_PSI_TELEPORTER_ATTUNING", { "context_val": "activity" } ] },
        { "u_has_effect": "effect_teleporter_attuning_to_area" }
      ]
    },
    "effect": [ { "u_lose_effect": "effect_teleporter_attuning_to_area" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_01",
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_01", "EOC_TELEPORT_GATEWAY_ATTUNE_01" ],
        "names": [ "Destination: <u_val:gateway_destination_name_1>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_1>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_01",
    "condition": { "math": [ "has_var(u_gateway_destination_1)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_1" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_01",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_01_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_01_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 1",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_1" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_1" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_02",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "1"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_02", "EOC_TELEPORT_GATEWAY_ATTUNE_02" ],
        "names": [ "Destination: <u_val:gateway_destination_name_2>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_2>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_02",
    "condition": { "math": [ "has_var(u_gateway_destination_2)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [
          { "message": "Destination coordinates are <u_val:gateway_destination_2>.", "type": "debug" },
          { "u_teleport": { "u_val": "gateway_destination_2" } },
          { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" }
        ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_02",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_02_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_02_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 2",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_2" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_2" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_03",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "2"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_03", "EOC_TELEPORT_GATEWAY_ATTUNE_03" ],
        "names": [ "Destination: <u_val:gateway_destination_name_3>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_3>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_03",
    "condition": { "math": [ "has_var(u_gateway_destination_3)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_3" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_03",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_03_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_03_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 3",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_3" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_3" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_04",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "3"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_04", "EOC_TELEPORT_GATEWAY_ATTUNE_04" ],
        "names": [ "Destination: <u_val:gateway_destination_name_4>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_4>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_04",
    "condition": { "math": [ "has_var(u_gateway_destination_4)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_4" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_04",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_04_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_04_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 4",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_4" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_4" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_05",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "4"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_05", "EOC_TELEPORT_GATEWAY_ATTUNE_05" ],
        "names": [ "Destination: <u_val:gateway_destination_name_5>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_5>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_05",
    "condition": { "math": [ "has_var(u_gateway_destination_5)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_5" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_05",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_05_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_05_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 5",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_5" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_5" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_06",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "5"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_06", "EOC_TELEPORT_GATEWAY_ATTUNE_06" ],
        "names": [ "Destination: <u_val:gateway_destination_name_6>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_6>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_06",
    "condition": { "math": [ "has_var(u_gateway_destination_6)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_6" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_06",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_06_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_06_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 6",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_6" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_6" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_07",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "6"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_07", "EOC_TELEPORT_GATEWAY_ATTUNE_07" ],
        "names": [ "Destination: <u_val:gateway_destination_name_7>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_7>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_07",
    "condition": { "math": [ "has_var(u_gateway_destination_7)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_7" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_07",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_07_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_07_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 7",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_7" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_7" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_08",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "7"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_08", "EOC_TELEPORT_GATEWAY_ATTUNE_08" ],
        "names": [ "Destination: <u_val:gateway_destination_name_8>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_8>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_08",
    "condition": { "math": [ "has_var(u_gateway_destination_8)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_8" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_08",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_08_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_08_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 8",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_8" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_8" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_09",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "8"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_09", "EOC_TELEPORT_GATEWAY_ATTUNE_09" ],
        "names": [ "Destination: <u_val:gateway_destination_name_9>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_9>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_09",
    "condition": { "math": [ "has_var(u_gateway_destination_9)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_9" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_09",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_09_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_09_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 9",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_9" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_9" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_SELECTOR_10",
    "condition": {
      "math": [
        "(u_spell_level('teleport_gateway') * (1 + (u_has_trait('GOODMEMORY') * 0.2) ) / (1 + (u_has_trait('FORGETFUL') * 0.33) ) ) / 3",
        ">=",
        "9"
      ]
    },
    "effect": [
      {
        "run_eoc_selector": [ "EOC_TELEPORT_GATEWAY_TELEPORT_10", "EOC_TELEPORT_GATEWAY_ATTUNE_10" ],
        "names": [ "Destination: <u_val:gateway_destination_name_10>", "Attune to Area" ],
        "keys": [ "1", "2" ],
        "descriptions": [ "Teleport to <u_val:gateway_destination_name_10>.", "Attune to a new destination." ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_TELEPORT_10",
    "condition": { "math": [ "has_var(u_gateway_destination_10)" ] },
    "effect": [
      {
        "if": { "math": [ "u_teleport_total_carried_volume >= 0" ] },
        "then": [ { "u_teleport": { "u_val": "gateway_destination_10" } }, { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE" } ],
        "else": [ { "run_eocs": "EOC_TELEPORTER_GATEWAY_MESSAGE_CARRYING_TOO_MUCH" } ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_10",
    "effect": [
      { "run_eocs": "EOC_TELEPORTER_ATTUNING_MESSAGE" },
      { "u_add_effect": "effect_teleporter_attuning_to_area", "duration": "8 hours" },
      { "u_assign_activity": "ACT_PSI_TELEPORTER_ATTUNING", "duration": "8 hours" },
      {
        "run_eocs": "EOC_TELEPORT_GATEWAY_ATTUNE_10_SUCCESS",
        "time_in_future": { "math": [ "28800 - clamp(( u_spell_level('teleport_gateway') * 1200), 0, 27000)" ] }
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_GATEWAY_ATTUNE_10_SUCCESS",
    "condition": { "u_has_effect": "effect_teleporter_attuning_to_area" },
    "effect": [
      {
        "set_string_var": "Destination 10",
        "string_input": {
          "title": { "i18n": true, "str": "Input a destination name:" },
          "description": { "i18n": true, "str": "Destination Name:" },
          "width": 35,
          "identifier": ""
        },
        "target_var": { "u_val": "gateway_destination_name_10" }
      },
      { "u_location_variable": { "u_val": "gateway_destination_10" }, "min_radius": 0, "max_radius": 0 },
      { "run_eocs": "EOC_TELEPORTER_ATTUNED_MESSAGE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECTOR",
    "effect": [
      {
        "run_eoc_selector": [
          "EOC_TELEPORT_dilated_gateway_SELECT_01",
          "EOC_TELEPORT_dilated_gateway_SELECT_02",
          "EOC_TELEPORT_dilated_gateway_SELECT_03",
          "EOC_TELEPORT_dilated_gateway_SELECT_04",
          "EOC_TELEPORT_dilated_gateway_SELECT_05",
          "EOC_TELEPORT_dilated_gateway_SELECT_06",
          "EOC_TELEPORT_dilated_gateway_SELECT_07",
          "EOC_TELEPORT_dilated_gateway_SELECT_08",
          "EOC_TELEPORT_dilated_gateway_SELECT_09",
          "EOC_TELEPORT_dilated_gateway_SELECT_10"
        ],
        "names": [
          "Dilated Gateway: <u_val:gateway_destination_name_1>",
          "Dilated Gateway: <u_val:gateway_destination_name_2>",
          "Dilated Gateway: <u_val:gateway_destination_name_3>",
          "Dilated Gateway: <u_val:gateway_destination_name_4>",
          "Dilated Gateway: <u_val:gateway_destination_name_5>",
          "Dilated Gateway: <u_val:gateway_destination_name_6>",
          "Dilated Gateway: <u_val:gateway_destination_name_7>",
          "Dilated Gateway: <u_val:gateway_destination_name_8>",
          "Dilated Gateway: <u_val:gateway_destination_name_9>",
          "Dilated Gateway: <u_val:gateway_destination_name_10>"
        ],
        "keys": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" ],
        "descriptions": [
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination.",
          "Teleport target to a destination."
        ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_DILATED_GATEWAY_ACTIVATE",
    "effect": [
      { "u_cast_spell": { "id": "teleport_dilated_gateway_teleport_others", "message": "" } },
      { "u_cast_spell": { "id": "teleport_dilated_gateway_teleport_self", "message": "" } }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_EXTERNAL_TELEPORT",
    "effect": [ { "u_teleport": { "npc_val": "dilated_gateway_location" }, "force_safe": true }, { "message": "<u_name> vanishes!" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_01",
    "condition": { "math": [ "has_var(u_gateway_destination_1)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_1" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_02",
    "condition": { "math": [ "has_var(u_gateway_destination_2)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_2" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_03",
    "condition": { "math": [ "has_var(u_gateway_destination_3)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_3" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_04",
    "condition": { "math": [ "has_var(u_gateway_destination_4)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_4" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_05",
    "condition": { "math": [ "has_var(u_gateway_destination_5)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_5" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_06",
    "condition": { "math": [ "has_var(u_gateway_destination_6)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_6" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_07",
    "condition": { "math": [ "has_var(u_gateway_destination_7)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_7" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_08",
    "condition": { "math": [ "has_var(u_gateway_destination_8)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_8" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_09",
    "condition": { "math": [ "has_var(u_gateway_destination_9)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_9" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_dilated_gateway_SELECT_10",
    "condition": { "math": [ "has_var(u_gateway_destination_10)" ] },
    "effect": [
      { "copy_var": { "npc_val": "gateway_destination_10" }, "target_var": { "u_val": "dilated_gateway_location" } },
      { "run_eocs": "EOC_DILATED_GATEWAY_ACTIVATE" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_PRE_CHECK",
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [ { "wielded_only": true, "condition": { "math": [ "n_volume() > 0" ] } } ],
        "true_eocs": [ "EOC_TELEPORT_RELOCATION_SELECTOR" ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_NO_HELD_ITEM_PRE",
            "effect": [ { "u_message": "Try as you might, you cannot teleport nothing." } ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECTOR",
    "effect": [
      {
        "run_eoc_selector": [
          "EOC_TELEPORT_RELOCATION_SELECT_01",
          "EOC_TELEPORT_RELOCATION_SELECT_02",
          "EOC_TELEPORT_RELOCATION_SELECT_03",
          "EOC_TELEPORT_RELOCATION_SELECT_04",
          "EOC_TELEPORT_RELOCATION_SELECT_05",
          "EOC_TELEPORT_RELOCATION_SELECT_06",
          "EOC_TELEPORT_RELOCATION_SELECT_07",
          "EOC_TELEPORT_RELOCATION_SELECT_08",
          "EOC_TELEPORT_RELOCATION_SELECT_09",
          "EOC_TELEPORT_RELOCATION_SELECT_10"
        ],
        "names": [
          "Item Portal: <u_val:gateway_destination_name_1>",
          "Item Portal: <u_val:gateway_destination_name_2>",
          "Item Portal: <u_val:gateway_destination_name_3>",
          "Item Portal: <u_val:gateway_destination_name_4>",
          "Item Portal: <u_val:gateway_destination_name_5>",
          "Item Portal: <u_val:gateway_destination_name_6>",
          "Item Portal: <u_val:gateway_destination_name_7>",
          "Item Portal: <u_val:gateway_destination_name_8>",
          "Item Portal: <u_val:gateway_destination_name_9>",
          "Item Portal: <u_val:gateway_destination_name_10>"
        ],
        "keys": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" ],
        "descriptions": [
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination.",
          "Teleport items to a destination."
        ],
        "hide_failing": true,
        "allow_cancel": true
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_01",
    "condition": { "math": [ "has_var(u_gateway_destination_1)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_01",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_1" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_01",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_02",
    "condition": { "math": [ "has_var(u_gateway_destination_2)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_02",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_2" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_02",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_03",
    "condition": { "math": [ "has_var(u_gateway_destination_3)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_03",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_3" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_03",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_04",
    "condition": { "math": [ "has_var(u_gateway_destination_4)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_04",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_4" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_04",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_05",
    "condition": { "math": [ "has_var(u_gateway_destination_5)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_05",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_5" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_05",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_06",
    "condition": { "math": [ "has_var(u_gateway_destination_6)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_06",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_6" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_06",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_07",
    "condition": { "math": [ "has_var(u_gateway_destination_7)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_07",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_7" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_07",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_08",
    "condition": { "math": [ "has_var(u_gateway_destination_8)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_08",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_8" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_08",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_09",
    "condition": { "math": [ "has_var(u_gateway_destination_9)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_09",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_9" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_09",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_RELOCATION_SELECT_10",
    "condition": { "math": [ "has_var(u_gateway_destination_10)" ] },
    "effect": [
      {
        "u_run_inv_eocs": "all",
        "search_data": [
          {
            "wielded_only": true,
            "condition": {
              "and": [
                {
                  "math": [
                    "n_volume() <= ((u_spell_level('teleport_relocation') * 10000) + 10000) * scaling_factor(u_val('intelligence')) * u_nether_attunement_power_scaling"
                  ]
                },
                { "math": [ "n_volume() > 0" ] }
              ]
            }
          }
        ],
        "true_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_10",
            "effect": [
              { "npc_teleport": { "u_val": "gateway_destination_10" } },
              { "u_message": "The items in your hands vanish with a faint pop sound." }
            ]
          }
        ],
        "false_eocs": [
          {
            "id": "EOC_TELEPORT_RELOCATION_TELEPORT_FAIL_10",
            "effect": [
              {
                "u_message": "The items in your hands flicker and appear to shrink before returning to normal.  Nothing else happens."
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_SUMMON",
    "effect": [
      { "u_spawn_monster": "GROUP_NETHER_BREACH", "group": true, "real_count": [ 1, 3 ], "min_radius": 2, "max_radius": 6 }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_REALITY_TEAR_CHECKER",
    "effect": [
      { "math": [ "_reality_tear_adjustment = 0" ] },
      {
        "if": { "test_eoc": "EOC_CONDITION_CAUGHT_IN_NETHER_WEATHER" },
        "then": { "math": [ "_reality_tear_adjustment += 20" ] }
      },
      {
        "if": { "test_eoc": "EOC_CONDITION_YOU_ARE_IN_NETHER_LOCATION" },
        "then": { "math": [ "_reality_tear_adjustment += 10" ] }
      },
      {
        "if": { "test_eoc": "EOC_CONDITION_NEAR_NETHER_RELATED_LOCATION" },
        "then": { "math": [ "_reality_tear_adjustment += 5" ] }
      },
      { "u_message": "Your adjusted chance is <context_val:reality_tear_adjustment>.", "type": "debug" },
      {
        "if": {
          "x_in_y_chance": { "x": { "math": [ "(u_vitamin('vitamin_psionic_drain') / 25) + _reality_tear_adjustment" ] }, "y": 100 }
        },
        "then": [
          {
            "u_cast_spell": { "id": "teleport_reality_tear_permanent", "min_level": { "math": [ "u_spell_level('teleport_reality_tear')" ] } },
            "targeted": true
          }
        ],
        "else": [
          {
            "u_cast_spell": { "id": "teleport_reality_tear_temporary", "min_level": { "math": [ "u_spell_level('teleport_reality_tear')" ] } },
            "targeted": true
          }
        ]
      }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_TELEPORT_LOCI_TECHNIQUE",
    "condition": { "u_has_effect": "effect_teleport_loci_establishment" },
    "effect": [
      {
        "u_teleport": { "u_val": "teleporter_loci_establishment_loc" },
        "success_message": "You feel a moment of darkness and terrible cold, but you are quickly back at your established locus.",
        "fail_message": "Something goes wrong with the Loci Technique!"
      }
    ],
    "false_effect": [ { "u_message": "You are currently not concentrating on [Ψ]Loci Establishment!" } ]
  }
]
