Mirror of 1.4.22 from Lovers Lab

This commit is contained in:
ghostclinic3YTB 2023-04-03 21:48:55 -04:00
parent 5d0da3bc88
commit b501ddfb0f
1119 changed files with 12505 additions and 2543 deletions

View file

@ -47,6 +47,8 @@ namespace SizedApparel
public Hediff anusHediff = null;
public Hediff udderHediff = null;//RJW 4.6.8: Udder is not partof chest's breast. it attached to torso.
public Color? nippleColor; //for menstruation cycles Mod
//TODO Optimize Update Hediff Filter
private bool hasBreastsAddon = false;
private bool hasVaginaAddon = false;
@ -414,7 +416,7 @@ namespace SizedApparel
bool flag2 = true;
if (flag2 && checkApparelForCanPose)
{
if (!a.CheckCanPose("JiggleUp", true, false, true, true))
if (!a.CheckCanPose("JiggleUp", true, false, true, true, false))
return;
flag2 = false;
}
@ -1023,7 +1025,11 @@ namespace SizedApparel
{
foreach (Hediff h in pregnancies)
{
bellySeverity = Math.Max(bellySeverity, h.Severity);
//Set Labor Belly as Big Belly.
if (h.def == HediffDefOf.PregnancyLabor || h.def == HediffDefOf.PregnancyLaborPushing)
bellySeverity = Math.Max(bellySeverity, 1f);
else
bellySeverity = Math.Max(bellySeverity, h.Severity);
}
}
@ -1053,6 +1059,15 @@ namespace SizedApparel
if (breastHediff != null)
{
//get nipple color from Menstruation.
if (SizedApparelPatch.MenstruationActive)
{
nippleColor = Patch_Menstruation.GetNippleColor(breastHediff);
}
if (pawn.gender == Gender.Male && !SizedApparelSettings.ApplyApparelPatchForMale)
{
CheckApparel = false;