protected override OptionResult Run(GameHitParameters <Sim> parameters) { if (!AcceptCancelDialog.Show(Common.Localize(GetTitlePrefix() + ":Prompt", parameters.mTarget.IsFemale, new object[] { parameters.mTarget }))) { return(OptionResult.Failure); } List <BodyTypes> types = new List <BodyTypes>(); types.Add(BodyTypes.Hair); ProcessOutfitTask.Perform(parameters.mTarget, types, new CASParts.Key(parameters.mTarget), null); return(OptionResult.SuccessRetain); }
protected override OptionResult Run(GameHitParameters <Sim> parameters) { if (!AcceptCancelDialog.Show(Common.Localize(GetTitlePrefix() + ":Prompt", parameters.mTarget.IsFemale, new object[] { parameters.mTarget }))) { return(OptionResult.Failure); } List <OutfitCategories> ignore = new List <OutfitCategories>(); ignore.Add(OutfitCategories.Naked); ProcessOutfitTask.Perform(parameters.mTarget, CASParts.sMakeup, new CASParts.Key(parameters.mTarget), ignore); return(OptionResult.SuccessRetain); }