From 5b236ea3dc94e1a364cb70e34a950b9719e36a60 Mon Sep 17 00:00:00 2001 From: LT3 <83487515+lessthnthree@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:21:48 -0800 Subject: [PATCH] Update health analyzer to show blessed lobotomy (#2537) ## About The Pull Request Adds blessed lobotomy to the health analyzer output to treat soul-bound traumas. ## Why It's Good For The Game They quit showing as permanent ## Changelog :cl: LT3 fix: Health analyzers now let you know blessed lobotomy exists /:cl: --- code/modules/mob/living/brain/brain_item.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/brain/brain_item.dm b/code/modules/mob/living/brain/brain_item.dm index ced02095e41..f814a6df15c 100644 --- a/code/modules/mob/living/brain/brain_item.dm +++ b/code/modules/mob/living/brain/brain_item.dm @@ -271,8 +271,12 @@ trauma_desc = conditional_tooltip("Deep-rooted ", "Repair via Lobotomy.", add_tooltips) if(TRAUMA_RESILIENCE_WOUND) trauma_desc = conditional_tooltip("Fracture-derived ", "Repair via treatment of wounds afflicting the head.", add_tooltips) - if(TRAUMA_RESILIENCE_MAGIC, TRAUMA_RESILIENCE_ABSOLUTE) + // BUBBER EDIT CHANGE BEGIN - Blessed Lobotomy + if(TRAUMA_RESILIENCE_MAGIC) + trauma_desc = conditional_tooltip("Soul-bound ", "Repair via Blessed Lobotomy.", add_tooltips) + if(TRAUMA_RESILIENCE_ABSOLUTE) trauma_desc = conditional_tooltip("Permanent ", "Irreparable under normal circumstances.", add_tooltips) + // BUBBER EDIT CHANGE FINISH trauma_desc += capitalize(trauma.scan_desc) LAZYADD(trauma_text, trauma_desc) if(LAZYLEN(trauma_text))