mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user