mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
[MIRROR] Adds better feedback related to husks (#769)
* Adds better feedback related to husks (#53599) Husks currently have basically zero ingame feedback other than the grey sprite. It should be abundantly obvious when somebody is a husk, given that it's such a huge physical change that it changes the sprite. This PR adds examine text to husks, and adds a message to the health scanner. The regular scanner will only tell you that they are a husk, the advanced scanner will tell you if they were husked by burns or by "extreme fluid loss" AKA lings (but burnt takes precedence so you can still burn your ling corpses to a crisp to help hide your tracks). The defib now also gives a message specifically for husks instead of a generic "tissue damage" message which normally means brute/burn damage. I also updated the description of sythflesh and rezadone to mention that they can restore burnt husks, and replaced some hardcoded "burn" with the BURN constant. * Adds better feedback related to husks Co-authored-by: msgerbs <msgerbs@users.noreply.github.com>
This commit is contained in:
@@ -579,8 +579,10 @@
|
||||
fail_reason = "Patient's heart is missing."
|
||||
if (DEFIB_FAIL_FAILING_HEART)
|
||||
fail_reason = "Patient's heart too damaged, replace or repair and try again."
|
||||
if (DEFIB_FAIL_TISSUE_DAMAGE, DEFIB_FAIL_HUSK)
|
||||
if (DEFIB_FAIL_TISSUE_DAMAGE)
|
||||
fail_reason = "Tissue damage too severe, repair and try again."
|
||||
if (DEFIB_FAIL_HUSK)
|
||||
fail_reason = "Patient's body is a mere husk, repair and try again."
|
||||
if (DEFIB_FAIL_FAILING_BRAIN)
|
||||
fail_reason = "Patient's brain is too damaged, repair and try again."
|
||||
if (DEFIB_FAIL_NO_INTELLIGENCE)
|
||||
|
||||
@@ -169,6 +169,14 @@ GENE SCANNER
|
||||
|
||||
render_list += "<span class='info'>Analyzing results for [M]:</span>\n<span class='info ml-1'>Overall status: [mob_status]</span>\n"
|
||||
|
||||
// Husk detection
|
||||
if(advanced && HAS_TRAIT_FROM(M, TRAIT_HUSK, BURN))
|
||||
render_list += "<span class='alert ml-1'>Subject has been husked by severe burns.</span>\n"
|
||||
else if (advanced && HAS_TRAIT_FROM(M, TRAIT_HUSK, CHANGELING_DRAIN))
|
||||
render_list += "<span class='alert ml-1'>Subject has been husked by dessication.</span>\n"
|
||||
else if(HAS_TRAIT(M, TRAIT_HUSK))
|
||||
render_list += "<span class='alert ml-1'>Subject has been husked.</span>\n"
|
||||
|
||||
// Damage descriptions
|
||||
if(brute_loss > 10)
|
||||
render_list += "<span class='alert ml-1'>[brute_loss > 50 ? "Severe" : "Minor"] tissue damage detected.</span>\n"
|
||||
|
||||
Reference in New Issue
Block a user