mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
## About The Pull Request You can swap beakers in a pandemic and the overall virus severity is now displayed as a stat. ## Why It's Good For The Game more convenient ## Changelog 🆑 qol: you can swap beakers in a pandemic qol: pandemics now display overall virus severity admin: virus logs now include severity along with other stats /🆑 --------- Co-authored-by: Fghj240 <fakeemail@notrealemail.com>
15 lines
654 B
Plaintext
15 lines
654 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()] se:[totalSeverity()]"
|