Animal Behaviours Hediff Comp Classes - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

The AnimalBehaviours module of the framework has some comp classes that can be added to hediffs to provide special behaviours:

  • Hediffs that copy comp class functionality: These hediffs apply the same functionality as one of our comp classes, so you can add animal behaviours through implants, diseases, etc
  • Turn When Dead: When this animal dies, it will turn into another
  • Resurrect: When this animal dies, it will resurrect a configurable amount of times

How do I use this code?

They are all comp classes, so you just add them in XML in the <comps> tag of an appropiate hediff. Check any of the examples to see.

⚠️ **GitHub.com Fallback** ⚠️