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>
This commit is contained in:
Burzah
2023-07-24 15:00:13 +01:00
committed by GitHub
co-authored by Contrabang
parent 67f8814c5a
commit d39d96948e
+7
View File
@@ -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, "<span class='userdanger'>You try to touch [src] with one of your modules. Error!</span>")
radiation_pulse(user, 500, 2)
playsound(src, 'sound/effects/supermatter.ogg', 50, TRUE)
user.dust()
qdel(src)
return
to_chat(user, "<span class='danger'>As it touches [src], both [src] and [I] burst into dust!</span>")
radiation_pulse(user, 100)
playsound(src, 'sound/effects/supermatter.ogg', 50, TRUE)