Changes

no edit summary
Line 401: Line 401:  
sequence_length = #sequence
 
sequence_length = #sequence
 
        end
 
        end
    elseif prefix == "?" then
+
    elseif arg == "#" or prefix == "?" then
 
    table.insert(actions, string.sub(arg, 2))
 
    table.insert(actions, string.sub(arg, 2))
 
    end
 
    end
Line 424: Line 424:  
     end
 
     end
 
         for _, arg in ipairs(actions) do
 
         for _, arg in ipairs(actions) do
            local value = ship and format_arg(format_value(arg, ship)) -- interpret_arg(arg)
+
        if arg == '' then
            if value then
+
        if args.format == "table" then
                table.insert(values, value)
+
        table.insert(values, "|-\n")
 +
        end
 +
        else
 +
            local value = ship and format_arg(format_value(arg, ship)) -- interpret_arg(arg)
 +
            if value then
 +
                table.insert(values, value)
 +
            end
 
             end
 
             end
 
         end
 
         end
cssedit, gkautomate
6,928

edits