diff --git a/1.3/source/RJW_Menstruation/SexperienceModule/Patch/RJW_Patch.cs b/1.3/source/RJW_Menstruation/SexperienceModule/Patch/RJW_Patch.cs index f3e8029..4377e5f 100644 --- a/1.3/source/RJW_Menstruation/SexperienceModule/Patch/RJW_Patch.cs +++ b/1.3/source/RJW_Menstruation/SexperienceModule/Patch/RJW_Patch.cs @@ -21,7 +21,7 @@ namespace RJW_Menstruation.Sexperience public static bool HasJobOnThing(Pawn pawn, Thing t, bool forced, ref bool __result) { HediffComp_Menstruation comp = pawn.GetMenstruationComp(); - if (comp != null && comp.DoCleanWomb && comp.TotalCumPercent > 0.001f) + if (comp != null && comp.DoCleanWomb && comp.TotalCumPercent > 0.001f && pawn.Map.listerBuildings.ColonistsHaveBuilding(VariousDefOf.CumBucket)) { __result = true; return false; diff --git a/1.3/source/RJW_Menstruation/SexperienceModule/VariousDefOf.cs b/1.3/source/RJW_Menstruation/SexperienceModule/VariousDefOf.cs index 27cd062..fef502c 100644 --- a/1.3/source/RJW_Menstruation/SexperienceModule/VariousDefOf.cs +++ b/1.3/source/RJW_Menstruation/SexperienceModule/VariousDefOf.cs @@ -12,6 +12,6 @@ namespace RJW_Menstruation.Sexperience public static readonly JobDef VaginaWashingwithBucket = DefDatabase.GetNamed("VaginaWashingwithBucket"); public static readonly ThingDef GatheredCumMixture = DefDatabase.GetNamed("GatheredCumMixture"); - + public static readonly ThingDef CumBucket = DefDatabase.GetNamed("CumBucket"); } }