// © 2025 Naked People Team. All Rights Reserved.


#include "ExposeBodyPartObjective.h"

#define LOCTEXT_NAMESPACE "Commissions.Objectives.ExposeBodyPart"

FText UExposeBodyPartObjective::GetDescription() const
{
	if (RequiredHoldSeconds > 0.0f)
	{
		return FText::Format(LOCTEXT("Timed", "Expose your {0} for {1} seconds"),
			BodyPartText(Part), FText::AsNumber(FMath::RoundToInt(RequiredHoldSeconds)));
	}

	return FText::Format(LOCTEXT("Instant", "Expose your {0}"), BodyPartText(Part));
}

#undef LOCTEXT_NAMESPACE