adds the supermatter dusting interaction

This commit is contained in:
hal9000PR
2021-03-28 14:58:35 +01:00
parent b1cbe92f44
commit 14148e9d8f
@@ -752,6 +752,12 @@
suspicion = "last touched by [AM.fingerprintslast]"
message_admins("[src] has consumed [AM], [suspicion] [ADMIN_JMP(src)].")
investigate_log("has consumed [AM] - [suspicion].", "supermatter")
if(istype(AM, /obj/machinery/power/supermatter_crystal))
power += 5000//releases A LOT of power
matter_power += 500000
damage += 180//drops the integrety by 20%
AM.visible_message("<span class='danger'>[AM] smacks into [src], rapidly flashes into pure energy. The energy inside [src] begins superradiance scattering!</span>", null,\
"<span class='italics'>You hear a loud crack as you are washed with a wave of heat.</span>")
qdel(AM)
if(!iseffect(AM) && power_changes)
matter_power += 200