| Line 173: |
Line 173: |
| | ${requirements} | | ${requirements} |
| | </tabber>]=] | | </tabber>]=] |
| | + | |
| | + | local diffs = { |
| | + | [1] = 'E', |
| | + | [2] = 'D', |
| | + | [3] = 'C', |
| | + | [4] = 'B', |
| | + | [5] = 'A', |
| | + | [6] = 'S', |
| | + | [7] = 'S', |
| | + | [8] = 'S', |
| | + | [9] = 'S+', |
| | + | } |
| | | | |
| | local function formatRow(args, e, i, hourly, req) | | local function formatRow(args, e, i, hourly, req) |
| Line 182: |
Line 194: |
| | i % 2 == 0 and '' or backgrounds[e.maparea_id] or backgrounds[0] | | i % 2 == 0 and '' or backgrounds[e.maparea_id] or backgrounds[0] |
| | ), | | ), |
| − | id = tooltip(id, 'ID number as displayed in game'), | + | id = tooltip(id, 'ID number as displayed in game') .. string.format(' (%s)', diffs[e.difficulty]), |
| − | name = (e.damage_type == 1 and string.format('<span style="color:red">%s</span>', tooltip(e.name, e.details)) or tooltip(e.name, e.details)) .. (e.reset_type == 1 and ' (monthly)' or ''), | + | name = (e.damage_type == 1 and string.format('<span style="color:red">%s</span>', tooltip(e.name, e.details)) or tooltip(e.name, e.details)) .. (e.reset_type == 1 and '<br>(monthly)' or ''), |
| | time = tooltip(formatTime(e.time), 'Time required for expedition'), | | time = tooltip(formatTime(e.time), 'Time required for expedition'), |
| | hq = tooltip(formatAmount(args.explicit[id .. ' hq'], hourly and e.time), 'Admiral experience gained upon completion from this expedition'), | | hq = tooltip(formatAmount(args.explicit[id .. ' hq'], hourly and e.time), 'Admiral experience gained upon completion from this expedition'), |