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:
adacovsk
2022-06-03 21:49:12 -04:00
committed by GitHub
parent b8fcabf46b
commit b8c95c9f0c
17 changed files with 138 additions and 185 deletions

View File

@@ -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)