mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Re-adds death degradation health anaylzer info (#2960)
## About The Pull Request Title. closes #2483 ## Why It's Good For The Game bugs bad ## Proof Of Testing <details> <summary>Screenshots/Videos</summary>  </details> ## Changelog 🆑 fix: Death degradation now has info for health analyzers /🆑
This commit is contained in:
committed by
The Sharkening
parent
82c081451a
commit
4e27e65905
@@ -189,7 +189,6 @@
|
||||
if (!target.get_organ_slot(ORGAN_SLOT_BRAIN)) // kept exclusively for soul purposes
|
||||
render_list += "<span class='alert ml-1'>Subject lacks a brain.</span><br>"
|
||||
|
||||
var/death_consequences_status_text // SKYRAT EDIT ADDITION: Death consequences quirk
|
||||
if(iscarbon(target))
|
||||
var/mob/living/carbon/carbontarget = target
|
||||
if(LAZYLEN(carbontarget.quirks))
|
||||
@@ -408,8 +407,9 @@
|
||||
// SKYRAT EDIT ADDITION - Mutant stuff and DEATH CONSEQUENCES
|
||||
if(target.GetComponent(/datum/component/mutant_infection))
|
||||
render_list += span_userdanger("UNKNOWN PROTO-VIRAL INFECTION DETECTED. ISOLATE IMMEDIATELY.")
|
||||
if(death_consequences_status_text)
|
||||
render_list += death_consequences_status_text
|
||||
var/datum/brain_trauma/severe/death_consequences/consequences = locate(/datum/brain_trauma/severe/death_consequences) in carbontarget?.get_traumas()
|
||||
if(consequences)
|
||||
render_list += consequences.get_health_analyzer_link_text(user)
|
||||
// SKYRAT EDIT END
|
||||
|
||||
//BUBBERSTATION EDIT ADDITION - CHANGELING ZOMBIE STUFF
|
||||
|
||||
Reference in New Issue
Block a user