Example #1
0
        private string GetObjectiveStatus()
        {
            var stringBuilder = new StringBuilder($"<color=blue>Objective of <b>{MatrixManager.MainStationMatrix.GameObject.scene.name}</b>:</color>\n", 200);
            var complete      = activeObjective.CheckCompletion();

            stringBuilder.Append($"{activeObjective.GetRoundEndReport()}\n");
            stringBuilder.AppendLine(complete ? "<color=green><b>Completed</b></color>" : "<color=red><b>Failed</b></color>");
            return(stringBuilder.ToString());
        }
Example #2
0
        private string GetObjectiveStatus()
        {
            var stringBuilder = new StringBuilder(
                $"<color={ChatTemplates.Blue}><size={ChatTemplates.LargeText}>" +
                $"Objective of <b>{MatrixManager.MainStationMatrix.GameObject.scene.name}</b>:</size></color>\n",
                200);

            if (activeObjective == null)
            {
                return("Error: Status not found :S");
            }
            var complete = activeObjective.CheckCompletion();

            stringBuilder.Append($"{activeObjective.GetRoundEndReport()}\n");
            stringBuilder.AppendLine(complete ? "<color=green><b>Completed</b></color>" : "<color=red><b>Failed</b></color>");
            return(stringBuilder.ToString());
        }