I think you can add hibernation to the insect tree by doing two things and possibly three based on your knowledge on insect behavior:
First, go to the âthreshreqâ object in the hibernation object, and then add âTHRESH_INSECTâ to it, making sure to separate the strings with a comma. Second, go to âcategoryâ and put in âINSECTâ in a similar manner.
Third, adjust the prerequisites. There are two prerequisite arrays, âprereqsâ and âprereqs2â. As long as you have at least one of the mutations in each prerequisite array, you will be able to get the mutation. Right now, âprereqsâ contains âHEAVYSLEEPER2â and âprereqs2â contains âFATâ.
I donât think insects have either of these traits, but Iâm not sure, since Iâm not a biologist. In case insects are neither heavy sleepers nor fat-storing creatures, then for the sake of example, lets just state the insect counterpart of âHEAVYSLEEPER2â as âAâ, and the insect counterpart of âFATâ as âBâ. Add âAâ and âBâ to the prerequisite arrays as needed.
So I think the object should end up looking like this (changes in bold italics):
{
âtypeâ : âmutationâ,
âidâ : âHIBERNATEâ,
ânameâ : âHibernationâ,
âpointsâ : 3,
âdescriptionâ : âYouâve developed the ability to stockpile calories and then sleep for extended periods of time.â,
âvalidâ : false,
âprereqsâ : [âHEAVYSLEEPER2â, âAâ],
âprereqs2â : [âFATâ, âBâ],
âthreshreqâ : [âTHRESH_URSINEâ, âTHRESH_INSECTâ],
âcategoryâ : [âURSINEâ, âINSECTâ],
âactiveâ : true,
âcostâ : 0
}
I donât know how to add entirely new mutations, like some insect metabolism mutation, but I hope this helped.