From d51d288ea7b2dd08ef0532a7912fb15c4fc5e29f Mon Sep 17 00:00:00 2001 From: Luc <89928798+lewcc@users.noreply.github.com> Date: Sun, 26 Mar 2023 07:07:34 -0400 Subject: [PATCH] Medical Wrench suicide now glows brightly (#20607) * LET THERE BE LIGHT * little flash for those around you as well * Add vi3trice's changes --- code/game/objects/items/tools/wrench.dm | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/tools/wrench.dm b/code/game/objects/items/tools/wrench.dm index c3013e70039..09e88de8add 100644 --- a/code/game/objects/items/tools/wrench.dm +++ b/code/game/objects/items/tools/wrench.dm @@ -82,8 +82,19 @@ /obj/item/wrench/medical/suicide_act(mob/living/user) user.visible_message("[user] is praying to the medical wrench to take [user.p_their()] soul. It looks like [user.p_theyre()] trying to commit suicide!") - // TODO Make them glow with the power of the M E D I C A L W R E N C H - // during their ascension + // HAVE THEM GLOW WITH THE BRIGHTNESS OF A THOUSAND SUNS + user.set_light(10, 25, rgb(255, 252, 82)) + + var/previous_color = user.color + + user.color = rgb(255, 252, 82) + + // thank you vi3 + user.add_filter("sacrifice_glow", 2, list("type" = "outline", "color" = "#55dcfdd2", "size" = 2)) + var/filter = user.get_filter("sacrifice_glow") + // Pulse in and out + animate(filter, alpha = 110, time = 3, loop = -1) + animate(alpha = 40, time = 6) // Stun stops them from wandering off user.Stun(10 SECONDS) @@ -98,6 +109,10 @@ for(var/obj/item/W in user) user.unEquip(W) + for(var/mob/living/M in orange(2, src)) + // you're close enough, it's pretty fuckin bright + M.flash_eyes(1, TRUE, TRUE) + var/obj/item/wrench/medical/W = new /obj/item/wrench/medical(loc) W.add_fingerprint(user) W.desc += " For some reason, it reminds you of [user.name]." @@ -105,5 +120,8 @@ if(!user) return + user.color = previous_color // for the sake of their ghost + user.dust() + user.visible_message("[user]'s soul coalesces into a new [W.name]!") return OBLITERATION