public static void Postfix(Vector3 clickPos, Pawn pawn, List <FloatMenuOption> opts) { var targets = GenUI.TargetsAt(clickPos, TargetingParameters.ForBuilding()); HediffComp_Menstruation comp = pawn.GetMenstruationComp(); if (comp != null && comp.TotalCumPercent > 0.001f) { foreach (LocalTargetInfo t in targets) { Building building = t.Thing as Building; if (building != null) { if (building is Building_CumBucket) { opts.AddDistinct(MakeMenu(pawn, building)); break; } } } } }