mirror of
				https://github.com/amevarashi/RJW-Sexperience.git
				synced 2024-08-14 23:54:08 +00:00 
			
		
		
		
	Don't show virgin? degree
This commit is contained in:
		
							parent
							
								
									1b92640028
								
							
						
					
					
						commit
						cbd8ffd203
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -370,13 +370,14 @@ namespace RJWSexperience.SexHistory.UI
 | 
			
		|||
			listmain.Gap(20f);
 | 
			
		||||
			float p;
 | 
			
		||||
 | 
			
		||||
			if (pawn.story?.traits?.HasTrait(VariousDefOf.Virgin) == true)
 | 
			
		||||
			Trait virginity = pawn.story?.traits?.GetTrait(VariousDefOf.Virgin);
 | 
			
		||||
			if (virginity != null && virginity.Degree != Virginity.TraitDegree.FemaleAfterSurgery)
 | 
			
		||||
			{
 | 
			
		||||
				tmp = listmain.GetRect(FONTHEIGHT);
 | 
			
		||||
				GUI.color = Color.red;
 | 
			
		||||
				GUI.Box(tmp, "", boxstyle);
 | 
			
		||||
				GUI.color = Color.white;
 | 
			
		||||
				GUI.Label(tmp, pawn.story.traits.GetTrait(VariousDefOf.Virgin).Label, fontstylecenter);
 | 
			
		||||
				GUI.Label(tmp, virginity.Label, fontstylecenter);
 | 
			
		||||
			}
 | 
			
		||||
			else
 | 
			
		||||
			{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue