mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Rename WantsToGetPregnant to IsProPregnancy and use it for cummers
This commit is contained in:
		
							parent
							
								
									45d7fc2c59
								
							
						
					
					
						commit
						2601f88a2d
					
				
					 5 changed files with 6 additions and 7 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -89,7 +89,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
                else m.moodPowerFactor = 0.3f;
 | 
					                else m.moodPowerFactor = 0.3f;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            if (pawn.WantsToGetPregnant()) pawn.needs.mood.thoughts.memories.TryGainMemoryFast(VariousDefOf.HateTookContraceptivePill);
 | 
					            if (pawn.IsProPregnancy()) pawn.needs.mood.thoughts.memories.TryGainMemoryFast(VariousDefOf.HateTookContraceptivePill);
 | 
				
			||||||
            else pawn.needs.mood.thoughts.memories.TryGainMemoryFast(VariousDefOf.TookContraceptivePill);
 | 
					            else pawn.needs.mood.thoughts.memories.TryGainMemoryFast(VariousDefOf.TookContraceptivePill);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1797,8 +1797,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
            if (!xxx.is_human(Pawn) || !xxx.is_human(cummer)) return;
 | 
					            if (!xxx.is_human(Pawn) || !xxx.is_human(cummer)) return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if ((cummer.HasQuirk(QuirkUtility.Quirks.Teratophile) != (Pawn.GetStatValue(StatDefOf.PawnBeauty) >= 0)) ||
 | 
					            if ((cummer.HasQuirk(QuirkUtility.Quirks.Teratophile) != (Pawn.GetStatValue(StatDefOf.PawnBeauty) >= 0)) ||
 | 
				
			||||||
                cummer.HasQuirk(QuirkUtility.Quirks.ImpregnationFetish) ||
 | 
					                cummer.IsProPregnancy())
 | 
				
			||||||
                cummer.HasQuirk(QuirkUtility.Quirks.Breeder))
 | 
					 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                if (cummer.relations.OpinionOf(Pawn) <= -25)
 | 
					                if (cummer.relations.OpinionOf(Pawn) <= -25)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
| 
						 | 
					@ -1812,7 +1811,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (IsDangerDay)
 | 
					            if (IsDangerDay)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                if (Pawn.WantsToGetPregnant())
 | 
					                if (Pawn.IsProPregnancy())
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    Pawn.needs.mood.thoughts.memories.TryGainMemory(VariousDefOf.CameInsideFFetish, cummer);
 | 
					                    Pawn.needs.mood.thoughts.memories.TryGainMemory(VariousDefOf.CameInsideFFetish, cummer);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
| 
						 | 
					@ -1835,7 +1834,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                if (Pawn.WantsToGetPregnant())
 | 
					                if (Pawn.IsProPregnancy())
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    Pawn.needs.mood.thoughts.memories.TryGainMemory(VariousDefOf.CameInsideFFetishSafe, cummer);
 | 
					                    Pawn.needs.mood.thoughts.memories.TryGainMemory(VariousDefOf.CameInsideFFetishSafe, cummer);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -407,7 +407,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
            return false;
 | 
					            return false;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public static bool WantsToGetPregnant(this Pawn pawn)
 | 
					        public static bool IsProPregnancy(this Pawn pawn)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (pawn.HasQuirk(QuirkUtility.Quirks.Breeder) ||
 | 
					            if (pawn.HasQuirk(QuirkUtility.Quirks.Breeder) ||
 | 
				
			||||||
                pawn.HasQuirk(QuirkUtility.Quirks.ImpregnationFetish))
 | 
					                pawn.HasQuirk(QuirkUtility.Quirks.ImpregnationFetish))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,7 +27,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
                (pawn.relations?.DirectRelations?.Find(x => x.def.Equals(PawnRelationDefOf.Spouse) ||
 | 
					                (pawn.relations?.DirectRelations?.Find(x => x.def.Equals(PawnRelationDefOf.Spouse) ||
 | 
				
			||||||
                x.def.Equals(PawnRelationDefOf.Fiance))) != null)
 | 
					                x.def.Equals(PawnRelationDefOf.Fiance))) != null)
 | 
				
			||||||
                return;
 | 
					                return;
 | 
				
			||||||
            if (pawn.WantsToGetPregnant() || pawn.relations?.DirectRelations?.Find(x => x.def.Equals(PawnRelationDefOf.Lover)) != null)
 | 
					            if (pawn.IsProPregnancy() || pawn.relations?.DirectRelations?.Find(x => x.def.Equals(PawnRelationDefOf.Lover)) != null)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                pawn.needs.mood.thoughts.memories.TryGainMemory(VariousDefOf.UnwantedPregnancyMild);
 | 
					                pawn.needs.mood.thoughts.memories.TryGainMemory(VariousDefOf.UnwantedPregnancyMild);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue