mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
[MIRROR] sending a message with telepathy (or an abductor gadget or prayer response) now gives your target a balloon alert [MDB IGNORE] (#19118)
* sending a message with telepathy (or an abductor gadget or prayer response) now gives your target a balloon alert (#73087) ## About The Pull Request revenant telepathy, genetic telepathy, eldritch telepathy, and split personality communing now give the person you're sending a message to a balloon alert to get them to check their chat window EDIT: also added prayer responses, abductor messaging, and abductor mind control to this list EDIT: also added additional feedback for antimagic blocking telepathy and tinfoil blocking abductor mind control EDIT: also changed the telepathy reception message to more closely resemble the prayer response one (they're still not identical, though)    I tested the prayer stuff too, you'll just have to trust me on that one. ## Why It's Good For The Game fixes https://github.com/tgstation/tgstation/issues/73031 ## Changelog 🆑 ATHATH qol: Revenant telepathy, genetic telepathy, eldritch telepathy, split personality communing, prayer responses, abductor-to-abductee messaging, and abductor mind control now give the person you're sending a message to a balloon alert to get them to check their chat window. qol: Failing to send a telepathic message and failing to use abductor mind control on someone now gives better feedback. tweak: The telepath-ee notification message has been slightly altered. /🆑 * sending a message with telepathy (or an abductor gadget or prayer response) now gives your target a balloon alert --------- Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
This commit is contained in:
@@ -36,16 +36,25 @@
|
||||
|
||||
var/formatted_message = "<span class='[telepathy_span]'>[message]</span>"
|
||||
|
||||
var/failure_message_for_ghosts = ""
|
||||
|
||||
to_chat(owner, "<span class='[bold_telepathy_span]'>You transmit to [cast_on]:</span> [formatted_message]")
|
||||
if(!cast_on.can_block_magic(antimagic_flags, charge_cost = 0)) //hear no evil
|
||||
to_chat(cast_on, "<span class='[bold_telepathy_span]'>You hear something behind you talking...</span> [formatted_message]")
|
||||
cast_on.balloon_alert(cast_on, "you hear a voice")
|
||||
to_chat(cast_on, "<span class='[bold_telepathy_span]'>You hear a voice in your head...</span> [formatted_message]")
|
||||
else
|
||||
owner.balloon_alert(owner, "transmission blocked!")
|
||||
to_chat(owner, "<span class='warning'>Something has blocked your transmission!</span>")
|
||||
failure_message_for_ghosts = "<span class='[bold_telepathy_span]'> (blocked by antimagic)</span>"
|
||||
|
||||
for(var/mob/dead/ghost as anything in GLOB.dead_mob_list)
|
||||
if(!isobserver(ghost))
|
||||
continue
|
||||
|
||||
var/from_link = FOLLOW_LINK(ghost, owner)
|
||||
var/from_mob_name = "<span class='[bold_telepathy_span]'>[owner] [src]:</span>"
|
||||
var/from_mob_name = "<span class='[bold_telepathy_span]'>[owner] [src]</span>"
|
||||
from_mob_name += failure_message_for_ghosts
|
||||
from_mob_name += "<span class='[bold_telepathy_span]'>:</span>"
|
||||
var/to_link = FOLLOW_LINK(ghost, cast_on)
|
||||
var/to_mob_name = span_name("[cast_on]")
|
||||
|
||||
|
||||
@@ -43,8 +43,12 @@
|
||||
|
||||
var/user_message = span_boldnotice("You concentrate and send thoughts to your other self:")
|
||||
var/user_message_body = span_notice("[to_send]")
|
||||
|
||||
to_chat(cast_on, "[user_message] [user_message_body]")
|
||||
|
||||
trauma.owner.balloon_alert(trauma.owner, "you hear a voice")
|
||||
to_chat(trauma.owner, "[fluff_text] [user_message_body]")
|
||||
|
||||
log_directed_talk(cast_on, trauma.owner, to_send, LOG_SAY, "[name]")
|
||||
for(var/dead_mob in GLOB.dead_mob_list)
|
||||
if(!isobserver(dead_mob))
|
||||
|
||||
Reference in New Issue
Block a user