Ejemplo n.º 1
0
        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));
            }
        }
Ejemplo n.º 2
0
 private bool AskPartner(Pawn pawn, Pawn mate)
 {
     return(pawn != null && mate != null && (JailHelper.IsThisJailLovin(pawn, mate, null) || !PawnHelper.isStranger(pawn, mate) || Rand.Bool));
 }