mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 03:02:38 +00:00
* JSON Logging Take Two * Fixes the conflicts and makes our logs all comply with the new logging framework, hopefully. --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
15 lines
633 B
Plaintext
15 lines
633 B
Plaintext
/// Logging for the creation and contraction of viruses
|
|
/proc/log_virus(text, list/data)
|
|
logger.Log(LOG_CATEGORY_VIRUS, text, data)
|
|
|
|
/// Returns a string for admin logging uses, should describe the disease in detail
|
|
/datum/disease/proc/admin_details()
|
|
return "[src.name] : [src.type]"
|
|
|
|
/// Describes this disease to an admin in detail (for logging)
|
|
/datum/disease/advance/admin_details()
|
|
var/list/name_symptoms = list()
|
|
for(var/datum/symptom/S in symptoms)
|
|
name_symptoms += S.name
|
|
return "[name] - sym: [english_list(name_symptoms)] re:[totalResistance()] st:[totalStealth()] ss:[totalStageSpeed()] tr:[totalTransmittable()]"
|