Skip to content

Gene Classes

juanosarg edited this page Jun 24, 2025 · 3 revisions

<- 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>

Clone this wiki locally