Reyson added a new file:
QuoteDisplay MoreAll cheers to the original author, I just fixed it
Faster healing and surgery + dynamic healing time for less damaged body parts
Warning: faster healing worksonly for limbs without bleeding or fractures! Enabling it for bleeding or fractured limbs causes the game to bug out, and at the moment.(I'm not sure for this bug at 3.8.3, could not reproduce, maybe helped my correcting errors in the author's code related to first aid kits and duplicating salewa)Installation
CactusPie.FastHealing_fix_by_Reyson.dll to BepInEx/plugins directory
Configuration (F12 menu)
- Enable surgery time multiplier - whether the surgery time multiplier is enabled
- Surgery time multiplier - the surgery time will be multiplied by this number. For instance
- Setting it to 0.5 will make it two times faster
- Setting it to 0.25 will make it four times faster
- Setting it to 2.0 will make it two times slower
- Enable healing time multiplier - whether the healing time multiplier is enabled
- Healing time multiplier - the healing time will be multiplied by this number. For instance
- Setting it to 0.5 will make it two times faster
- Setting it to 0.25 will make it four times faster
- Setting it to 2.0 will make it two times slower
- Dynamic heal time enabled - enabling this will make less damaged limbs heal faster. For instance, if you lost only 1hp in a specific limb, it will be healed very quickly. The more HP you lose, the longer the healing will take - but it will never go above the vanilla time.
- Dynamic healing time health threshold - the percentage of health required for the dynamic healing to trigger. By default, it is set to 50, which means the limb needs to have more than 50% of health for it to heal faster. For instance, stomach has a maximum of 70 hit points by default, which means that it will need to have at least 36 hit points for it to heal faster.
- Dynamic heal time multiplier - the default value (1.0) is the default multiplier for how much should the healing be sped up. Decreasing it below 1.0 will make the dynamic healing even faster, while increasing it will make it slower.
The final equation for calculating the dynamic healing time, assuming that all options are enabled, is as follows:
If the limb is below the theshold for dynamic healing, only regular multiplier will be applied. Thus, the equation will become: