Remove force wear from absorbers when they become dirty

This commit is contained in:
lutepickle 2024-01-01 07:08:29 -08:00
parent 1a8189d9af
commit a9879b0b1b
2 changed files with 4 additions and 1 deletions

View File

@ -222,8 +222,10 @@ namespace RJW_Menstruation
if (absorbedfluids > this.GetStatValue(VariousDefOf.MaxAbsorbable) && (Wearer?.apparel.IsLocked(this) ?? false))
{
def = DirtyDef;
//absorber.fluidColor = GetCumMixtureColor;
dirty = true;
OutfitForcedHandler forcedHandler = Wearer.outfits?.forcedHandler;
if (forcedHandler?.IsForced(this) ?? false)
forcedHandler.SetForced(this, false);
}
}

View File

@ -8,6 +8,7 @@ Version 1.0.9.2
- An equipped tampon or pad will now show how much fluid it has absorbed in its tooltip.
- Passive absorption will now make a tampon or pad dirty after enough time, even if no fluid was added.
- It will take a cloth tampon about 2 days to become dirty passively. A cloth pad will take about 10 days.
- An absorber that was force worn will no longer be force worn once it becomes dirty.
- Egglaying races no longer have a menstrual cycle, regardless of vagina type.
- Pawns with the egglaying genes from Alpha Genes, VE Saurids, or Phytokin no longer have a menstrual cycle.
- The womb status button will now appear in a pawn's health tab when using Compact Hediffs, with thanks to Fern.