Line 10: |
Line 10: |
| !Formation | | !Formation |
| !Fleet | | !Fleet |
− | !AS]], | + | !AP/AS/AS+]], |
| _column_cell_templates = { | | _column_cell_templates = { |
| node = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: center; color: ${color}; background-color: ${bg_color};" |${values.node}<br /><span style="color: ${time_color};">${values.time}</span>]], | | node = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: center; color: ${color}; background-color: ${bg_color};" |${values.node}<br /><span style="color: ${time_color};">${values.time}</span>]], |
Line 74: |
Line 74: |
| | | |
| function NodeInfo:insert_item(node, time, boss, formation, fleet, as, item_key) | | function NodeInfo:insert_item(node, time, boss, formation, fleet, as, item_key) |
| + | local air_parity = string.format("%.1d", as * 0.666666666666) |
| + | local air_supremacy = tostring(as * 2) |
| + | local air_string = air_parity .. "/" .. as .. "/" .. air_supremacy |
| table.insert(self._items, { | | table.insert(self._items, { |
| node = node, | | node = node, |
Line 80: |
Line 83: |
| formation = Formatting:format_image{formation, caption = item_key, align = "center", valign = "center"}, | | formation = Formatting:format_image{formation, caption = item_key, align = "center", valign = "center"}, |
| fleet = fleet, | | fleet = fleet, |
− | as = as, | + | as = air_string, |
| }) | | }) |
| end | | end |
Line 201: |
Line 204: |
| action = "Lost" | | action = "Lost" |
| amount = mw.ustring.sub(amount, 2) | | amount = mw.ustring.sub(amount, 2) |
− | node_type = "Maelstrom" | + | node_type = "Storm" |
| bg_color = self._maelstrom_node_bg_color | | bg_color = self._maelstrom_node_bg_color |
| end | | end |