예제 #1
0
            public bool TestUse(AllInOneBathroom obj)
            {
                if (!TestRepaired(obj))
                {
                    return(false);
                }

                return(obj.UseCount == 0 && obj.InWorld);
            }
예제 #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));
            }
예제 #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));
            }
예제 #4
0
 public override bool Test(Sim a, AllInOneBathroom target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
 {
     return(target.Repairable.Broken);
 }
예제 #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]));
 }
예제 #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));
 }