From 60a24ae34e33765b05c0df2d978188dcaae1c720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=BA?= Date: Fri, 5 Apr 2024 21:21:30 +0500 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20=D0=BA?= =?UTF-8?q?=D1=83=D0=BB=D1=8C=D1=82=D0=B8=D1=81=D1=82=D0=B0=D0=BC=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BF=D1=80=D0=B5=D1=82=20=D1=82=D0=B5=D0=BB=D0=B5=D0=BF?= =?UTF-8?q?=D0=BE=D1=80=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=D1=81=D1=8F=20=D0=B2=20=D0=93=D0=B5=D0=B9=D1=82=D0=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/modules/antagonists/cult/blood_magic.dm | 10 +++++----- code/modules/antagonists/cult/runes.dm | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/code/modules/antagonists/cult/blood_magic.dm b/code/modules/antagonists/cult/blood_magic.dm index dbcacd33df27..3eb8bf579d7b 100644 --- a/code/modules/antagonists/cult/blood_magic.dm +++ b/code/modules/antagonists/cult/blood_magic.dm @@ -498,11 +498,11 @@ log_game("Teleport talisman failed - no other teleport runes") return - // var/turf/T = get_turf(src) - // if(is_away_level(T.z)) - // to_chat(user, "You are not in the right dimension!") - // log_game("Teleport spell failed - user in away mission") - // return + var/turf/T = get_turf(src) + if(is_away_level(T.z)) + to_chat(user, "Вы находитесь не в том измерении!") + log_game("Руна телепортации не сработала - пользователь находится за Вратами.") + return var/input_rune_key = input(user, "Choose a rune to teleport to.", "Rune to Teleport to") as null|anything in potential_runes //we know what key they picked var/obj/effect/rune/teleport/actual_selected_rune = potential_runes[input_rune_key] //what rune does that key correspond to? diff --git a/code/modules/antagonists/cult/runes.dm b/code/modules/antagonists/cult/runes.dm index 2fdcf0764b07..1d760310da18 100644 --- a/code/modules/antagonists/cult/runes.dm +++ b/code/modules/antagonists/cult/runes.dm @@ -379,11 +379,11 @@ structure_check() searches for nearby cultist structures required for the invoca return var/turf/T = get_turf(src) - // if(is_away_level(T.z)) - // to_chat(user, "You are not in the right dimension!") - // log_game("Teleport rune failed - user in away mission") - // fail_invoke() - // return + if(is_away_level(T.z)) + to_chat(user, "Вы находитесь не в том измерении!") + log_game("Руна телепортации не сработала - пользователь находится за Вратами.") + fail_invoke() + return var/input_rune_key = input(user, "Choose a rune to teleport to.", "Rune to Teleport to") as null|anything in potential_runes //we know what key they picked var/obj/effect/rune/teleport/actual_selected_rune = potential_runes[input_rune_key] //what rune does that key correspond to?