Minimum ages for chronic ailments to start

Started by mrtouchngo, December 18, 2016, 02:56:36 PM

Previous topic - Next topic

mrtouchngo

Hey all,

I'm trying to create a mod that implements a cryptosleep casket that reverses age while inside. I think I've figured out how to make it work for both animals and humans and how to make it not do anything if they're at the minimum adult age for their race. However, I can't seem to find where the starting age/probabilities for dementia, alzheimer's etc. are. The actual diseases are in Hediffs_Local_Chronic, but this file doesn't seem to list when pawns will start getting X disease (probably because it's different for each race?).

The reason I'm trying to find these is that the casket should ideally make age-related chronic issues better as the pawn inside sleeps.

Thanks for any help!