using Verse; using rjw; namespace RJW_Genes { public class CumUtility { public static void MultiplyFluidAmountBy(Pawn pawn, float multiplier) { var partBPR = Genital_Helper.get_genitalsBPR(pawn); var parts = Genital_Helper.get_PartsHediffList(pawn, partBPR); if (!parts.NullOrEmpty()) { CompHediffBodyPart CompHediff; foreach (Hediff part in parts) { if (GenitaliaChanger.IsArtificial(part)) continue; if (rjw.Genital_Helper.is_penis(part)) { CompHediff = part.TryGetComp(); if (CompHediff != null) { CompHediff.FluidAmmount *= multiplier; } } } } } } }