mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Remove force wear from absorbers when they become dirty
This commit is contained in:
		
							parent
							
								
									1a8189d9af
								
							
						
					
					
						commit
						a9879b0b1b
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -222,8 +222,10 @@ namespace RJW_Menstruation
 | 
				
			||||||
            if (absorbedfluids > this.GetStatValue(VariousDefOf.MaxAbsorbable) && (Wearer?.apparel.IsLocked(this) ?? false))
 | 
					            if (absorbedfluids > this.GetStatValue(VariousDefOf.MaxAbsorbable) && (Wearer?.apparel.IsLocked(this) ?? false))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                def = DirtyDef;
 | 
					                def = DirtyDef;
 | 
				
			||||||
                //absorber.fluidColor = GetCumMixtureColor;
 | 
					 | 
				
			||||||
                dirty = true;
 | 
					                dirty = true;
 | 
				
			||||||
 | 
					                OutfitForcedHandler forcedHandler = Wearer.outfits?.forcedHandler;
 | 
				
			||||||
 | 
					                if (forcedHandler?.IsForced(this) ?? false)
 | 
				
			||||||
 | 
					                    forcedHandler.SetForced(this, false);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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.
 | 
					 - 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.
 | 
					 - 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.
 | 
					 - 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.
 | 
					 - 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.
 | 
					 - 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.
 | 
					 - The womb status button will now appear in a pawn's health tab when using Compact Hediffs, with thanks to Fern.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue