From c826924eadca2b78a8bac33d0e3a5f9da8b8524f Mon Sep 17 00:00:00 2001 From: azulez Date: Thu, 24 Apr 2025 11:00:06 -0400 Subject: [PATCH] Added a few non-lethal SHAME suicide paths for the disabler. (#29038) * Added a few non-lethal SHAME suicide paths for the disabler. * Spelling fix, spacing fix per suggestion. * Update code/modules/projectiles/guns/energy/stun.dm Not sure how this snuck back in. Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> --- code/modules/projectiles/guns/energy/stun.dm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/code/modules/projectiles/guns/energy/stun.dm b/code/modules/projectiles/guns/energy/stun.dm index 763a3a788a8..4c581ade808 100644 --- a/code/modules/projectiles/guns/energy/stun.dm +++ b/code/modules/projectiles/guns/energy/stun.dm @@ -106,6 +106,21 @@ return ..() +/obj/item/gun/energy/disabler/suicide_act(mob/user) + user.visible_message("[user] is putting the barrel of [src] in [user.p_their()] mouth. It looks like [user.p_theyre()] trying to shirk [user.p_their()] responsibilities!") + sleep(25) + if(user.is_holding(src)) + if(can_shoot()) + playsound(loc, fire_sound, 50, TRUE, -1) + var/obj/item/ammo_casing/energy/shot = ammo_type[select] + cell.use(shot.e_cost) + update_icon() + else + playsound(loc, 'sound/weapons/empty.ogg', 50, TRUE, -1) + else + user.visible_message("[user] fumbles [src]! [user.p_they(TRUE)] can't even get this right!") + return SHAME + ////////////////////////////// // MARK: DISABLER SMG //////////////////////////////