From d39d96948ee9c32402cd80334d4777e108d41186 Mon Sep 17 00:00:00 2001
From: Burzah <116982774+Burzah@users.noreply.github.com>
Date: Mon, 24 Jul 2023 07:00:13 -0700
Subject: [PATCH] Cyborgs and Drones dust when interacting with Supermatter
Slivers (#21750)
* sillycon dusting
* Apply suggestions from code review
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
---------
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
---
code/game/objects/items/theft_items.dm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/code/game/objects/items/theft_items.dm b/code/game/objects/items/theft_items.dm
index c83a91b061e..952a192d610 100644
--- a/code/game/objects/items/theft_items.dm
+++ b/code/game/objects/items/theft_items.dm
@@ -187,6 +187,13 @@
else if(istype(I, /obj/item/scalpel/supermatter) || istype(I, /obj/item/nuke_core_container/supermatter)) // we don't want it to dust
return
else
+ if(issilicon(user))
+ to_chat(user, "You try to touch [src] with one of your modules. Error!")
+ radiation_pulse(user, 500, 2)
+ playsound(src, 'sound/effects/supermatter.ogg', 50, TRUE)
+ user.dust()
+ qdel(src)
+ return
to_chat(user, "As it touches [src], both [src] and [I] burst into dust!")
radiation_pulse(user, 100)
playsound(src, 'sound/effects/supermatter.ogg', 50, TRUE)