mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Refactor tinfoil hat snowflake code (#32664)
* replace * fixed * Update powers.dm * M_PSY_RESIST refactors * argh * Update powers.dm * Update teleport.dm * Update teleport.dm * turn into proc remove digital camo turn everything into can_mind_interact * seems to work * Update misc_special.dm * Update misc_special.dm * Update mob.dm * Update mob.dm * Update mob.dm * Update teleport.dm * Update teleport.dm * Update teleport.dm * Update teleport.dm * PSY to interference * Update goon_powers.dm * changing the name again * telepathy blocked again
This commit is contained in:
@@ -1357,8 +1357,11 @@ var/list/has_died_as_golem = list()
|
||||
|
||||
var/all_switch = TRUE
|
||||
for(var/mob/living/T in telepathic_target)
|
||||
if(istype(T) && M.can_mind_interact(T))
|
||||
to_chat(T,"<span class='mushroom'>You feel <b>[M]</b>'s thoughts: </span><span class='mushroom'>[message]</span>")
|
||||
if(istype(T) && can_mind_interact(T.mind))
|
||||
to_chat(T,"<span class='mushroom'>You feel <b>[M]</b>'s thoughts: [message]</span>")
|
||||
else
|
||||
to_chat(M,"<span class='notice'>[T] cannot sense your telepathy.</span>")
|
||||
continue
|
||||
if(all_switch)
|
||||
all_switch = FALSE
|
||||
if(T != M)
|
||||
|
||||
Reference in New Issue
Block a user