added tracker for when pawn last ingested human milk

This commit is contained in:
c0ffee 2021-11-17 09:59:06 -08:00
parent 994a525cb7
commit e1a817c55f
5 changed files with 58 additions and 2 deletions

View file

@ -16,9 +16,12 @@ namespace CRIALactation
private int TicksSinceLastMassage = -60000;
private float InductionCompletionPercent = 0f;
public bool isActive = false;
public bool CanMassage = true;
public int lastHumanLactationIngestedTick = 0;
public override void CompTick()
{
base.CompTick();
@ -107,6 +110,7 @@ namespace CRIALactation
base.PostExposeData();
Scribe_Values.Look<float>(ref this.InductionCompletionPercent, "InductionCompletionPercent", 0f);
Scribe_Values.Look<int>(ref this.TicksSinceLastMassage, "TicksSinceLastMassage", -60000);
Scribe_Values.Look<int>(ref this.lastHumanLactationIngestedTick, "lastHumanLactationIngestedTick", 0);
Scribe_Values.Look<bool>(ref this.isActive, "IsActive", false);
Scribe_Values.Look<bool>(ref this.CanMassage, "CanMassage", false);