From 78c7a8e5f4dfc11c8809d52e8aebe2f6d9f7d743 Mon Sep 17 00:00:00 2001 From: Geeves Date: Sat, 7 Nov 2020 18:36:15 +0200 Subject: [PATCH] Punctual Skrell (#10478) --- code/modules/psionics/faculties/coercion.dm | 9 +++++---- html/changelogs/geeves-punctual_skrell.yml | 6 ++++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/geeves-punctual_skrell.yml diff --git a/code/modules/psionics/faculties/coercion.dm b/code/modules/psionics/faculties/coercion.dm index 2abd5f96bc1..e16215a2df8 100644 --- a/code/modules/psionics/faculties/coercion.dm +++ b/code/modules/psionics/faculties/coercion.dm @@ -240,11 +240,15 @@ . = ..() if(.) user.visible_message(SPAN_NOTICE("[user] blinks, their eyes briefly developing an unnatural shine.")) + if(target.stat == DEAD) + to_chat(user, SPAN_CULT("Not even a psion of your level can speak to the dead.")) + return + var/text = input("What would you like to say?", "Speak to creature", null, null) text = sanitize(text) - if(!text) return + text = formalize_text(text) if(target.stat == DEAD) to_chat(user, SPAN_CULT("Not even a psion of your level can speak to the dead.")) @@ -272,9 +276,6 @@ to_chat(H, SPAN_CULT("You sense [user]'s psyche link with your psi-receiver, a thought sliding into your mind: [text]")) else to_chat(H, SPAN_ALIEN("A thought from outside your consciousness slips into your mind: [text]")) - if(istype(H)) - if(H.can_commune() || H.stat >= UNCONSCIOUS) - return /datum/psionic_power/coercion/psiping name = "Psi Ping" diff --git a/html/changelogs/geeves-punctual_skrell.yml b/html/changelogs/geeves-punctual_skrell.yml new file mode 100644 index 00000000000..df4e9e631b1 --- /dev/null +++ b/html/changelogs/geeves-punctual_skrell.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - bugfix: "Sending psionic messages now properly puts a full stop at end." \ No newline at end of file