From c88ebe99f9e4d20ac7bb0f38547f82ebb9139c68 Mon Sep 17 00:00:00 2001
From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
Date: Sun, 3 Nov 2024 08:17:08 -0500
Subject: [PATCH] c-4 no longer blows up your backpack, boxes, or modsuits
(#27223)
---
code/game/objects/items/weapons/explosives.dm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/code/game/objects/items/weapons/explosives.dm b/code/game/objects/items/weapons/explosives.dm
index 6776d7fdede..9ad6b1cc5a3 100644
--- a/code/game/objects/items/weapons/explosives.dm
+++ b/code/game/objects/items/weapons/explosives.dm
@@ -74,6 +74,8 @@
if(ismob(AM) && AM.stat == CONSCIOUS)
to_chat(user, "You can't get the [src] to stick to [AM]! Perhaps if [AM] was asleep or dead you could attach it?")
return
+ if(isstorage(AM) || ismodcontrol(AM))
+ return ..() //Let us not have people c4 themselfs. Especially with a now 1.5 second do_after
if(isobserver(AM))
to_chat(user, "Your hand just phases through [AM]!")
return