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.