Makes high levels of infection less likely to kill you instantly (#25688)

* Make organs a little less bad

* Update code/modules/surgery/organs/organ_external.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Luc
2024-06-12 21:39:39 +00:00
committed by GitHub
co-authored by DGamerL
parent bee5321b88
commit 1b0aac3065
2 changed files with 28 additions and 0 deletions
@@ -485,7 +485,34 @@ Note that amputating the affected organ does in fact remove the infection from t
if(parent.germ_level < INFECTION_LEVEL_ONE * 2 || prob(30))
parent.germ_level++
if(prob(5))
var/list/messages = list(
"You feel something uncomfortable in [src].",
"A sharp pain seems to spread out from [src].",
"[src] feels like it's burning from the inside out!",
"[src] seems to be turning a nasty color.",
)
to_chat(owner, "<span class='danger'>[pick(messages)]</span>")
if(germ_level >= INFECTION_LEVEL_THREE)
if(vital)
var/list/messages = list(
"[src] oozes with pus!",
"[src] starts to go numb.",
"[src] feels dreadful, it feels like you're dying!"
)
// kill them fast, but don't drop them dead.
if(prob(5))
to_chat(owner, "<span class='userdanger'>[pick(messages)]</span>")
owner.adjustToxLoss(5)
else
necrotize()
owner.adjustToxLoss(1)
germ_level++
if(germ_level >= INFECTION_LEVEL_FOUR)
// we warned you
necrotize()
germ_level++
owner.adjustToxLoss(1)