28 lines
736 B
C++
28 lines
736 B
C++
// © 2025 Naked People Team. All Rights Reserved.
|
|
|
|
|
|
#include "ExposeWhileWalkingObjective.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "Commissions.Objectives.ExposeWhileWalking"
|
|
|
|
namespace
|
|
{
|
|
FText BodyPartText(EBodyPart Part)
|
|
{
|
|
switch (Part)
|
|
{
|
|
case EBodyPart::Boobs: return LOCTEXT("Boobs", "boobs");
|
|
case EBodyPart::Ass: return LOCTEXT("Ass", "ass");
|
|
case EBodyPart::Genitals: return LOCTEXT("Genitals", "genitals");
|
|
default: return LOCTEXT("None", "nothing");
|
|
}
|
|
}
|
|
}
|
|
|
|
FText UExposeWhileWalkingObjective::GetDescription() const
|
|
{
|
|
return FText::Format(LOCTEXT("Walk", "Walk {0} m with your {1} exposed"),
|
|
FText::AsNumber(FMath::RoundToInt(RequiredMeters)), BodyPartText(Part));
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE |