Attack logging (finally)

there might be some things I missed, and feel free to change the messages if you want
This commit is contained in:
Miniature
2012-03-08 15:16:54 +10:30
parent 25fc27849b
commit cf53a0cc7a
23 changed files with 70 additions and 1 deletions
+4 -1
View File
@@ -50,6 +50,7 @@
if(!M.handcuffed)
M.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been handcuffed (attempt) by [user.name] ([user.ckey])</font>")
user.attack_log += text("\[[time_stamp()]\] <font color='red'>Attempted to handcuff [M.name] ([M.ckey])</font>")
log_admin("ATTACK: [user] ([user.ckey]) handcuffed [M] ([M.ckey]).")
var/obj/effect/equip_e/human/O = new /obj/effect/equip_e/human( )
O.source = user
O.target = M
@@ -172,6 +173,8 @@
// M << "\red You feel a tiny prick!" //Removed to make tritor pens stealthier
M.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been stabbed with [src.name] by [user.name] ([user.ckey])</font>")
user.attack_log += text("\[[time_stamp()]\] <font color='red'>Used the [src.name] to stab [M.name] ([M.ckey])</font>")
log_admin("ATTACK: [user] ([user.ckey]) used [src] on [M] ([M.ckey]).")
message_admins("ATTACK: [user] ([user.ckey]) used [src] on [M] ([M.ckey]).")
return
/obj/item/weapon/pen/sleepypen
@@ -500,4 +503,4 @@
if(exposed_temperature >= 373.15)
for(var/mob/M in viewers(5, src))
M << "\red \the [src] burns up."
del(src)
del(src)