Line 32: |
Line 32: |
| _fighter_power = 0, | | _fighter_power = 0, |
| _hq_lvl = 0, | | _hq_lvl = 0, |
− | _route_taken = {} | + | _route_taken = "" |
| }) | | }) |
| | | |
Line 114: |
Line 114: |
| elseif mw.ustring.find(item_key, '!route') then | | elseif mw.ustring.find(item_key, '!route') then |
| local split = mw.ustring.find(item_key, '=') | | local split = mw.ustring.find(item_key, '=') |
− | table.insert(self._route_taken, mw.ustring.sub(item_key, split + 1)) | + | self._route_taken = mw.ustring.sub(item_key, split + 1) |
| else | | else |
| if mw.ustring.find(item_key, '/') then | | if mw.ustring.find(item_key, '/') then |
Line 189: |
Line 189: |
| end | | end |
| table.insert(self._items, "extra") | | table.insert(self._items, "extra") |
| + | table.insert(self._items, "extra2") |
| end | | end |
| | | |
Line 241: |
Line 242: |
| fighter_power = self._fighter_power | | fighter_power = self._fighter_power |
| }) | | }) |
| + | elseif row_values == "extra2" then |
| table.insert(self._rows, self._row_starter) | | table.insert(self._rows, self._row_starter) |
| table.insert(self._rows, format{self._route_cell_template, | | table.insert(self._rows, format{self._route_cell_template, |
− | route_taken = self._route_taken[1] | + | route_taken = self._route_taken |
| }) | | }) |
| end | | end |