Exemplo n.º 1
0
            protected override bool Satisfies(Sim actor, Sim target, PhotoBooth obj, bool isAutonomous, ref GreyedOutTooltipCallback callback)
            {
                if (!base.Satisfies(actor, target, obj, isAutonomous, ref callback))
                {
                    return(false);
                }

                return(CommonSocials.SatisfiesRomance(actor, target, "PhotoBoothMakeOut ", isAutonomous, ref callback));
            }
Exemplo n.º 2
0
            protected static List <Sim> GetRomanticSims(RabbitHole ths, Sim actor, bool isAutonomous, CommonWoohoo.WoohooStyle style, bool makeout)
            {
                List <Sim> list = new List <Sim>();
                GreyedOutTooltipCallback greyedOutTooltipCallback = null;

                foreach (Sim sim in ths.RabbitHoleProxy.ActorsUsingMe)
                {
                    if (sim == actor)
                    {
                        continue;
                    }

                    if (makeout)
                    {
                        if (!CommonSocials.SatisfiesRomance(actor, sim, "RabbitholeRomance ", isAutonomous, ref greyedOutTooltipCallback))
                        {
                            continue;
                        }

                        list.Add(sim);
                    }
                    else
                    {
                        switch (style)
                        {
                        case CommonWoohoo.WoohooStyle.Risky:
                            if (!CommonPregnancy.SatisfiesRisky(actor, sim, "RabbitholeRisky", isAutonomous, true, ref greyedOutTooltipCallback))
                            {
                                continue;
                            }

                            list.Add(sim);
                            break;

                        case CommonWoohoo.WoohooStyle.Safe:
                            if (!CommonWoohoo.SatisfiesWoohoo(actor, sim, "RabbitholeWoohoo", isAutonomous, true, true, ref greyedOutTooltipCallback))
                            {
                                continue;
                            }

                            list.Add(sim);
                            break;

                        case CommonWoohoo.WoohooStyle.TryForBaby:
                            if (!CommonPregnancy.SatisfiesTryForBaby(actor, sim, "RabbitholeTryForBaby", isAutonomous, true, ref greyedOutTooltipCallback))
                            {
                                continue;
                            }

                            list.Add(sim);
                            break;
                        }
                    }
                }
                return(list);
            }
Exemplo n.º 3
0
            public override bool RomanticSimTest(Sim actor, Sim sim, bool isAutonomous)
            {
                if (actor.Position.y != sim.Position.y)
                {
                    return(false);
                }

                GreyedOutTooltipCallback greyedOutTooltipCallback = null;

                return(CommonSocials.SatisfiesRomance(actor, sim, "RabbitholeRomance ", isAutonomous, ref greyedOutTooltipCallback));
            }
Exemplo n.º 4
0
 protected override bool Satisfies(Sim actor, Sim target, ToiletStall obj, bool isAutonomous, ref GreyedOutTooltipCallback callback)
 {
     return(base.Satisfies(actor, target, obj, isAutonomous, ref callback) && CommonSocials.SatisfiesRomance(actor, target, "ToiletStallMakeOut ", isAutonomous, ref callback));
 }