private static void addEqualsMoodlets(Pawn pawn, Pawn mate) { if (isKinky(pawn) && isKinky(mate) || PawnHelper.isStranger(pawn, mate)) { addMemory(mate, WoohooKink); addMemoryOfOther(mate, WoohooKinkMemory, pawn); addMemory(pawn, WoohooKink); addMemoryOfOther(pawn, WoohooKinkMemory, mate); } else { addMemory(mate, WoohooColonist); if (Rand.Value < WoohooSettingHelper.latest.lovedItChance) { addMemoryOfOther(mate, ThoughtDefOf.GotSomeLovin, pawn); } addMemory(pawn, WoohooColonist); if (Rand.Value < WoohooSettingHelper.latest.lovedItChance) { addMemoryOfOther(pawn, ThoughtDefOf.GotSomeLovin, mate); } } }
public IEnumerable <Toil> MakeMyLoveToils(Pawn pawn, Pawn mate) { if (!PawnHelper.is_psychopath(pawn) && PawnHelper.isStranger(pawn, mate) && !JailHelper.IsThisJailLovin(pawn, mate)) { /* Log.Message("Lets try and recruit with woohoo as this guest might like you that much"); */ Toils_Interpersonal.TryRecruit(TargetIndex.A); } /* Log.Message("Appending Moods"); */ yield return(MemoryManager.addMoodletsToil(pawn, mate)); if (isMakeBaby()) { /* Log.Message("Apppending Baby"); */ yield return(BabyMaker.DoMakeBaby(pawn, mate)); } }
private bool AskPartner(Pawn pawn, Pawn mate) { return(pawn != null && mate != null && (JailHelper.IsThisJailLovin(pawn, mate, null) || !PawnHelper.isStranger(pawn, mate) || Rand.Bool)); }