Minor drug overdose + brain chemical damage = instant death

Started by Commander Beanbag, June 19, 2017, 12:12:47 AM

Previous topic - Next topic

Commander Beanbag

Nate here was snorting some yayo and accidentally had a major overdose, incapacitating him. Unluckily, he almost instantly got brain chemical damage from the overdose, giving the brain -50% efficiency (for a total of 50% consciousness).
Once the major overdose naturally decayed to a minor one, the -50% consciousness that the minor overdose hediff gives kicked in and instantly killed Nate:



(It's a modded game, but the problem exists in a vanilla def)

While there is a deathMtbDays in a major overdose, theoretically allowing instant deaths anyway, the brain chemical damage thing is basically useless with this happening.
The effect is easily testable with dev tools by adding ChemicalDamageModerate to the brain, and then adding drug overdose to body.

XeoNovaDan

A classic case of 0% consciousness here. Brain limits the consciousness to a maximum of 50%, and then OD takes the last 50% leaving the pawn with nada.


ison

Hmm, so the bug here is that a minor overdose can kill a pawn but a major can't. Fixed for A18, thanks.