From a810c9a9f8543fd112cc7cda98d6d0baad8e916a Mon Sep 17 00:00:00 2001
From: Casper3667 <8396443+Casper3667@users.noreply.github.com>
Date: Thu, 23 Dec 2021 17:33:45 +0100
Subject: [PATCH] targets of mind reading now gets informed how long they got
to respond (#12853)
---
code/modules/psionics/faculties/coercion.dm | 3 ++-
html/changelogs/MindReadFix.yml | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 html/changelogs/MindReadFix.yml
diff --git a/code/modules/psionics/faculties/coercion.dm b/code/modules/psionics/faculties/coercion.dm
index e93f104b757..eb1cc97c84d 100644
--- a/code/modules/psionics/faculties/coercion.dm
+++ b/code/modules/psionics/faculties/coercion.dm
@@ -75,9 +75,10 @@
else
to_chat(user, SPAN_NOTICE("You dip your mentality into the surface layer of \the [target]'s mind, seeking an answer: [question]"))
to_chat(target, SPAN_NOTICE("Your mind is compelled to answer: [question]"))
- var/answer = sanitize(input(target, question, "Read Mind") as null|text)
+ var/answer = sanitize(input(target, "[question]\nYou have 25 seconds to type a response", "Read Mind") as null|text)
if(!answer || world.time > started_mindread + 25 SECONDS || user.stat != CONSCIOUS)
to_chat(user, SPAN_NOTICE("You receive nothing useful from \the [target]."))
+ to_chat(target, SPAN_NOTICE("Your mind blanks out momentarily."))
else
to_chat(user, SPAN_NOTICE("You skim thoughts from the surface of \the [target]'s mind: [answer]"))
msg_admin_attack("[key_name(user)] read mind of [key_name(target)] with question \"[question]\" and [answer?"got answer \"[answer]\".":"got no answer."]")
diff --git a/html/changelogs/MindReadFix.yml b/html/changelogs/MindReadFix.yml
new file mode 100644
index 00000000000..643c1d95397
--- /dev/null
+++ b/html/changelogs/MindReadFix.yml
@@ -0,0 +1,6 @@
+author: TheGreyWolf
+
+delete-after: True
+
+changes:
+ - tweak: "When using the psi mindread ability, the target now gets informed they only have 25 seconds to respond."