mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Documenting Fertilin-Backup-Inheritance and minor cleanups
This commit is contained in:
parent
94a51be2f7
commit
0261ec87f8
4 changed files with 40 additions and 21 deletions
|
@ -12,7 +12,7 @@ namespace RJW_Genes
|
|||
|
||||
protected override void DoIngestionOutcomeSpecial(Pawn pawn, Thing ingested)
|
||||
{
|
||||
if (GeneUtility.HasLifeForce(pawn) && GeneUtility.HasGeneNullCheck(pawn, GeneDefOf.rjw_genes_cum_eater))
|
||||
if (GeneUtility.HasLifeForce(pawn) && GeneUtility.IsCumEater(pawn))
|
||||
{
|
||||
float num = ingested.stackCount * FERTILIN_PER_UNIT / 100;
|
||||
GeneUtility.OffsetLifeForce(GeneUtility.GetLifeForceGene(pawn), num);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue