Adds logging for that bad thing with plasma.

This commit is contained in:
Ren Erthilo
2012-04-29 01:56:03 +01:00
parent 08d73da9bc
commit 3a5370d2b9
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -109,6 +109,10 @@
if(S.reagents.has_reagent("plasma", 5))
log_attack("<font color='red'>[user.name] ([user.ckey]) injected a power cell with plasma.</font>")
log_admin("ATTACK: [user] ([user.ckey]) injected a power cell with plasma.")
message_admins("ATTACK: [user] ([user.ckey]) injected a power cell with plasma.")
rigged = 1
S.reagents.clear_reagents()
+5 -1
View File
@@ -44,7 +44,7 @@
brightness = 3
desc = "A small lighting fixture."
light_type = /obj/item/weapon/light/bulb
/obj/machinery/light/small/spot
brightness = 5
@@ -532,6 +532,10 @@
if(S.reagents.has_reagent("plasma", 5))
log_attack("<font color='red'>[user.name] ([user.ckey]) injected a light with plasma.</font>")
log_admin("ATTACK: [user] ([user.ckey]) injected a light with plasma.")
message_admins("ATTACK: [user] ([user.ckey]) injected a light with plasma.")
rigged = 1
S.reagents.clear_reagents()