Issue with ticks/work does milking slaughtering take?

Started by Skertx2, February 13, 2019, 04:25:25 AM

Previous topic - Next topic

Skertx2

Hi , there I'm Jeremy.
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.

Mehni

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.