coffees-rjw-ideology-addons/CRIALactation/Source/Hediffs/HediffComp_LactationInducti...

44 lines
948 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace CRIALactation
{
2023-02-06 03:05:01 +00:00
/*
public class HediffComp_LactationInduction : HediffComp
{
private readonly int OneDayInTicks = 60000;
private float TimesMassagedADay = 2.5f;
private int tickLastMassaged = 0, DaysToLactating = 15;
public void massage(Pawn massager)
{
this.parent.Severity += (float)1 / (DaysToLactating * (TimesMassagedADay + Rand.Value));
}
public bool canMassage()
{
2023-02-06 03:05:01 +00:00
return tickLastMassaged + OneDayInTicks / TimesMassagedADay < GenTicks.TicksGame;
}
public override void CompExposeData()
{
Scribe_Values.Look<int>(ref this.tickLastMassaged, "lastLactationInductionMassagedTick", 0);
base.CompExposeData();
}
}
2023-02-06 03:05:01 +00:00
*/
}