mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-24 16:41:48 +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>
11 lines
403 B
Plaintext
11 lines
403 B
Plaintext
/// Logging for mech actions
|
|
/proc/log_mecha(text)
|
|
if (CONFIG_GET(flag/log_mecha))
|
|
WRITE_LOG(GLOB.world_mecha_log, "MECHA: [text]")
|
|
|
|
/// Logging for equipment installed in a mecha
|
|
/obj/item/mecha_parts/mecha_equipment/log_message(message, message_type = LOG_MECHA, color = null, log_globally)
|
|
if(chassis)
|
|
return chassis.log_message("ATTACHMENT: [src] [message]", message_type, color)
|
|
return ..()
|