diff --git a/Script/Library/RadioMessages.lua b/Script/Library/RadioMessages.lua index 1ac2045..553939c 100644 --- a/Script/Library/RadioMessages.lua +++ b/Script/Library/RadioMessages.lua @@ -256,21 +256,21 @@ Library.radioMessages = { commandObjectiveCoordinatesPrecise = "Copy, navigational assist for objective $1.\n\n$2", commandObjectivesManyLeft = { - "Stay focused, people. We still have work to do.\n$1", - "Our work is not done yet, we have a lot to do.\n$1", - "Flights, you've got a couple of tasks left, keep moving down the list.\n$1", - "Still a few objectives outstanding, don't break until they're complete.\n$1", - "Alright people, keep your focus, more work ahead before you can head home.\n$1", - "All flights, maintain timeline. You've got more boxes to check before RTB.\n$1" + "Stay focused, people. We still have work to do.\n\n$1", + "Our work is not done yet, we have a lot to do.\n\n$1", + "Flights, you've got a couple of tasks left, keep moving down the list.\n\n$1", + "Still a few objectives outstanding, don't break until they're complete.\n\n$1", + "Alright people, keep your focus, more work ahead before you can head home.\n\n$1", + "All flights, maintain timeline. You've got more boxes to check before RTB.\n\n$1" }, commandObjectivesOneLeft = { - "All flights, you've got one last task before you're done.\n$1", - "Flights, almost home. One objective remaining, then you're RTB.\n$1", - "All flights, you're down to the final push. Complete this and you're done.\n$1", - "All leads, one more on the board. Finish it and head back to base.\n$1", - "Flights, you're not clear yet. One last objective to wrap up.\n$1", - "Come on people, one last push and we're done.\n$1", - "Just one objective to complete and we're done.\n$1" + "All flights, you've got one last task before you're done.\n\n$1", + "Flights, almost home. One objective remaining, then you're RTB.\n\n$1", + "All flights, you're down to the final push. Complete this and you're done.\n\n$1", + "All leads, one more on the board. Finish it and head back to base.\n\n$1", + "Flights, you're not clear yet. One last objective to wrap up.\n\n$1", + "Come on people, one last push and we're done.\n\n$1", + "Just one objective to complete and we're done.\n\n$1" }, jtacSmokeOK = { diff --git a/Script/The Universal Mission/Mission.lua b/Script/The Universal Mission/Mission.lua index 699720b..e7f7c1b 100644 --- a/Script/The Universal Mission/Mission.lua +++ b/Script/The Universal Mission/Mission.lua @@ -111,12 +111,26 @@ do if missionStatus == TUM.mission.status.NONE then return "" end local missionSummary = "" + local validObjCount = 1 for i=1,TUM.objectives.getCount() do local o = TUM.objectives.getObjective(i) if o then if not o.completed or not onlyShowIncomplete then - missionSummary = missionSummary.."- Objective "..o.name..": "..Library.tasks[o.taskID].description.short + local bulletCharacter = "⬤" + if validObjCount == 1 then bulletCharacter = "❶" + elseif validObjCount == 2 then bulletCharacter = "❷" + elseif validObjCount == 3 then bulletCharacter = "❸" + elseif validObjCount == 4 then bulletCharacter = "❹" + elseif validObjCount == 5 then bulletCharacter = "❺" + elseif validObjCount == 6 then bulletCharacter = "❻" + elseif validObjCount == 7 then bulletCharacter = "❼" + elseif validObjCount == 8 then bulletCharacter = "❽" + elseif validObjCount == 9 then bulletCharacter = "❾" + elseif validObjCount == 10 then bulletCharacter = "❿" + end + + missionSummary = missionSummary..bulletCharacter.." Objective "..o.name..": "..Library.tasks[o.taskID].description.short if not o.completed then missionSummary = missionSummary.." ("..TUM.objectives.getObjectiveProgress(i, doublePercentage)..")" else @@ -126,6 +140,8 @@ do if i < TUM.objectives.getCount() then missionSummary = missionSummary.."\n" end + + validObjCount = validObjCount + 1 end end end