mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-16 20:52:33 +00:00
* Split and Document Logging Procs * Update _logging.dm * Update atoms.dm * Update mob_helpers.dm * Update mob.dm Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
17 lines
544 B
Plaintext
17 lines
544 B
Plaintext
/// Logging for PDA messages sent
|
|
/proc/log_pda(text)
|
|
if (CONFIG_GET(flag/log_pda))
|
|
WRITE_LOG(GLOB.world_pda_log, "PDA: [text]")
|
|
|
|
/// Logging for newscaster comments
|
|
/proc/log_comment(text)
|
|
//reusing the PDA option because I really don't think news comments are worth a config option
|
|
if (CONFIG_GET(flag/log_pda))
|
|
WRITE_LOG(GLOB.world_pda_log, "COMMENT: [text]")
|
|
|
|
/// Logging for chatting on modular computer channels
|
|
/proc/log_chat(text)
|
|
//same thing here
|
|
if (CONFIG_GET(flag/log_pda))
|
|
WRITE_LOG(GLOB.world_pda_log, "CHAT: [text]")
|