RimWorld

RimWorld

Not enough ratings
Simple Regen hediff
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
469.588 KB
Nov 14, 2022 @ 2:36am
Oct 12, 2024 @ 10:45pm
6 Change Notes ( view )

Subscribe to download
Simple Regen hediff

Description
Regeneration hediff that automatically closes wounds, regrows limbs, and causes wounds to quickly heal that you can cheat onto pawns.
Copied from ChJeess's healing factor code from the logann race
https://steamcommunity.com/sharedfiles/filedetails/?id=2018389473
Specifically copied from the version on Mlie's github (hence the license) but that was only attributed to ChJess

Regeneration speed (including for lost bodyparts, unlike ChJees) scale with severity, all severities will close wounds extremely quickly and cause destroye body parts to start to heal.
Use a tool like Character Editor to set the severity of the regeneration - the default 0.50 that vanilla devmode adds is 3x as fast as the best case scenario healing of a max healing factor logann.
(Max) Severity 10.0 heals pawns so fast that you can barely see the wounds.

Doesn't do anything for dying outright, or toxin/hypothermia/anesthetic/etc.
Does now heal bloodloss.
21 Comments
stun  [author] Jan 30 @ 8:02pm 
no
stun  [author] Oct 13, 2024 @ 7:25pm 
Short answer: no.
They do different things anyway.

The ghoul regen is just called "regeneration", (unnatural) is a stage label for severity.
Kimo' Oct 13, 2024 @ 9:23am 
You're welcome, thanks you for the fix. I was wondering, since Anomaly introduced actual regeneration (the ghoul one, not healing factor) that get rid of scar and regrow any missing limb/organ, maybe it could be easier to implant a variant of that hediff with configurable healing amount? I tried to look for the ghoul regen hediff on dev mode, but couldn't find it
stun  [author] Oct 12, 2024 @ 10:48pm 
Not intended, confirmed the bug, fixed and updated. Thank you greatly for the report.
It was actually all tended wounds, it's just that it tends bleeding cuts itself.

The bug relates to the old system for healing scars that should have been commented out but was still active. Scars and cuts should now heal at the same rate as other injuries.
Kimo' Oct 12, 2024 @ 9:54pm 
No idea if it's intended or not, but it seems any bleeding wound is healed instantly, only bruises and cracks seems to heal at the expected rate
CrackaJack Jun 15, 2024 @ 5:57am 
interesting
stun  [author] Jun 15, 2024 @ 4:02am 
>i think you mean stuff like the scarless gene, i dont think theres real limb regeneration
In 1.5 they added actual regeneration. There's a hediff which has it and it's only used in anomaly and only on ghouls and the reward for clearing the monolith, and it has two set 'values' on the hediff but iirc only one of them exists because both ghouls and void touched or w/e it's called have the lower threshold. Maybe some temporary effect gives the stronger version with a duration but I've never seen it. It exists in the base game but nothing uses it there.
The 1.5 arachne rerelease uses the ludeon regeneration, for example.
CrackaJack Jun 15, 2024 @ 3:53am 
me neither, i think you mean stuff like the scarless gene, i dont think theres real limb regeneration.. all mods with regeneration i know of are dependant on some assembly.
this tho works like a charm^^ played around with it a bit
thank you! ok i´ll be sure to mention you+ChJees if i ever release anything with this built in
stun  [author] Jun 14, 2024 @ 11:58pm 
Yes, I don't care about IP. You don't need to say where you got it from if you copy my stuff. That said, like 90% or more of the code is ChJess's.
>yoink the assembly
The source is included, you can build your own with whatever changes.

There's a hardcoded base game regeneration mechanic in 1.5 anyway, though I'm not sure how it's limb regeneration actually works.
CrackaJack Jun 14, 2024 @ 10:46am 
can i yoink the assembly, if i ever want to make something using this? i´d mention you ofc