Exemplo n.º 1
0
            public bool TestUse(AllInOneBathroom obj)
            {
                if (!TestRepaired(obj))
                {
                    return(false);
                }

                return(obj.UseCount == 0 && obj.InWorld);
            }
Exemplo n.º 2
0
            protected override bool Satisfies(Sim a, Sim target, AllInOneBathroom obj, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
            {
                if (!base.Satisfies(a, target, obj, isAutonomous, ref greyedOutTooltipCallback))
                {
                    return(false);
                }

                return(CommonPregnancy.SatisfiesTryForBaby(a, target, "AllInOneBathroomTryForBaby", isAutonomous, true, ref greyedOutTooltipCallback));
            }
Exemplo n.º 3
0
            protected override bool Satisfies(Sim actor, Sim target, AllInOneBathroom obj, bool isAutonomous, ref GreyedOutTooltipCallback callback)
            {
                if (!base.Satisfies(actor, target, obj, isAutonomous, ref callback))
                {
                    return(false);
                }

                return(CommonWoohoo.SatisfiesWoohoo(actor, target, "AllInOneBathroomWoohoo", isAutonomous, true, true, ref callback));
            }
Exemplo n.º 4
0
 public override bool Test(Sim a, AllInOneBathroom target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
 {
     return(target.Repairable.Broken);
 }
Exemplo n.º 5
0
 public override string GetInteractionName(Sim actor, AllInOneBathroom target, InteractionObjectPair iop)
 {
     return(Common.LocalizeEAString(actor.IsFemale, "Gameplay/Excel/Socializing/Action:NRaasTryForBaby", new object[0]));
 }
Exemplo n.º 6
0
 public override string GetInteractionName(Sim actor, AllInOneBathroom target, InteractionObjectPair iop)
 {
     return(Common.LocalizeEAString(actor.IsFemale, "Gameplay/Excel/Socializing/Action:NRaasRiskyWooHoo", new object[0]) + Woohooer.Settings.GetRiskyChanceText(actor));
 }