Ludeon Forums

RimWorld => General Discussion => Topic started by: Skertx2 on February 13, 2019, 04:25:25 AM

Title: Issue with ticks/work does milking slaughtering take?
Post by: Skertx2 on February 13, 2019, 04:25:25 AM
Hi , there I'm Jeremy.
FUN88 (https://fun88onlineth.com/advantages-of-fun88/)
Does anybody know how ticks/work milking slaughtering take?
For plants, I found that sowing and harvesting take 170 and 250 respectively in the Plants_Bases.xml file within the ThingDefs_Plants folder. But the ThingDefs_Races folder has all the specific animals and how much milk/eggs they yield at what intervals but no line or separate base.xml for milking animals. I've basically looked over every field and perhaps I looked over it but I can't seem to find it. Does anybody know where I can find the lines in the xml file for milking and slaughtering?

Thank in advance.
Title: Re: Issue with ticks/work does milking slaughtering take?
Post by: Mehni on February 14, 2019, 05:10:25 AM
Hi Jeremy.

Slaughtering takes 180 ticks, and it's hardcoded in the C# JobDriver.

Milking takes 400. Also hardcoded.

https://rimworldwiki.com/wiki/Modding_Tutorials/Decompiling_source_code is how I found it.