TGUI v4.0

This commit is contained in:
ShadowLarkens
2020-07-17 22:02:11 -07:00
parent 58d1e52311
commit 2992efb823
72 changed files with 2995 additions and 1275 deletions

View File

@@ -176,8 +176,18 @@
/proc/log_unit_test(text)
to_world_log("## UNIT_TEST: [text]")
/proc/log_tgui(text)
WRITE_LOG(diary, "\[[time_stamp()]]TGUI: [text]")
/proc/log_tgui(user_or_client, text)
var/entry = ""
if(!user_or_client)
entry += "no user"
else if(istype(user_or_client, /mob))
var/mob/user = user_or_client
entry += "[user.ckey] (as [user])"
else if(istype(user_or_client, /client))
var/client/client = user_or_client
entry += "[client.ckey]"
entry += ":\n[text]"
WRITE_LOG(diary, entry)
/proc/report_progress(var/progress_message)
admin_notice("<span class='boldannounce'>[progress_message]</span>", R_DEBUG)