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


#include "BeObservedWhileExposedObjective.h"

#define LOCTEXT_NAMESPACE "Commissions.Objectives.BeObservedWhileExposed"

FText UBeObservedWhileExposedObjective::GetDescription() const
{
	const FText People = (RequiredObservers == 1)
		? LOCTEXT("Person", "someone")
		: FText::Format(LOCTEXT("People", "{0} people"), FText::AsNumber(RequiredObservers));

	if (RequiredHoldSeconds > 0.0f)
	{
		return FText::Format(LOCTEXT("Timed", "Stay exposed in front of {0} for {1} seconds"),
			People, FText::AsNumber(FMath::RoundToInt(RequiredHoldSeconds)));
	}

	return FText::Format(LOCTEXT("Instant", "Get exposed in front of {0}"), People);
}

#undef LOCTEXT_NAMESPACE