mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Adds a couple mood events (#49918)
* bang! * Dr. Joseph-Ignace *********
This commit is contained in:
@@ -44,3 +44,9 @@
|
||||
to_chat(buckled_mob, "<span class='userdanger'>You feel a deep shock course through your body!</span>")
|
||||
addtimer(CALLBACK(buckled_mob, /mob/living.proc/electrocute_act, 85, src, 1), 1)
|
||||
visible_message("<span class='danger'>The electric chair went off!</span>", "<span class='hear'>You hear a deep sharp shock!</span>")
|
||||
|
||||
/obj/structure/chair/e_chair/post_buckle_mob(mob/living/L)
|
||||
SEND_SIGNAL(L, COMSIG_ADD_MOOD_EVENT, "dying", /datum/mood_event/deaths_door)
|
||||
|
||||
/obj/structure/chair/e_chair/post_unbuckle_mob(mob/living/L)
|
||||
SEND_SIGNAL(L, COMSIG_CLEAR_MOOD_EVENT, "dying")
|
||||
|
||||
@@ -208,6 +208,7 @@
|
||||
if (!istype(M, /mob/living/carbon/human))
|
||||
return
|
||||
|
||||
SEND_SIGNAL(M, COMSIG_ADD_MOOD_EVENT, "dying", /datum/mood_event/deaths_door)
|
||||
var/mob/living/carbon/human/H = M
|
||||
|
||||
if (H.dna)
|
||||
@@ -232,6 +233,7 @@
|
||||
M.regenerate_icons()
|
||||
M.pixel_y -= -GUILLOTINE_HEAD_OFFSET // Move their body back
|
||||
M.layer -= GUILLOTINE_LAYER_DIFF
|
||||
SEND_SIGNAL(M, COMSIG_CLEAR_MOOD_EVENT, "dying")
|
||||
..()
|
||||
|
||||
/obj/structure/guillotine/can_be_unfasten_wrench(mob/user, silent)
|
||||
|
||||
Reference in New Issue
Block a user