Ludeon Forums

Ludeon Forums

  • June 19, 2021, 06:18:38 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to change gestation period for an animal?  (Read 262 times)

TheLlamacorn

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile
How to change gestation period for an animal?
« 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 :)
Logged

RawCode

  • Super Tester
  • Planetologist
  • ***
  • Posts: 1795
  • Refugee
    • View Profile
Re: How to change gestation period for an animal?
« Reply #1 on: May 26, 2021, 05:04:13 AM »

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

Fakeaccount123

  • Drifter
  • **
  • Posts: 31
  • Refugee
    • View Profile
Re: How to change gestation period for an animal?
« Reply #2 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.
Logged