RimWorld

RimWorld

Not enough ratings
Simple Regen hediff
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
492.181 KB
14 Nov, 2022 @ 2:36am
15 Apr @ 8:57am
5 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://steamproxy.net/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.
16 Comments
CrackaJack 15 Jun @ 5:57am 
interesting
stun  [author] 15 Jun @ 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 15 Jun @ 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] 14 Jun @ 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 14 Jun @ 10:46am 
can i yoink the assembly, if i ever want to make something using this? i´d mention you ofc
stun  [author] 21 Aug, 2023 @ 12:14pm 
Just copypaste the code for bloodloss but point it at the relevant hediff for each one (those four all work on severity in the same way) and recompile
Shard 21 Aug, 2023 @ 9:46am 
can you make it heal conditions and infections such as lung rot/toxin/hypothermia/anesthetic/etc.
stun  [author] 22 Mar, 2023 @ 3:51am 
label: Organe Regeneration
defName: RegenHealingFactor
description: Very fast wound and bodypart healing

It always seemed to appear at the very top of the list for me but I guess that's probably caused by mod order
Nermal 21 Mar, 2023 @ 3:49pm 
What is the hediff called? I can't seem to find it
A V.O.I.D Representative 15 Jan, 2023 @ 6:07am 
Perfect.