rjw-genes/1.6/Source/Common/Helpers/LaborState.cs
Telanda b70b975b67
Merge 2.6.2 Update (#228)
* - Seperation of Animal Gene code from base RJW_Genes

* - Clean-up of leftover XML Files
- Minor update to README.md

* Fixed missing translation text
Fixed Missing B&S Undead Patch
Fixed Anal Fertility Errors, might be broken again.

DLL Included for Merge.
2026-02-28 23:15:14 +11:00

24 lines
643 B
C#

using Verse;
namespace RJW_Genes
{
class LaborState
{
public Pawn pawn;
public int birthTotal = 0;
public int birthCount = 1;
public bool hasOvaryAgitator = false;
public bool hasBioscaffold = false;
public LaborState(Pawn pawn, int birthTotal)
{
this.pawn = pawn;
this.birthTotal = birthTotal;
this.birthCount = 0;
this.hasOvaryAgitator = pawn.health.hediffSet.HasHediff(HediffDef.Named("OvaryAgitator"));
this.hasBioscaffold = pawn.health.hediffSet.HasHediff(HediffDef.Named("Bioscaffold"));
}
}
}