Esempio n. 1
0
            public bool TestUse(PhotoBooth obj)
            {
                if (!TestRepaired(obj))
                {
                    return(false);
                }

                return(obj.UseCount == 0 && obj.InWorld);
            }
Esempio n. 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));
            }
Esempio n. 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));
            }
Esempio n. 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));
            }
Esempio n. 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]));
 }
Esempio n. 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) }));
 }
Esempio n. 7
0
 public override string GetInteractionName(Sim actor, PhotoBooth target, InteractionObjectPair iop)
 {
     return(PhotoBooth.LocalizeString("MakeOutInteractionName", new object[0x0]));
 }
Esempio n. 8
0
 public void OnEnable()
 {
     thisPB = target as PhotoBooth;
 }