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

🆑 LT3
fix: Health analyzers now let you know blessed lobotomy exists
/🆑
This commit is contained in:
LT3
2024-11-26 04:21:48 +00:00
committed by GitHub
parent 62a9c041d6
commit 5b236ea3dc
+5 -1
View File
@@ -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))