added session loss sequence, added energy and stamina to HUD, added home location trigger

This commit is contained in:
2026-06-04 18:59:04 +03:00
parent f2fcd42edf
commit 034694695a
26 changed files with 404 additions and 24 deletions
@@ -104,8 +104,17 @@ FString UForumCommissionWidget::BuildObjectivesString() const
if (!Result.IsEmpty())
Result += LINE_TERMINATOR;
FString Line = FString::Printf(TEXT("• %s"), *Objective->GetDescription().ToString());
// Append any "while Y" constraint text so the row reads "Be fully naked while at Beach (50%)".
const FString Constraints = Objective->GetConstraintsDescription().ToString();
if (!Constraints.IsEmpty())
Line += FString::Printf(TEXT(" %s"), *Constraints);
const int32 Pct = FMath::RoundToInt(Objective->GetProgress() * 100.0f);
Result += FString::Printf(TEXT("• %s (%d%%)"), *Objective->GetDescription().ToString(), Pct);
Line += FString::Printf(TEXT(" (%d%%)"), Pct);
Result += Line;
}
return Result;
}