Gene Classes - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

We add three simple gene classes:

  • Gene_Ghoul, the gene will only be active if the carrier is a ghoul
  • Gene_Shambler, the gene will only be active if the carrier is a shambler
  • GeneGendered, the gene will only be active if the carrier is male or female, specified using the <forGenderOnly> tag in GeneExtension

How do I use this code?

You add these to the <geneClass> tag of a GeneDef, for example:

<geneClass>VEF.Genes.Gene_Shambler</geneClass>
⚠️ **GitHub.com Fallback** ⚠️