Commented out hypnoquirk and edited it so that it functions differently

This commit is contained in:
Fermi
2019-06-23 18:59:15 +01:00
parent 7c19f5e0fa
commit 8992dbfa4d
4 changed files with 45 additions and 25 deletions
+2 -9
View File
@@ -380,12 +380,5 @@
//DOES NOT give any indication when someone is triggered - this is intentional so people don't abuse it, you're supposed to get a random thing said to you as a mini objective.
/datum/quirk/hypno/proc/triggered(quirk_holder)//I figured I might as well make a trait of code I added.
var/mob/living/carbon/human/H = quirk_holder
var/list/seen = viewers(8, get_turf(H))
seen -= quirk_holder
if(LAZYLEN(seen) == 0)
to_chat(H, "<span class='notice'><i>That object accidentally sets off your implanted trigger, sending you into a hypnotic daze!</i></span>")
else
to_chat(H, "<span class='notice'><i>[pick(seen)] accidentally sets off your implanted trigger, sending you into a hypnotic daze!</i></span>")
H.apply_status_effect(/datum/status_effect/trance, 200, TRUE, FALSE)
qdel(src)
var/mob/living/carbon/human/H = quirk_holder
H.apply_status_effect(/datum/status_effect/trance, 1000, TRUE, TRUE)