mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
24 lines
645 B
C#
24 lines
645 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("OvaryAgitator"));
|
|
}
|
|
}
|
|
}
|