From df90fcfc0b1e296e588deaa742208af8570426b7 Mon Sep 17 00:00:00 2001 From: Lzimann Date: Sat, 4 Mar 2017 19:39:01 -0300 Subject: [PATCH] Properly re-adds the renamed file --- .../modules/admin/verbs/individual_logging.dm | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 code/modules/admin/verbs/individual_logging.dm diff --git a/code/modules/admin/verbs/individual_logging.dm b/code/modules/admin/verbs/individual_logging.dm new file mode 100644 index 00000000000..8130f84ff07 --- /dev/null +++ b/code/modules/admin/verbs/individual_logging.dm @@ -0,0 +1,27 @@ +/proc/show_individual_logging_panel(mob/M, type = INDIVIDUAL_ATTACK_LOG) + if(!M || !ismob(M)) + return + var/dat = "
Attack log | " + dat += "Say log | " + dat += "Emote log | " + dat += "OOC log | " + dat += "Show all | " + dat += "Refresh
" + + dat += "
" + + + + if(type == INDIVIDUAL_SHOW_ALL_LOG) + dat += "
Displaying all logs of [key_name(M)]


" + for(var/log_type in M.logging) + dat += "
[log_type]

" + for(var/entry in M.logging[log_type]) + dat += "[entry]: [M.logging[log_type][entry]]
" + dat += "
" + else + dat += "
[type] of [key_name(M)]

" + for(var/entry in M.logging[type]) + dat += "[entry]: [M.logging[type][entry]]
" + + usr << browse(dat, "window=invidual_logging;size=600x480") \ No newline at end of file