Ludeon Forums

RimWorld => Mods => Help => Topic started by: TheLlamacorn on May 14, 2021, 12:59:30 PM

Title: How to change gestation period for an animal?
Post by: TheLlamacorn on May 14, 2021, 12:59:30 PM
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 :)
Title: Re: How to change gestation period for an animal?
Post by: RawCode on May 26, 2021, 05:04:13 AM
what files you checked?
did you performed filegroup search with data like animal name?
Title: Re: How to change gestation period for an animal?
Post by: Fakeaccount123 on May 26, 2021, 02:09:04 PM
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.