Example #1
0
            public bool TestUse(PhotoBooth obj)
            {
                if (!TestRepaired(obj))
                {
                    return(false);
                }

                return(obj.UseCount == 0 && obj.InWorld);
            }
Example #2
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(CommonWoohoo.SatisfiesWoohoo(actor, target, "PhotoBoothWooHoo", isAutonomous, true, true, ref callback));
            }
Example #3
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(CommonPregnancy.SatisfiesTryForBaby(actor, target, "PhotoBoothTryForBaby", isAutonomous, true, ref callback));
            }
Example #4
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));
            }
Example #5
0
 public override string GetInteractionName(Sim actor, PhotoBooth target, InteractionObjectPair iop)
 {
     return(Common.LocalizeEAString(actor.IsFemale, "Gameplay/Excel/Socializing/Action:NRaasTryForBaby", new object[0]));
 }
Example #6
0
 public override string GetInteractionName(Sim actor, PhotoBooth target, InteractionObjectPair iop)
 {
     return(Common.LocalizeEAString(actor.IsFemale, "Gameplay/Excel/Socializing/Action:NRaasRiskyWooHoo", new object[0]) + Common.LocalizeEAString(false, "NRaas.Woohooer:RiskyChance", new object[] { Woohooer.Settings.GetRiskyBabyMadeChance(actor) }));
 }
Example #7
0
 public override string GetInteractionName(Sim actor, PhotoBooth target, InteractionObjectPair iop)
 {
     return(PhotoBooth.LocalizeString("MakeOutInteractionName", new object[0x0]));
 }
Example #8
0
 public void OnEnable()
 {
     thisPB = target as PhotoBooth;
 }