How to change gestation period for an animal?

Started by TheLlamacorn, May 14, 2021, 12:59:30 PM

Previous topic - Next topic

TheLlamacorn

Hello! I was wondering if there was a way to change the gestation period of an animal in the game. I assume that sort of info must exist in the Rimworld files somewhere, is there any way I can go in and change it? Thanks in advance :)

RawCode

what files you checked?
did you performed filegroup search with data like animal name?

Fakeaccount123

You can find that information in the ThingDefs_Races folder. There are xml files there with the information of all animals (including humans and mechanoids). Most animals have a gestationPeriodDays tag, which is what you are looking for.
However keep in mind that you shouldn't change those values directly, that's not a good idea. Instead you should make a patch, there are some tutorials in the internet. You can also try to download a mod that change some characteristics of some animals to see how it is done.