Added Generous Donor Gene, updated some docs

This commit is contained in:
Vegapnk 2022-11-27 08:36:44 +01:00
parent dd40ae40ee
commit b5033deef6
10 changed files with 70 additions and 13 deletions

View file

@ -59,5 +59,13 @@ namespace RJW_Genes
}
return pawn.genes.HasGene(GeneDefOf.rjw_genes_cumflation_immunity);
}
public static bool IsGenerousDonor(Pawn pawn)
{
if (pawn.genes == null)
{
return false;
}
return pawn.genes.HasGene(GeneDefOf.rjw_genes_generous_donor);
}
}
}