Files
Bubberstation/code/__HELPERS/logging/mecha.dm
san7890 7c9f127340 Records Blackbox Feedback on Items used to Suicide (#80258)
## About The Pull Request

On the tin, we just record the `type` of the item that the human may be
holding while they try and commit suicide with it. Useful for knowing
what people are:

A) killing themselves with
B) trying to kill themselves with

i just think it's neat data

## Changelog

doesn't matter
2023-12-12 20:18:31 -08:00

10 lines
385 B
Plaintext

/// Logging for mech actions
/proc/log_mecha(text, list/data)
logger.Log(LOG_CATEGORY_MECHA, text, data)
/// Logging for equipment installed in a mecha
/obj/item/mecha_parts/mecha_equipment/log_message(message, message_type = LOG_MECHA, color = null, log_globally, list/data)
if(chassis)
return chassis.log_message("ATTACHMENT: [src] [message]", message_type, color)
return ..()