Abstract, returns the progress data of the fail state, in this case how close (or far) the player is to failing their objective.
Abstract, returns the progress data of the fail state, in this case how close (or far) the player is to failing their objective.
1 table targetTable
the table to fill the data into.
function timeLimitFailState:getProgressData(targetTable) table.insert(targetTable, {text = _format(_T("TIME_LIMIT_FAILSTATE_TEXT", "TIME left to finish"), "TIME", timeline:getTimePeriodText(self.objective:getStartTime() + self.config.timeLimit - timeline.curTime)), icon = "objectives", iconColor = self.iconColor, description = self.description}) end