public bool TestUse(PhotoBooth obj) { if (!TestRepaired(obj)) { return(false); } return(obj.UseCount == 0 && obj.InWorld); }
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)); }
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)); }
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)); }
public override string GetInteractionName(Sim actor, PhotoBooth target, InteractionObjectPair iop) { return(Common.LocalizeEAString(actor.IsFemale, "Gameplay/Excel/Socializing/Action:NRaasTryForBaby", new object[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) })); }
public override string GetInteractionName(Sim actor, PhotoBooth target, InteractionObjectPair iop) { return(PhotoBooth.LocalizeString("MakeOutInteractionName", new object[0x0])); }
public void OnEnable() { thisPB = target as PhotoBooth; }