Mirror of 1.4.18 from Lovers Lab

This commit is contained in:
ghostclinic3YTB 2023-04-03 21:47:50 -04:00
parent ac3b77b5ba
commit 5d0da3bc88
172 changed files with 121 additions and 4 deletions

View file

@ -1016,7 +1016,9 @@ namespace SizedApparel
if (SizedApparelSettings.drawBelly)
{
List<Hediff> pregnancies = pawn.health?.hediffSet?.hediffs?.FindAll((Hediff h) => h.def.defName.ToLower().Contains("pregnan"));//pregnancy and pregnant. has some issue with "pregnancy mood"
//EggImplement as Pregnant
//need to Optimize... TODO...
List<Hediff> pregnancies = pawn.health?.hediffSet?.hediffs?.FindAll((Hediff h) => SizedApparelUtility.isPragnencyHediff(h) || SizedApparelUtility.isRJWEggHediff(h));//pregnancy and pregnant. has some issue with "pregnancy mood"
if (!pregnancies.NullOrEmpty())
{
foreach (Hediff h in pregnancies)
@ -1033,6 +1035,8 @@ namespace SizedApparel
bellySeverity += cumflation != null ? cumflation.Severity : 0;
bellySeverity += cumstuffed != null ? cumstuffed.Severity : 0;
}
}