(https://i.imgur.com/kKDmcG1.png)
This mod makes it so that people will no longer instantly die when their vital capacities reach zero. If one of your colonists has their liver destroyed by a charge lance, for instance, they will become severely ill and you will have a short window to get them a new liver before they die.
The time scales in this mod are not entirely realistic, because Rimworld's time scale makes it effectively impossible for a colonist to receive life-saving care in a realistic amount of time. Colonists move too slowly, and days pass too quickly, so the numbers have been fudged to make it difficult, but possible, to save someone if you have a donor organ on hand.
Be warned: Just because they survive, doesn't mean they won't suffer permanent brain injury as a result of their near-death experience.
Don't ask me about compatibility. It should be compatible with everything. Just try it, and let me know if it doesn't work, so I can fix it.
Download
I recommend you download it from the Steam Workshop to receive automatic updates. Visit the Steam Workshop page to subscribe here (http://steamcommunity.com/sharedfiles/filedetails/?id=1076757664).
If you do not have RimWorld on Steam, but you have a forums account, you can also download it manually through the attachment. Note that the mod requires HugsLib (https://ludeon.com/forums/index.php?topic=28066) to function.
(http://i.imgur.com/9L4f8u7.png) (https://ludeon.com/forums/index.php?topic=28066)
License
Can include in modpacks with credit. Can reuse/edit code with credit.
[attachment deleted due to age]
First :)
Me likey the concept.
I've been hoping for a mod like this since the first time I had a colonist fall over dead the moment they lost a 2nd kidney. Sure, not having any kidneys is fatal...but it's certainly not instant. They should linger on for a day or so while they go into sepsis and die of blood poisoning.
Could you share some specifics on which organs are no longer 'instant death' if they're destroyed? You mentioned the liver, I'm guessing kidneys are included, are there others? Does it include organs being harvested through surgery or only combat damage?
Any organ that causes death through loss of capacity (i.e. blood filtration, blood pumping, breathing, metabolism) no longer causes instantaneous death. That's it. Colonists will also go into a coma instead of dying when consciousness reaches zero.
Still better than nothing. Like lore mentioned, its been a mod that I've waited for too. Gives you a beating chance to try and save your colonists from death.
Thanks.
No problem; I made it because it bothered me too.
Quote from: Linq on July 17, 2017, 03:05:52 AM
Any organ that causes death through loss of capacity (i.e. blood filtration, blood pumping, breathing, metabolism) no longer causes instantaneous death. That's it. Colonists will also go into a coma instead of dying when consciousness reaches zero.
Okay, so with this mod you could conceivably harvest ALL of a pawns organs and then sell them to a slaver before they die...because they'll still be in a 'coma' without a heart or lungs. I mean, a human could be considered 'alive' for a minute or so while they suffocate if their lungs were suddenly removed/disabled...and I suppose the same could be said for someone whose heart stops.
Are there different time limits till death depending on what type of capacity is lost? Breathing and blood pumping should really have a much shorter time window than blood filtration or metabolism if that's at all possible. :)
Quote from: lorebot on July 17, 2017, 03:53:50 AM
Quote from: Linq on July 17, 2017, 03:05:52 AM
Any organ that causes death through loss of capacity (i.e. blood filtration, blood pumping, breathing, metabolism) no longer causes instantaneous death. That's it. Colonists will also go into a coma instead of dying when consciousness reaches zero.
Okay, so with this mod you could conceivably harvest ALL of a pawns organs and then sell them to a slaver before they die...because they'll still be in a 'coma' without a heart or lungs. I mean, a human could be considered 'alive' for a minute or so while they suffocate if their lungs were suddenly removed/disabled...and I suppose the same could be said for someone whose heart stops.
Are there different time limits till death depending on what type of capacity is lost? Breathing and blood pumping should really have a much shorter time window than blood filtration or metabolism if that's at all possible. :)
Consciousness is different from breathing/blood pumping. They will not go into a coma, that is for Consciousness only (e.g. brain damaged pawns who take smokeleaf won't instantly die). They will die very quickly if you remove their heart or lungs; the time window is meant for you to get them a new one, not continue removing things. Even that is touch-and-go. Obviously the time windows are different for different organs.
I recommend you try the mod before drawing conclusions.
Quote from: Linq on July 17, 2017, 04:02:45 AM
Consciousness is different from breathing/blood pumping. They will not go into a coma, that is for Consciousness only (e.g. brain damaged pawns who take smokeleaf won't instantly die). They will die very quickly if you remove their heart or lungs; the time window is meant for you to get them a new one, not continue removing things. Even that is touch-and-go. Obviously the time windows are different for different organs.
I recommend you try the mod before drawing conclusions.
I'll certainly give it a try asap. The only reason I'm asking is because your OP doesn't have a lot of specifics about the effects of your mod...and it's 4am here and I need to get to bed so I can't just go try it out :)
You have to consider that the value of slaves is dependent on their overall health and equipment.
Even IF you manage to micro the sale of a empty bag of flesh the price would reflect the condition of your "merchandise".
So it really is only the "Achievment"-Kind of possible ...
( not that I would not try to grab that one too ::) )
Quote from: lorebot on July 17, 2017, 04:18:26 AM
Quote from: Linq on July 17, 2017, 04:02:45 AM
Consciousness is different from breathing/blood pumping. They will not go into a coma, that is for Consciousness only (e.g. brain damaged pawns who take smokeleaf won't instantly die). They will die very quickly if you remove their heart or lungs; the time window is meant for you to get them a new one, not continue removing things. Even that is touch-and-go. Obviously the time windows are different for different organs.
I recommend you try the mod before drawing conclusions.
I'll certainly give it a try asap. The only reason I'm asking is because your OP doesn't have a lot of specifics about the effects of your mod...and it's 4am here and I need to get to bed so I can't just go try it out :)
I mean.... you COULD try it before bed, but maybe not a good idea?
On Topic:
For some reason this just out right reminds me of flat lining pawns which makes me want that with defibrillators. Basically if you get a pawn who has bled out so much that they just can't go on, instead of dying they just flat line and can be brought back with said defibs... with a % chance.
ACTUALLY On Topic:
Thank you for this, it looks and sounds great.
This is definitely a must-have on the surface. The way that RimWorld's current health system handles stuff like this definitely seems off, and there should most certainly be a window to save that pawn.
Keep up with the great mods!
Funny thing happened when raiders went over my traps - one had severed neck and two lost their head. They were all in coma, but unfortunatelly even my best doctor cannot save them. Heads were not found.
Quote from: EnterTheNameHere on July 17, 2017, 05:55:14 PM
Funny thing happened when raiders went over my traps - one had severed neck and two lost their head. They were all in coma, but unfortunatelly even my best doctor cannot save them. Heads were not found.
Yep, I didn't have time to test this edge case earlier, but I'll fix it tonight. It's not really game-breaking -- it's not like you can stitch a new head back on them, so they're gonna die either way.
some guy lost his BRAIN and is still alive thats instant death for sure
Quote from: rambo on July 17, 2017, 08:08:54 PM
some guy lost his BRAIN and is still alive thats instant death for sure
Not entirely. But that would be severe enough that they probably wouldn't last longer than 2-3 hours game time in a coma.
At least unless you have certain body mods. I believe I can do brain repair, never tried because I haven't needed to.
Theoretically, if you could keep them "alive" with some artificial blood circulation, you could have time to harv... eh transplant their organs... Psychology point of view speaking, colonists might not even be angry about it if there is no chance to save the person - their organs might help later. But since the "heads off" coma effect is kind of unintended, that would probably require more coding, adding complexity, that's outside of the intention of this mod (I guess).
Updated to 2017-7-18:
-Destruction of the brain is now an instant death again.
-Tweaked vegetative states.
A very much needed change in the vanilla mechanics, this is definitely getting added to my mod list.
Quote from: Linq on July 18, 2017, 03:44:13 AM
Updated to 2017-7-18:
-Destruction of the brain is now an instant death again.
-Tweaked vegetative states.
Who is great? Bende... I mean Linq is great!
My dog clinically died (their heart was very damaged) and my 8-skilled doctor brought him back to life with no medicine.
We DID get to him quickly, but I'm afraid this mod might eradicate some of the milder cases of 'nothing we can do for ya, dog' and simply make it so that if you get to the pawn in time they will invariably make it. Do you think there could be any truth to what I'm saying?
edit: Answer me, damnit! It's a salient point!
I don't think the mod is working for me
Unless there's something more I gotta do other than drag HugsLib and this mod into Mods folder and activate them ingame.
Or dying from gunshots doesn't mean they live at all lol
Quote from: Reoxur on July 24, 2017, 12:43:56 PM
I don't think the mod is working for me
Unless there's something more I gotta do other than drag HugsLib and this mod into Mods folder and activate them ingame.
Or dying from gunshots doesn't mean they live at all lol
The mod doesn't stop a pawn from dying due to damage, it stops them from being instantly killed by loss of an essential bodily function. So your pawns will still die from being shot up a lot, but they won't be instantly killed if their liver, heart, stomach, etc... gets destroyed by the first bullet. You'll get some time to try to save them by giving them replacement organs, but if none are available they'll still die pretty fast.
suggestion : add organ machines like a lung machine when you get bitten by snake (in real life) and no anti venom is available they put you in some sort of lung machine until the affects wear out so if lets a heart is destroyed and you have no spare hearts so you put a heart machine until a "generous" donor comes by
Would it be possible for you to make a version that is compatible (or I suppose replaces the functionality of, since I think they change the same function) with no death randomness?
Quote from: lorebot on July 24, 2017, 02:29:00 PM
The mod doesn't stop a pawn from dying due to damage, it stops them from being instantly killed by loss of an essential bodily function. So your pawns will still die from being shot up a lot, but they won't be instantly killed if their liver, heart, stomach, etc... gets destroyed by the first bullet. You'll get some time to try to save them by giving them replacement organs, but if none are available they'll still die pretty fast.
Oh I see, thanks ;)
Quote from: rambo on July 25, 2017, 12:42:07 PM
suggestion : add organ machines like a lung machine when you get bitten by snake (in real life) and no anti venom is available they put you in some sort of lung machine until the affects wear out so if lets a heart is destroyed and you have no spare hearts so you put a heart machine until a "generous" donor comes by
I second that :P
Hi, I installed the mod, tried it and realized it doesn't work. I then started a test map and shot my colonist with a sniper. When the liver was shot off, he died. I then used the debug command to add a hediff to my colonist (Active liver failure) to the liver organ and got an error. This is the log.
Exception ticking Van Driel: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.DefMap`2[Verse.PawnCapacityDef,Verse.PawnCapacitiesHandler+CacheElement].get_Item (Verse.PawnCapacityDef def) [0x00000] in <filename unknown>:0
at Verse.PawnCapacitiesHandler.GetLevel (Verse.PawnCapacityDef capacity) [0x00000] in <filename unknown>:0
at Verse.PawnCapacitiesHandler.CapableOf (Verse.PawnCapacityDef capacity) [0x00000] in <filename unknown>:0
at DeathRattle.Hediff_DeathRattle.PostTick () [0x00000] in <filename unknown>:0
at Verse.Pawn_HealthTracker.HealthTick () [0x00000] in <filename unknown>:0
at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
at Verse.TickList.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
I really like the idea of this mod, I wish I could make it work.
The only mods that I have and may influence this one I think are De surgeries, EPOE and Harvest Everything!. Should I place this one after or before these other mods?
So, I had a colonist who had their head torn off by a Thrumbo, i killed the thrumbo, and kept alive a... headless, person, Sadly i din't have any mods to harvest somebodies entire head, and i just stared as we took out the headless alive person's organs. I think you'll need to make instant death for that, Also same for huge neck damage, as both head damage and neck damage destroy the head.
Quote from: MeMyselfAnDie on July 25, 2017, 09:44:14 PM
Would it be possible for you to make a version that is compatible (or I suppose replaces the functionality of, since I think they change the same function) with no death randomness?
Non-colonist pawns die like 2/3rds (I think, maybe 1/3) of the time, to prevent you from getting colonists too fast. But I am pretty sure they would be compatible.
Quote from: MikeOfDragon on August 07, 2017, 10:59:47 PM
Non-colonist pawns die like 2/3rds (I think, maybe 1/3) of the time, to prevent you from getting colonists too fast. But I am pretty sure they would be compatible.
Well "No Death Randomness" detour default "ShouldBeDead" method and due to this all changes which "Death Rattle" make to this method will be reverted....This renders him nonfunctional and colonist starts dying from losing kidneys(Sorry if I'm say something strange, my English is very bad).
Quote from: MeMyselfAnDie on July 25, 2017, 09:44:14 PM
Would it be possible for you to make a version that is compatible (or I suppose replaces the functionality of, since I think they change the same function) with no death randomness?
No. Get whoever made that to use Harmony. It's not a problem on my end.
Quote from: Reoxur on July 26, 2017, 06:40:11 AM
Quote from: rambo on July 25, 2017, 12:42:07 PM
suggestion : add organ machines like a lung machine when you get bitten by snake (in real life) and no anti venom is available they put you in some sort of lung machine until the affects wear out so if lets a heart is destroyed and you have no spare hearts so you put a heart machine until a "generous" donor comes by
I second that :P
Cryptosleep Caskets
I would really love to install this mod...but its name reminds me of the horrow movie I most scared of (Ju-On). So I would never install it just to remember gim images whenever I play Rimworld...
And I would hate the scene of twenties of pirates downed but only 2 to 3 will survive...too hard for my prison.
"Attachment deleted due to age"
Can you put it back up again?
Maybe even on dropbox or sth this time.
Thanks in advance
Wow, that deletion of link is unnecessary, since no new version of RimWorld was released since 17b.
The mod should be available here: https://www.nexusmods.com/rimworld/mods/199/?
(If someone prefer DropBox, I've put a mirror here:
https://www.dropbox.com/s/ujqluxkliu0jzvv/DeathRattle%202017-7-18-199-17-7-18.rar?dl=0 (old 17b version, you can find newer in the previous link)
just mind that I've put it on DropBox, not the author)
QuoteWow, that deletion of link is unnecessary, since no new version of RimWorld was released since 17b.
The server was running low on space, and the admin reduced the duration from attachments from 6 month to 2 month.
Many mod released got hit by this.
In that case that's reasonable. I would probably choose to disable the option to host mods here altogether, since there are better options for file hosting and proper archivation modders already use (plus I really like features of CKAN from Kerbal Space Program community).
Now updated to B18.
Thanks for the update but the .rar file seems to be corrupted and cannot be opened.
Thanks for the update!
Quote from: CyanSam on December 02, 2017, 01:15:43 PM
Thanks for the update but the .rar file seems to be corrupted and cannot be opened.
Update your 7zip.
Quote from: Linq on December 02, 2017, 06:16:55 PM
Quote from: CyanSam on December 02, 2017, 01:15:43 PM
Thanks for the update but the .rar file seems to be corrupted and cannot be opened.
Update your 7zip.
Just curious, when you use 7zip to create the archive, it shouldn't have .rar as ending. Because 7zip don't create rar-archives, but can open them.
I don't. I use WinRAR.
Quote from: Linq on September 12, 2017, 07:23:05 PM
Quote from: MeMyselfAnDie on July 25, 2017, 09:44:14 PM
Would it be possible for you to make a version that is compatible (or I suppose replaces the functionality of, since I think they change the same function) with no death randomness?
No. Get whoever made that to use Harmony. It's not a problem on my end.
Damn, compatibility. Gonna wait for it to become compatible, or choose.
Self responding. I need to dig in it, maybe I can change a thing here and there... NOTHING IS IMPOSSIBLE!
This is a great mod that should've been base game IMO. Deserves a lot more attention than it gets.
I have a question though. I like to execute my guilty prisoners by removing their hearts or other vital organs such as the stomach or liver. I only get the justified execution mood drop on my colonists and I get an organ to sell.
Would this still work with this mod or would removing a vital organ not be considered "executing" them? And would them dying afterwards end up giving my colonists both the prisoner death debuff AND the organ harvested debuff?
Also... how hard does this make it to kill shit? I thought I saw someone mention it applies to animals too so I'm concerned about how much time it would take to hunt animals when you have to wait for them to die or shoot them with more bullets.
Oh and one more question now that I think of it. You mentioned permanent brain damage has a chance to happen, does the chance scale with how soon after you give them the transplant, like mech serums? Or is it the same chance no matter what?
Pawns incapable of moving can still move, but really slowly (the move speed is 0.00 but they can still move), is anyone else experiencing an issue like that? Might be just my other mods conflicting
(https://i.imgur.com/Lbs31TY.png)
Hey Linq, I've taken the liberty to recompile your code so now it works on 1.0, surprisingly no changes needed other than referencing.
Feel free to steal it at https://github.com/Jdalt40/DeathRattle ;)
Fixed latest release bug in which the pawn walks around headless
This mod is amazing, but unfortunately i dont know if Jdalts 1.0 patch works with .19
It works. Just downloaded it. No errors all good.
Updated to B19.
Bug:
When using healer mech serum, 'Clinical death/no pulse' gets healed instead of a destroyed heart. No pulse returns immediatly of course.
I recently set up cryopods near my frontlines, for situations like these. One of my colonists got shot through the heart (raiders to blame) and collapsed immediatly. One of my combat-incapable medics quickly stuffed him into cryptosleep to fix later. When after the battle I pulled him out and applied healer mech serum on the spot, it only healed the status effect, no pulse, instead of the destroyed heart. The status effect immediatly returned of course. I had to heal his heart through dev tools cause screw that, didn't use that serum for nothing.
I assume the same will happen to damaged necks causing oxygen loss.
Makes sense. A destroyed limb isn't really normally a severe condition, because in vanilla if something you need to live gets destroyed, you just die. I'll look into making the hediffs from this mod very low priority for healer mech serums, and hopefully that'll solve it.
e: I'll just make it so they can't be cured by the mech serum. Problem solved (sort of -- it'll still prioritize other missing limbs and permanent injuries over a destroyed heart).
Hey guys,
How do you treat intestinal failure? Can't do anything to help this little guy.
Updated to 2018-9-9:
- Healer mech serums now properly work to save pawns with Death Rattle illnesses. Stock up!
Please update to 1.0
https://steamcommunity.com/sharedfiles/filedetails/?id=1544906410
seems someone posted update but its only available on steam no github or dropbox
i will try to use the downloaded attachment and see if it still works on 1.0 but would be nice to have the one that works with Questionable Ethics
Meanwhile, for those who want to shoot down safely, i recommend weapons that inflict burn damage... In the rimsenal there are some weapons with only burn damage that always down with no problem.
I hope this mod update soon. ;u;
Great mod. I hunger for it :D
so this improves the chances of capturing enemies compared to vanilla? i need to pair this with blunt weapons
Updated to 1.0.
Question: I keep having situations where someones neck gets blasted in a firefight causing oxygen deprivation. I provide them first aid to patch it and get them to my hospital, but they still end up dying. Is there anything I can do to stop this? Their lungs are fine. Case in point this colonist just has a severely damaged neck and therefore is about to die.
Any plans on changing how heart attacks works?
With this mod they are more dangerous than missing heart :D.
does clinical death means even tending will prove insufficient and they will dis regardless? if so, can i cryptosleep them and replace the part in question? Say the brain or whatever is the cause