mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge pull request #473 from FlightControl-Master/386-ai-designate
386 ai designate
This commit is contained in:
commit
f595fd4736
@ -51,7 +51,7 @@ end
|
|||||||
-- @param #string Text
|
-- @param #string Text
|
||||||
-- @return #REPORT
|
-- @return #REPORT
|
||||||
function REPORT:AddIndent( Text )
|
function REPORT:AddIndent( Text )
|
||||||
self.Report[#self.Report+1] = string.rep(" ", self.Indent ) .. Text
|
self.Report[#self.Report+1] = string.rep(" ", self.Indent ) .. Text:gsub("\n","\n"..string.rep( " ", self.Indent ) )
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -1222,11 +1222,11 @@ function TASK:ReportDetails()
|
|||||||
local Changes = self.TaskInfo["Changes"] or ""
|
local Changes = self.TaskInfo["Changes"] or ""
|
||||||
|
|
||||||
Report:Add( "Task: " .. Name .. " - " .. State .. " - Detailed Report" )
|
Report:Add( "Task: " .. Name .. " - " .. State .. " - Detailed Report" )
|
||||||
Report:Add( " - Players: " )
|
Report:Add( "\n - Players:" )
|
||||||
Report:AddIndent( Players )
|
Report:AddIndent( Players )
|
||||||
Report:Add( " - Detection: " )
|
Report:Add( "\n - Detection:" )
|
||||||
Report:AddIndent( Detection )
|
Report:AddIndent( Detection )
|
||||||
Report:Add( " - Detection Changes: \n" )
|
Report:Add( "\n - Detection Changes:" )
|
||||||
Report:AddIndent( Changes )
|
Report:AddIndent( Changes )
|
||||||
|
|
||||||
return Report:Text()
|
return Report:Text()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user