I'm searching without succes since few hours how I can change the butchering products. Let's say I want my yaks to give me meat, bones, a skull and horns.
How can i add the horns in the butchering products ?
Thanks for any help !
In bodypart.xml, there is a definition for the Yak head
In the head, there is a skull
I think you could just add another <contains> tag in the head (so right under the skull one), and add in some new definitions for the horns.
<HarvestedItem>Horn</HarvestedItem> <!-- This is a new, undefined item; you'll have to add that too (in items.xml, and make a sprite for it, etc) -->
You could even mess around with additional tags, like NaturalWeapon and the weighting of the hit chances to make the horns larger (get hit more often, taking hits that would be directed at the head), stronger, act as super strong weapons, etc. Modding is fun stuff.
Please note that I have not tried any of this myself, but it should