result += "\n";
- var custody = IsInCustody(mindId, mind) ? Loc.GetString("objectives-in-custody") + " " : "";
+ var custody = IsInCustody(mindId, mind) ? Loc.GetString("objectives-in-custody") : string.Empty;
- var objectives = mind.AllObjectives.ToArray();
- if (objectives.Length == 0)
+ var objectives = mind.Objectives;
+ if (objectives.Count == 0)
{
result += Loc.GetString("objectives-no-objectives", ("custody", custody), ("title", title), ("agent", agent));
continue;
objectives-player-user = [color=gray]{$user}[/color]
objectives-player-named = [color=White]{$name}[/color]
-objectives-no-objectives = [bold][color=red]{$custody}[/color]{$title} was a {$agent}.
-objectives-with-objectives = [bold][color=red]{$custody}[/color]{$title} was a {$agent} who had the following objectives:
+objectives-no-objectives = {$custody}{$title} was a {$agent}.
+objectives-with-objectives = {$custody}{$title} was a {$agent} who had the following objectives:
objectives-objective-success = {$objective} | [color={$markupColor}]Success![/color]
objectives-objective-fail = {$objective} | [color={$markupColor}]Failure![/color] ({$progress}%)
-objectives-in-custody = | IN CUSTODY |
\ No newline at end of file
+objectives-in-custody = [bold][color=red]| IN CUSTODY | [/color][/bold]