The health analyzer can now tell the difference between curable and incurable traumas (#93433)

## About The Pull Request

TRAUMA_RESILIENCE_MAGIC traumas are now called "Persistent" traumas, and
the health analyzer tells you they can be treated with magic.
TRAUMA_RESILIENCE_ABSOLUTE traumas are unaffected.

## Why It's Good For The Game

Makes it easier to understand why some permanent traumas can be cured
while others can't. Also it's kind of weird that a curable trauma is
called "permanent", but also these are two different resiliences and
they shouldn't share a name anyways.

## Changelog

🆑
qol: Health analyzers now tell the difference between curable and
incurable permanent traumas
/🆑

Co-authored-by: Fghj240 <fakeemail@notrealemail.com>
This commit is contained in:
Fghj240
2025-10-14 22:35:41 +02:00
committed by GitHub
co-authored by Fghj240
parent 0e06e2f48f
commit cb7b00c3a7
+3 -1
View File
@@ -272,7 +272,9 @@
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)
if(TRAUMA_RESILIENCE_MAGIC)
trauma_desc = conditional_tooltip("Persistent ", "Only repairable via magic.", add_tooltips)
if(TRAUMA_RESILIENCE_ABSOLUTE)
trauma_desc = conditional_tooltip("Permanent ", "Irreparable under normal circumstances.", add_tooltips)
trauma_desc += capitalize(trauma.scan_desc)
LAZYADD(trauma_text, trauma_desc)